/* Mutlantik — Vertrauensband, Über mich, Auflösungen, FAQ, Epochen, Merkliste. */

/* -------------------------------------------------------- Vertrauensband */

.vertrauen {
  padding-block: var(--r8);
  background: rgba(251, 247, 239, .72);
  border-bottom: 1px solid var(--linie);
}

.vertrauen-inhalt {
  display: grid;
  gap: var(--r7);
  align-items: center;
}
@media (min-width: 900px) {
  .vertrauen-inhalt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--r9); }
}

.vertrauen-text h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: var(--r3); }
.vertrauen-text p { color: var(--muted); max-width: 46ch; margin-bottom: var(--r4); }

.vertrauen-zahlen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--r4);
}
@media (max-width: 560px) {
  .vertrauen-zahlen { grid-template-columns: 1fr; gap: var(--r3); }
}

.vz {
  padding: var(--r5) var(--r4);
  text-align: center;
  border-left: 1px solid var(--linie);
}
.vz:first-child { border-left: 0; }
@media (max-width: 560px) {
  .vz { border-left: 0; border-top: 1px solid var(--linie); text-align: left; padding: var(--r4) 0; }
  .vz:first-child { border-top: 0; }
}

.vz-wert {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 420;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--messing);
  font-variant-numeric: tabular-nums lining-nums;
}
.vz-was { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* ---------------------------------------------------------- Über mich */

.ueber-kopf {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(70svh, 640px);
  /* Unter die Kopfzeile geschoben, bis an den oberen Rand. Die Hoehe setzt das
     Skript, sie haengt an Logo und Schrift; ohne Skript gilt die Desktop-Hoehe. */
  margin-top: calc(-1 * var(--kopf-hoehe, 88px));
  padding-top: var(--kopf-hoehe, 88px);
  overflow: hidden;
  isolation: isolate;
}

.ueber-bild { position: absolute; inset: 0; z-index: -2; }
.ueber-bild img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 44%;
  animation: drift 90s ease-in-out infinite alternate;
}

.ueber-schleier {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(21, 15, 8, .42) 0%,
    rgba(21, 15, 8, .12) 32%,
    rgba(21, 15, 8, .72) 78%,
    rgba(21, 15, 8, .92) 100%);
}

.ueber-text { padding-block: var(--r8); color: var(--pergament); }
.ueber-text h1 {
  color: var(--pergament);
  font-size: clamp(2.4rem, 6vw, 5rem);
  margin-bottom: var(--r4);
  text-shadow: 0 2px 24px rgba(21, 15, 8, .5);
}
.ueber-text .vorspann { color: rgba(232, 220, 198, .9); max-width: 44ch; }

/* Zahlenband auf der Über-Seite */

.zahlenband { padding-block: var(--r8); background: rgba(241, 231, 214, .7); }

.zahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--r5);
}

.zahl-kachel { text-align: center; padding: var(--r4); }
.zahl-wert {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 420;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--tinte);
  font-variant-numeric: tabular-nums lining-nums;
}
.zahl-was { display: block; margin-top: var(--r3); font-size: 14.5px; line-height: 1.5; }
.zahl-was small { color: var(--muted); font-size: 13px; }

.ueber-fliesstext { font-size: 1.08rem; line-height: 1.8; }
.ueber-fliesstext p { margin-bottom: var(--r5); }

.zitat {
  max-width: 30ch;
  margin: var(--r9) auto 0;
  padding: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--messing);
}
.zitat cite {
  display: block;
  margin-top: var(--r5);
  font-family: var(--grotesk);
  font-size: 13px;
  font-style: normal;
  font-weight: 560;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Zwei Seiten */

.zwei-seiten {
  display: grid;
  gap: var(--r5);
}
@media (min-width: 800px) {
  .zwei-seiten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--r6); }
}

.seiten-kachel {
  display: block;
  padding: var(--r7) var(--r6);
  background: rgba(251, 247, 239, .86);
  border-radius: 4px;
  transition: transform .25s var(--ruhig);
}
a.seiten-kachel:hover { transform: translateY(-3px); }
.seiten-kachel h3 { margin-bottom: var(--r4); }
.seiten-kachel p { color: var(--muted); margin-bottom: var(--r4); }
.seiten-kachel .textlink { font-size: 15px; }

