/* Bausteine fuer Startseite, Hochzeit, Event und Ueber mich (Bau 17.11.2026, Agent bausteine, API in
   _berichte/bau-2026-11-17/api-bausteine.md). Geladen nach linie.css (und nach pages.css, wo es das gibt),
   Skript assets/linie-bausteine.js. Jeder Selektor beginnt mit .el. Farben nur aus den Tokens von site.css.
   1 Kundenstimmen-Laufband   .stimmen
   2 Fotobox gross            .fotobox-gross, darunter .zusaetze
   3 Karten zum Aufklappen    .karte.klapp im .klapp-raster, auf Foto in .klapp-buehne
   4 Ueber-mich-Streifen      .ueber-kurz
   Bewegung nur an der Scrollposition oder auf Klick. Ohne Skript und bei reduzierter Bewegung steht alles da. */

/* Gemeinsam: Aufklapper aus details/summary. Der Text fuer zu und offen steht im HTML, CSS waehlt ihn aus */
.el .bs-auf > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; cursor: pointer;
  font: 600 15px/1 var(--sans); color: var(--cu-text); border-radius: 8px; -webkit-tap-highlight-color: transparent; }
.el .bs-auf > summary::-webkit-details-marker { display: none; }
.el .bs-auf > summary::after { content: ""; flex: none; width: 7px; height: 7px; margin: -3px 2px 0 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 240ms var(--kurve); }
.el .bs-auf[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.el .bs-auf > summary:focus-visible { outline: 2px solid var(--cu-deep); outline-offset: 4px; }
.el .bs-auf > summary .wenn-offen, .el .bs-auf[open] > summary .wenn-zu { display: none; }
.el .bs-auf[open] > summary .wenn-offen { display: inline; }
.el .bs-auf > summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- 1 Kundenstimmen-Laufband ---------------------------------------------------------------------------------
   Eine Reihe kleiner Karten, die seitlich vorbeilaeuft, wenn man an ihr vorbeiscrollt (gebunden an die Scrollposition,
   kein Dauerlauf), dazu Wischen und Pfeile. Am Rechner drei Karten in der Textspalte, die Nachbarn laufen links und rechts
   weich aus. Am Telefon eine Karte und der Anschnitt der naechsten. Die Reihe ist ein echter Seitwaerts-Scroller: ohne
   Skript wischt man selbst, mit Einrasten. */
.el .stimmen { container-type: inline-size; overflow: clip; }
/* site.css legt hinter section#stimmen ein Rautenmuster, das faellt hier weg (Chris 17.11.2026: kein "Maschendrahtzaun") */
.el .stimmen::after { content: none; }
.el .stimmen .ak { margin-bottom: 40px; }
.el .st-band { --st-luft: 24px;
  --st-innen: max(var(--rand), (100cqw - 1120px) / 2);
  --st-spalte: min(1120px, 100cqw - 2 * var(--rand));
  --st-karte: calc((var(--st-spalte) - 2 * var(--st-luft)) / 3);
  --st-weich: clamp(32px, var(--st-innen), 176px);
  position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--st-innen); border-radius: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--st-weich), #000 calc(100% - var(--st-weich)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--st-weich), #000 calc(100% - var(--st-weich)), transparent 100%); }
.el .st-band::-webkit-scrollbar { display: none; }
.el .st-band:focus-visible { outline: 2px solid var(--cu-deep); outline-offset: -2px; }
@media (max-width: 1023px) { .el .st-band { --st-karte: calc((var(--st-spalte) - var(--st-luft)) / 2); } }
@media (max-width: 639px) { .el .st-band { --st-luft: 12px; --st-karte: calc(var(--st-spalte) - 44px); --st-weich: 20px; } }
/* Das Skript bindet die Reihe an die Scrollposition, dann stoert das Einrasten */
.el .stimmen.st-lebt .st-band { scroll-snap-type: none; }
/* Geschlossen sind alle Karten gleich hoch, ist eine offen, behalten die anderen ihre Hoehe */
.el .st-reihe:has(.st-voll[open]) { align-items: flex-start; }
.el .st-reihe { display: flex; align-items: stretch; gap: var(--st-luft); width: max-content; margin: 0; padding: 8px var(--st-innen) 32px; list-style: none; }
.el .st-karte { flex: none; display: flex; flex-direction: column; gap: 16px; width: var(--st-karte); margin: 0; padding: 28px 28px 24px;
  scroll-snap-align: start; border-radius: 20px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgb(23 25 31 / .04), 0 22px 44px -30px rgb(23 25 31 / .32);
  transition: box-shadow 240ms var(--kurve); }