/* ----------------------------------------------------------- Auflösungen */

.raeumung-kopf {
  position: relative;
  overflow: hidden;
}

/* Das Teamfoto in voller Breite, nie beschnitten: die Menschen stehen über die
   ganze Fläche, oben die Köpfe, unten die beiden Knienden. Die Höhe ergibt sich
   aus dem Seitenverhältnis. Die Unterkante läuft weich ins Papier aus. */
.raeumung-bild {
  aspect-ratio: 1424 / 560;
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
.raeumung-bild img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Breiter als das Foto: es läuft auch seitlich weich in die Karte aus, statt
   mit harten Kanten mitten auf der Seite zu stehen */
@media (min-width: 1700px) {
  .raeumung-bild {
    -webkit-mask-image:
      linear-gradient(180deg, #000 82%, transparent 100%),
      linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    -webkit-mask-composite: source-in;
            mask-image:
      linear-gradient(180deg, #000 82%, transparent 100%),
      linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-composite: intersect;
  }
}
@media (max-width: 700px) {
  /* Auf dem Handy etwas höher, sonst sind die Gesichter winzig */
  .raeumung-bild { aspect-ratio: 16 / 10; }
  .raeumung-bild img { object-position: 58% top; }
}

.raeumung-text { padding-block: var(--r6) var(--r5); }
.raeumung-text h1 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  margin-bottom: var(--r4);
  max-width: 22ch;
}
.raeumung-text .vorspann { max-width: 48ch; }
.leistungen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--r6) var(--r5);
}
.leistung { min-width: 0; }
.leistung h3 {
  font-size: 1.3rem;
  margin-bottom: var(--r2);
  padding-bottom: var(--r3);
  border-bottom: 1px solid var(--linie);
}
.leistung p { color: var(--muted); font-size: 15.5px; }

/* Ablauf — nackte große Ziffern, keine Kreis-Kärtchen */

.ablauf {
  list-style: none;
  counter-reset: schritt;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--r7) var(--r6);
}
.ablauf li {
  counter-increment: schritt;
  position: relative;
  min-width: 0;
  padding-top: var(--r7);
}
.ablauf li::before {
  content: counter(schritt);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 300;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  line-height: .8;
  color: var(--karte);
  letter-spacing: -0.04em;
}
.ablauf h3 { font-size: 1.22rem; margin-bottom: 6px; }
.ablauf p { color: var(--muted); font-size: 15.5px; }

.ablauf-schluss { margin-top: var(--r9); }

/* ------------------------------------------------------------------ FAQ */

.faqseite { padding-block: var(--r8) var(--r10); }
.faqseite h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: var(--r4); }
.faqseite > .bahn > .vorspann { margin-bottom: var(--r8); }

.faq-liste { border-top: 1px solid var(--linie); }

.faq-punkt { border-bottom: 1px solid var(--linie); }

.faq-punkt summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--r4);
  padding: var(--r5) 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: -0.015em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  transition: color .18s;
}
.faq-punkt summary::-webkit-details-marker { display: none; }
.faq-punkt summary::after {
  content: '';
  flex: 0 0 auto;
  width: 13px; height: 13px;
  border-right: 1.5px solid var(--messing);
  border-bottom: 1.5px solid var(--messing);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .25s var(--ruhig);
}
.faq-punkt[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-punkt summary:hover { color: var(--messing); }

.faq-antwort {
  padding-bottom: var(--r6);
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 62ch;
}
.faq-antwort p { margin-bottom: var(--r3); }

.faq-schluss { margin-top: var(--r9); padding-top: var(--r8); border-top: 1px solid var(--linie); }
.faq-schluss h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: var(--r3); }

/* --------------------------------------------------------------- Epochen */

.epochenband {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: var(--r6) var(--r5);
}
.epochenband > * { min-width: 0; }

.epoche { display: block; }
.epoche-bild {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 3px;
  background: var(--papier);
  padding: var(--r3);
}
.epoche-bild img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .6s var(--ruhig);
}
.epoche:hover .epoche-bild img { transform: scale(1.04); }

.epoche-text { padding-top: var(--r4); }
.epoche-text h2 { font-size: 1.4rem; margin-bottom: 3px; transition: color .2s; }
.epoche:hover h2 { color: var(--messing); }
.epoche-zeit { font-size: 13.5px; color: var(--muted); margin: 0 0 2px;
  font-variant-numeric: tabular-nums; }
.epoche-zahl { font-size: 13.5px; color: var(--messing); margin: 0; }

/* Epochenreihe auf der Startseite */

.epochen-band { background: transparent; }

.epochen-reihe { display: flex; flex-wrap: wrap; gap: var(--r3); }

.epochen-marke {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px var(--r5);
  background: var(--papier);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background .2s, border-color .2s, transform .2s var(--ruhig);
}
.epochen-marke:hover {
  background: var(--pergament);
  border-color: var(--messing);
  transform: translateY(-2px);
}
.em-name { font-family: var(--serif); font-size: 1.08rem; letter-spacing: -0.015em; }
.em-zahl { font-size: 13px; color: var(--messing); font-variant-numeric: tabular-nums; }
.epochen-marke.alle { background: transparent; border-color: var(--linie); }

/* ------------------------------------------------------------ Ladenfoto */

.laden-foto {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--papier);
}
.laden-foto img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------- Merkliste im Kopf */

.kopf-merk {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  color: var(--tinte);
}
.kopf-merk svg { width: 23px; height: 23px; }
.hat-hero .kopf:not(.fest) .kopf-merk { color: var(--tinte); }

/* Merken-Knopf auf der Objektseite */

.merken {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 var(--r5);
  font: inherit;
  font-size: 15px;
  font-weight: 520;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--linie);
  border-radius: 999px;
  cursor: pointer;
  transition: color .18s, border-color .18s, background .18s;
}
.merken svg { width: 18px; height: 18px; }
.merken:hover { color: var(--messing); border-color: var(--messing); }
.merken.gemerkt { color: var(--messing); border-color: var(--messing); background: rgba(169, 118, 43, .08); }
.merken.gemerkt svg { fill: currentColor; }

/* ------------------------------------------------------- Fuß: Zahlung */

.fuss-zahlung {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-bottom: var(--r4) !important;
}
.fuss-zahlung .zw {
  padding: 4px 11px;
  font-size: 12.5px;
  color: rgba(232, 220, 198, .82);
  border: 1px solid rgba(232, 220, 198, .2);
  border-radius: 4px;
}

/* ------------------------------------------------------------------- Lupe */

.galerie-gross {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background: var(--papier);
}

.lupe-hinweis {
  position: absolute;
  right: var(--r4); bottom: var(--r4);
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  color: var(--tinte);
  background: rgba(251, 247, 239, .9);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s var(--ruhig), transform .22s var(--ruhig);
}
.lupe-hinweis svg { width: 19px; height: 19px; }
.galerie-gross:hover .lupe-hinweis,
.galerie-gross:focus-visible .lupe-hinweis { opacity: 1; transform: none; }

.lupe {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: var(--r6);
  background: rgba(21, 15, 8, .93);
  opacity: 0;
  transition: opacity .22s var(--ruhig);
  cursor: zoom-out;
}
.lupe.offen { opacity: 1; }
.lupe img {
  max-width: 100%;
  max-height: 92svh;
  object-fit: contain;
  border-radius: 3px;
  transform: scale(.97);
  transition: transform .25s var(--ruhig);
}
.lupe.offen img { transform: none; }

.lupe-zu {
  position: absolute;
  top: var(--r5); right: var(--r5);
  width: 48px; height: 48px;
  font-size: 30px;
  line-height: 1;
  color: var(--pergament);
  background: rgba(251, 247, 239, .12);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .18s;
}
.lupe-zu:hover { background: rgba(251, 247, 239, .24); }

.merken-form { margin-top: var(--r4); }

/* ------------------------------------------- Heller Kopf über dunklem Bild */

/* Über-mich und Auflösungen haben ein dunkles Foto als Hero. Dort muss die
   Kopfzeile hell sein, sonst verschwindet sie im Bild. Sobald gescrollt wird,
   greift wieder die normale Fassung. */

.kopf-hell .kopf:not(.fest) .kopf-logo,
.kopf-hell .kopf:not(.fest) .kopf-menue a,
.kopf-hell .kopf:not(.fest) .kopf-korb,
.kopf-hell .kopf:not(.fest) .kopf-merk {
  color: var(--pergament);
}