:root[data-theme="dark"] .el .st-karte { box-shadow: inset 0 0 0 1px var(--line), 0 22px 44px -30px rgb(0 0 0 / .7); }
.el .st-karte:has(.st-voll[open]) { box-shadow: inset 0 0 0 1px var(--cu-deep), 0 22px 44px -30px rgb(23 25 31 / .32); }
@media (max-width: 639px) { .el .st-karte { padding: 24px 22px 20px; } }
/* Fuenf Sterne in Kupfer. Der Kupferverlauf kommt aus dem Skript (#bs-cu, #bs-cu-d), ohne Skript volles Kupfer */
.el .st-sterne { display: flex; gap: 4px; margin: 0; }
.el .st-sterne svg { width: 18px; height: 18px; fill: url(#bs-cu) var(--cu-deep); }
:root[data-theme="dark"] .el .st-sterne svg { fill: url(#bs-cu-d) var(--cu); }
/* Der kurze Ausschnitt, woertlich aus der Bewertung, in Serif mit deutschen Anfuehrungszeichen */
.el .st-zitat { min-height: calc(6 * 1.3em); margin: 0; font: 400 clamp(1.25rem, 1.05rem + .5vw, 1.5rem)/1.3 var(--serif); letter-spacing: -.005em; color: var(--text); text-wrap: pretty; }
.el .st-zitat::before { content: "„"; }
.el .st-zitat::after { content: "“"; }
@media (max-width: 639px) { .el .st-zitat { min-height: 0; } }
.el .st-wer { display: grid; gap: 2px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-style: normal; }
.el .st-name { font: 700 15px/1.3 var(--sans); color: var(--petrol); }
.el .st-anlass { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.el .st-voll { margin-top: -8px; }
.el .st-voll-text { padding: 0 0 8px; font: 400 15px/1.6 var(--sans); color: var(--muted); }
.el .st-voll-text p { margin: 0 0 .7em; }
/* Letzte Karte: Verweis auf alle Google-Rezensionen */
.el .st-karte.st-mehr { justify-content: center; align-items: flex-start; gap: 12px; background: var(--island); color: var(--i-text); box-shadow: inset 0 0 0 1px var(--i-line), 0 22px 44px -30px rgb(0 0 0 / .5); }
.el .st-mehr .st-sterne svg { fill: url(#bs-cu-d) var(--cu); }
.el .st-mehr .st-gross { font: 400 clamp(3rem, 5vw, 4rem)/.95 var(--serif); letter-spacing: -.02em; }
.el .st-mehr p { margin: 0; color: var(--i-muted); }
.el .st-mehr .lnk { color: var(--i-text); }
.el .st-mehr .lnk svg { stroke: var(--cu-hi) !important; }
/* Steuerung unter der Reihe: Bewertung bei Google links, Kupferlinie fuer den Stand, Pfeile rechts */
.el .st-steuer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 8px; }
.el .st-google { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--text); text-decoration: none; }
.el .st-google span:last-child { text-decoration: underline; text-decoration-color: var(--cu-text); text-underline-offset: 3px; }
.el .st-google .st-sterne svg { width: 16px; height: 16px; }
.el .st-stand { flex: 1 1 120px; position: relative; height: 2px; min-width: 80px; max-width: 360px; margin-left: auto; border-radius: 2px; background: var(--line); overflow: hidden; }
.el .st-stand i { position: absolute; inset: 0; border-radius: inherit; background: var(--cu-deep); transform-origin: left; transform: scaleX(var(--st-stand, 0)); }
.el .st-pfeile { display: flex; gap: 8px; }
.el .st-pfeile[hidden], .el .st-stand[hidden] { display: none; }
.el .st-pfeil { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 180ms var(--kurve), color 180ms var(--kurve), opacity 180ms var(--kurve); }
.el .st-pfeil:hover { box-shadow: inset 0 0 0 1px var(--cu-deep); color: var(--cu-text); }
.el .st-pfeil:focus-visible { outline: 2px solid var(--cu-deep); outline-offset: 3px; }
.el .st-pfeil[aria-disabled="true"] { opacity: .35; cursor: default; }
.el .st-pfeil[aria-disabled="true"]:hover { box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.el .st-pfeil svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.el .stimmen.st-passt .st-stand, .el .stimmen.st-passt .st-pfeile { display: none; }
@media (max-width: 639px) { .el .st-google { flex-basis: 100%; } .el .st-stand { max-width: none; margin-left: 0; } }

/* ---------- 2 Fotobox gross, darunter die Zusaetze ------------------------------------------------------------------
   Eine dunkle Buehne mit dem Foto der Box links und dem Text rechts, auf hellem und dunklem Grund gleich. Das Foto gleitet
   beim Scrollen leicht im Rahmen (linie-bausteine.js), steht bei reduzierter Bewegung still. */
.el .fotobox-gross { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); overflow: hidden;
  border-radius: 28px; background: var(--island); color: var(--i-text);
  box-shadow: inset 0 0 0 1px var(--i-line), 0 40px 80px -48px rgb(17 20 23 / .7); }
.el .fg-foto { position: relative; min-height: 600px; margin: 0; overflow: hidden; background: var(--island2); }
.el .fg-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 35%);
  transform: translate3d(0, var(--fg-y, 0%), 0) scale(var(--fg-s, 1)); will-change: transform; }
.el .fg-foto::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 70%, rgb(11 13 16 / .55)); }
.el .fg-foto .marke { position: absolute; z-index: 2; top: 20px; left: 20px; }
.el .fg-wort { position: relative; display: grid; align-content: center; justify-items: start; gap: 16px; padding: 72px 64px; }
/* Ein weicher Kupferschein oben rechts, steht still */
.el .fg-wort::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(70% 55% at 100% 0%, hsl(22 70% 55% / .16), transparent 70%); }
.el .fotobox-gross .et, .el .fotobox-gross .cu-wort { color: var(--cu-hi); }
.el .fotobox-gross .ti { color: var(--i-text); }
.el .fotobox-gross .fl { color: var(--i-muted); }
.el .fg-werte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; max-width: 520px; margin: 16px 0 8px; padding: 24px 0 0; border-top: 1px solid var(--i-line); list-style: none; }
.el .fg-werte li { display: grid; gap: 6px; align-content: start; }
.el .fg-werte b { font: 400 clamp(2rem, 3vw, 2.5rem)/1 var(--serif); font-weight: 400; color: var(--i-text); }
.el .fg-werte small { font: 600 .45em/1 var(--sans); color: var(--cu-hi); }
.el .fg-werte span { font: 400 14px/1.45 var(--sans); color: var(--i-muted); }
.el .fotobox-gross .aktionen { margin-top: 8px; }
.el .fotobox-gross .lnk { color: var(--i-text); }
.el .fotobox-gross .lnk svg { stroke: var(--cu-hi) !important; }
@media (max-width: 899px) {
  .el .fotobox-gross { grid-template-columns: 1fr; }
  .el .fg-foto { min-height: 0; aspect-ratio: 4 / 5; max-height: 78vh; }
  .el .fg-foto::after { background: linear-gradient(180deg, transparent 72%, rgb(11 13 16 / .6)); }
  .el .fg-wort { padding: 36px 24px 40px; }
}
@media (max-width: 399px) { .el .fg-werte { gap: 16px; } }

/* Zusaetze: kleine Karten mit Piktogramm, ganze Karte ist der Verweis auf die Einzelseite */
.el .zusaetze { margin-top: 64px; }
.el .zs-kopf { display: grid; gap: 12px; justify-items: start; margin-bottom: 24px; }
.el .zs-titel { margin: 0; font: 400 clamp(1.75rem, 3.2vw, 2.25rem)/1.05 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.el .zs-reihe { display: grid; grid-template-columns: repeat(var(--spalten, 3), minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.el .zs-karte { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; height: 100%; min-height: 96px; padding: 20px;
  border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none;
  transition: box-shadow 180ms var(--kurve); }
.el .zs-karte:hover { box-shadow: inset 0 0 0 1px var(--cu-deep); }
.el .zs-karte:focus-visible { outline: 2px solid var(--cu-deep); outline-offset: 3px; }
.el .zs-karte .m-ico { box-shadow: none; }
.el .zs-wort { display: grid; gap: 4px; }
.el .zs-wort b { font: 600 17px/1.3 var(--sans); }
.el .zs-wort span { font: 400 14px/1.45 var(--sans); color: var(--muted); }
.el .zs-karte > svg { width: 20px; height: 20px; fill: none; stroke: var(--cu-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms var(--kurve); }
.el .zs-karte:hover > svg { transform: translateX(4px); }
@media (max-width: 959px) { .el .zs-reihe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .el .zs-reihe { grid-template-columns: 1fr; gap: 12px; } .el .zs-karte { min-height: 80px; padding: 16px; } }

/* ---------- 3 Karten zum Aufklappen ----------------------------------------------------------------------------------
   Titel, Kurztext, darunter "Mehr" als details: klappt ohne Skript, mit Skript weich (linie-bausteine.js). Raster mit zwei
   bis fuenf Karten (--spalten). Hintergrund und Rand nur fuer Karten ohne .glas-foto, das Glas setzt linie.css. */
.el .klapp-raster { display: grid; grid-template-columns: repeat(var(--spalten, 3), minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 959px) { .el .klapp-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .el .klapp-raster { grid-template-columns: 1fr; } }
/* Geschlossen sind alle Karten einer Zeile gleich hoch, "Mehr" steht unten auf einer Linie. Ist eine Karte offen,
   behalten die Nachbarn ihre eigene Hoehe, statt leer mitzuwachsen */
.el .klapp-raster:has(.bs-auf[open]) { align-items: start; }
.el .karte.klapp { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; grid-row: auto; padding: 24px 24px 12px; }
.el .karte.klapp > .kx { flex: 1 0 auto; }
.el .karte.klapp > :last-child { align-self: stretch; }
.el .karte.klapp:not(.glas-foto):has(> .bs-auf[open]) { box-shadow: inset 0 0 0 1px var(--cu-deep); }
.el .karte.klapp .kt { margin: 0; }
.el .karte.klapp .kx { margin: 0; }
.el .klapp-lang { padding: 4px 0 16px; font: 400 15px/1.6 var(--sans); color: var(--muted); }
.el .klapp-lang > :first-child { margin-top: 0; }
.el .klapp-lang p { margin: 0 0 .75em; }
.el .klapp-lang p:last-child { margin-bottom: 0; }
@media (max-width: 639px) { .el .karte.klapp { padding: 20px 20px 8px; } }

/* Auf einem Foto: im Abschnitt .auf-foto aus linie.css (Foto img.auf-foto-bild, Glas .glas-foto, beides vom Agenten glas).
   Hier nur Schriftfarben und die Lage des Rasters. Mit "reihe klapp-raster" werden die Karten am Telefon zur Wischreihe
   wie jede .reihe in .auf-foto, ohne "reihe" stehen sie untereinander. */
.el .auf-foto .klapp-raster { margin-top: auto; }
.el .auf-foto .karte.klapp { color: var(--i-text); }
.el .auf-foto .karte.klapp :is(.kx, .klapp-lang) { color: #D3D8DC; }
.el .auf-foto .karte.klapp .bs-auf > summary { color: var(--cu-hi); }
.el .auf-foto .karte.klapp:not(.glas-foto) { background: rgb(16 19 22 / .82); box-shadow: inset 0 0 0 1px var(--i-line); }
@media (max-width: 767px) { .el .auf-foto .klapp-raster:not(.reihe) { margin-top: 160px; } }

/* ---------- 4 Ueber-mich-Streifen ------------------------------------------------------------------------------------
   Mittig, gleiche Leiter und Abstaende wie jeder Abschnitt (.ab, .ak aus linie.css): Etikett, Ueberschrift, Unterzeile,
   Kupferstrich, zwei Saetze, Knopf und Verweis. */
.el .ueber-kurz { text-align: center; }
.el .ueber-kurz .wrap { display: grid; justify-items: center; }
.el .ueber-kurz .ak { justify-items: center; margin-inline: auto; margin-bottom: 0; }
.el .uk-zeile { margin: -4px 0 0; font: italic 400 clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem)/1.15 var(--serif); letter-spacing: -.005em; color: var(--cu-text); text-wrap: balance; }
.el .ueber-kurz .einl { margin: 0 auto; text-wrap: pretty; }
.el .ueber-kurz .aktionen { justify-content: center; margin-top: 16px; }

/* Reduzierte Bewegung: alles steht, nichts gleitet */
@media (prefers-reduced-motion: reduce) {
  .el .bs-auf > summary::after, .el .st-karte, .el .st-pfeil, .el .zs-karte, .el .zs-karte > svg { transition: none; }
  .el .zs-karte:hover > svg { transform: none; }
  .el .fg-foto > img { transform: none; will-change: auto; }
}