.kopf-hell .kopf:not(.fest) .kopf-logo {
  filter: drop-shadow(0 1px 10px rgba(21, 15, 8, .6));
}
.kopf-hell .kopf:not(.fest) .kopf-menue a {
  text-shadow: 0 1px 10px rgba(21, 15, 8, .7);
}
.kopf-hell .kopf:not(.fest) .kopf-schalter span {
  background: var(--pergament);
}

/* --------------------------------------------- Woher die Stücke kommen */

/* Steht zwischen den Kategorie-Kacheln und den Angeboten. Nach zwei Rastern
   eine Atempause: ein ruhiges Band, kein weiterer Scrolleffekt. Das Ladenfoto
   liegt sehr schwach dahinter — es soll den Raum andeuten, nicht das Motiv sein. */

.weg-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--r10);
  background: var(--tinte-tief);
  color: var(--pergament);
}

.weg-grund { position: absolute; inset: 0; z-index: -2; }
.weg-grund img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .2;
}
.weg-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(12, 8, 4, .78) 0%, rgba(12, 8, 4, .6) 40%,
      rgba(12, 8, 4, .72) 100%);
}

.weg-kopf { max-width: 54ch; margin-bottom: var(--r9); }
.weg-kopf h2 { color: var(--pergament); margin-bottom: var(--r4); }
.weg-kopf p { color: rgba(232, 220, 198, .88); font-size: 1.05rem; }

.weg-schritte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--r8);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.weg-schritt { min-width: 0; }

.weg-zahl {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--messing-hell);
  margin-bottom: var(--r4);
  /* Eine feine Linie darunter statt eines Kreises: der Messingstrich ist
     dasselbe Zeichen, das die Kartuschen auf der Seekarte tragen. */
  padding-bottom: var(--r3);
  border-bottom: 1px solid rgba(212, 168, 85, .34);
}

.weg-schritt h3 {
  color: var(--pergament);
  font-size: 1.16rem;
  margin-bottom: var(--r3);
}
.weg-schritt p { color: rgba(232, 220, 198, .82); }

.weg-wege {
  display: flex;
  align-items: center;
  gap: var(--r6);
  flex-wrap: wrap;
  margin-top: var(--r9);
}
.weg-wege .textlink { color: var(--messing-hell); }

/* ------------------------------------------- Verweis auf die Auflösungs-Website */

/* Eine helle, gerundete Karte wie die Kategorien auf der Startseite: klar als
   Link lesbar, ohne mit den beiden Kontaktwegen im Kopf zu konkurrieren. */
.aufloesung-verweis-band { padding-block: var(--r6) 0; }

.aufloesung-verweis {
  display: flex;
  align-items: center;
  gap: var(--r5);
  max-width: 820px;
  padding: 18px 20px 18px 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  color: var(--tinte);
  box-shadow:
    0 0 0 1px rgba(36, 26, 16, .05),
    0 1px 2px rgba(36, 26, 16, .05),
    0 10px 28px -14px rgba(36, 26, 16, .22);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s cubic-bezier(.2, .8, .2, 1);
}
.av-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.av-ueber {
  font-family: var(--grotesk);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--messing);
}
.av-titel {
  font-family: var(--grotesk);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 600;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.av-pfeil {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(36, 26, 16, .06);
  transition: background .3s ease, color .3s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.av-pfeil svg { width: 16px; height: 16px; }

@media (hover: hover) {
  .aufloesung-verweis:hover {
    transform: translateY(-3px);
    box-shadow:
      0 0 0 1px rgba(36, 26, 16, .05),
      0 2px 4px rgba(36, 26, 16, .05),
      0 22px 40px -16px rgba(36, 26, 16, .32);
  }
  .aufloesung-verweis:hover .av-pfeil { background: var(--messing); color: #fff; transform: translate(2px, -2px); }
}
.aufloesung-verweis:active { transform: scale(.985); transition-duration: .1s; }
.aufloesung-verweis:focus-visible { outline: 3px solid var(--messing); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .aufloesung-verweis, .av-pfeil { transition: none; }
  .aufloesung-verweis:hover { transform: none; }
}
