/* =========================================================
   Über Fotokisterl (17.10.2026)
   Bildsprache „Familienalbum“: Polaroids mit Tixo und handschriftlichen Beschriftungen
   (wie Bus-Familie und Anlässe-Übersicht). Baut auf ../style.css auf
   (Hero .zh, Brotkrümel, .polaroid/.geschichte__bilder der Startseite, .pola, .platzhalter, Abschluss).
   Hintergründe: Gelb → Creme → Papier → Schwarz → Creme → Abschluss.
   ========================================================= */

/* ---------- Platzhalter im Text: bis Tom liefert deutlich erkennbar ---------- */
.ue-luecke { background: rgb(251 176 59 / .28); padding: .05em .3em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ue-etikett {
  display: inline-block; margin-right: .45em; padding: .25em .65em; border-radius: 999px; vertical-align: .1em;
  font-size: var(--fs-mini); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; line-height: 1.2; color: var(--schwarz);
  background: repeating-linear-gradient(-45deg, rgb(0 0 0 / .1) 0 6px, transparent 6px 12px), var(--gelb);
}

/* ---------- 1. Einstieg: damals → heute ---------- */
.ueh__bilder { max-width: 36rem; width: 100%; justify-self: center; order: 0; }   /* Startseiten-Regel setzt die Bilder links – hier wie in allen Heros rechts */
.ueh .zh__titel { text-wrap: balance; }   /* kein einzelnes „MIT“ in der letzten Versalzeile */
.ueh .polaroid--heute img { aspect-ratio: 3 / 2; }
.ueh .polaroid--damals img { object-position: 38% 50%; }   /* Nachtfoto: Logo und offene Tür im Bild */
.ueh .geschichte__pfeil { color: var(--rot); }
.ueh .polaroid--damals figcaption { text-align: left; padding-left: .5rem; }   /* das „heute“-Polaroid überlappt rechts unten */

/* ---------- 2. Geschichte als Zeitleiste ---------- */
.uezeit { background: var(--creme); }
.uezeit .titel .schrift { --spalt: var(--creme); }
.uezeit__liste { list-style: none; margin: 0; padding: 0; display: grid; max-width: 58rem; }
.uezeit__eintrag { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); column-gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.uezeit__jahr { color: var(--rot); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1; text-align: right; transform: rotate(-6deg); padding-top: .1em; overflow-wrap: anywhere; }
.uezeit__text {
  position: relative; display: grid; gap: .5rem; align-content: start;
  border-left: 3px dashed rgb(21 18 15 / .28); padding: .15rem 0 clamp(2.25rem, 5vw, 3.25rem) clamp(1.25rem, 3vw, 2rem);
}
.uezeit__eintrag:last-child .uezeit__text { padding-bottom: 0; }
.uezeit__text::before { /* Punkt auf der Linie in der Farbe des Eintrags */
  content: ""; position: absolute; left: -12px; top: .35rem; width: 21px; height: 21px; border-radius: 50%;
  background: var(--f); box-shadow: 0 0 0 4px var(--creme);
}
.uezeit__text h3 { font-family: var(--schrift-plakat); font-weight: 400; text-transform: uppercase; font-size: var(--fs-h4); line-height: 1.05; overflow-wrap: anywhere; }
.uezeit__text p { max-width: 40rem; }
.uezeit__text a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (min-width: 40em) { .uezeit__eintrag { grid-template-columns: 7rem minmax(0, 1fr); } }
/* Toms Fotos aus den Anfängen (06.11.2026): kleiner Abzug mit weißem Rand, leicht gedreht */
.uezeit__foto { margin: .6rem 0 0; max-width: 22rem; width: 100%; padding: .5rem .5rem .3rem; background: var(--papier); box-shadow: 0 10px 24px -12px rgb(21 18 15 / .45); rotate: -1.5deg; }
.uezeit__foto--hoch { max-width: 16rem; rotate: 1.5deg; }
.uezeit__foto img { display: block; width: 100%; height: auto; }
.uezeit__foto figcaption { padding-top: .35rem; font-size: var(--fs-klein); color: rgb(21 18 15 / .75); }

/* ---------- 4. Die Kisterl auf Rädern (dunkel, Polaroids wie auf der Bus-Seite) ---------- */
.uefamilie { background: var(--schwarz); color: var(--creme); }
.uefamilie .titel .schrift { --spalt: var(--schwarz); }
.uefamilie__wand { list-style: none; margin: 0; padding: 1rem 0 0; display: grid; gap: clamp(2.75rem, 10vw, 3.5rem); max-width: 72rem; }
.uefamilie__bus { display: grid; gap: .7rem; align-content: start; }
.uefamilie__pola { margin: 0 0 .6rem; padding-bottom: 0; }
.uefamilie__pola::before { width: clamp(80px, 9vw, 130px); height: 30px; top: -14px; }
.uefamilie__pola figcaption { padding: .35em .2em .45em; text-align: center; color: var(--f); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; }
.uefamilie__pola--offen figcaption { color: var(--schwarz); opacity: .45; }
.uefamilie__bei { color: var(--gelb); font-size: var(--fs-hand); line-height: 1.1; }
.uefamilie__bus > p:not(.uefamilie__bei) { max-width: 34rem; }
.uefamilie .ue-luecke { background: rgb(251 176 59 / .2); }
.uefamilie__wand > li:nth-child(1) .pola { --dreh: -2.5deg; --band: -3deg; }
.uefamilie__wand > li:nth-child(2) .pola { --dreh: 2deg;    --band: 4deg; }
.uefamilie__wand > li:nth-child(3) .pola { --dreh: 1.5deg;  --band: -2deg; }
.uefamilie__wand > li:nth-child(4) .pola { --dreh: -2deg;   --band: 3deg; }
.uefamilie__verwandt { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid rgb(246 239 225 / .2); display: grid; gap: .9rem; }
.uefamilie__verwandt-titel { font-size: var(--fs-label); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gelb); }
/* „Und ohne Räder?“ mit Icons (24.11.2026), Icon-Fläche wie „Was hast du vor?“ auf /fotoboxen/: getönt in der Produktfarbe, Farblinie als Boden.
   Handy: Icon links, Link rechts; ab 40em drei nebeneinander. Das ganze Feld ist der Link. */
.uefamilie__verwandt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 50rem; }
.uefamilie__verwandt li { position: relative; display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; align-items: center; }
.uefamilie__buehne {
  padding: .5rem .4rem 0; border-radius: var(--rund) var(--rund) 0 0;
  background: var(--weiss); background: color-mix(in srgb, var(--f) 16%, var(--weiss)); border-bottom: 6px solid var(--f);
  transition: translate .2s ease, box-shadow .2s ease;
}
.uefamilie__buehne img { display: block; width: 100%; max-width: 12rem; height: auto; margin-inline: auto; }
.uefamilie__verwandt .pfeillink { color: var(--creme); }
.uefamilie__verwandt .pfeillink::before { content: ""; position: absolute; inset: 0; }
.uefamilie__verwandt li:focus-within .uefamilie__buehne { translate: -4px -4px; box-shadow: 6px 6px 0 var(--f); }
@media (hover: hover) and (pointer: fine) { .uefamilie__verwandt li:hover .uefamilie__buehne { translate: -4px -4px; box-shadow: 6px 6px 0 var(--f); } }
@media (prefers-reduced-motion: reduce) { .uefamilie__buehne { transition: none; } }
@media (min-width: 40em) {
  .uefamilie__verwandt ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .uefamilie__verwandt li { grid-template-columns: minmax(0, 1fr); gap: .8rem; align-items: start; }
  .uefamilie__buehne { padding: .9rem .8rem 0; border-bottom-width: 8px; }
}
@media (min-width: 40em) {
  .uefamilie__wand { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem); }
  .uefamilie__wand > li:nth-child(2) { margin-top: clamp(1rem, 3vw, 2.5rem); }
}

/* ---------- 5. Worauf du dich verlassen kannst ---------- */
.uearbeit { background: var(--creme); }
.uearbeit .titel .schrift { --spalt: var(--creme); }
.uearbeit__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2.75rem, 10vw, 3.5rem); }
.uearbeit__punkt {
  background: var(--weiss); border-radius: var(--rund); border-top: 10px solid var(--f);
  padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: .7rem; align-content: start;
}
.uearbeit__punkt h3 { font-family: var(--schrift-plakat); font-weight: 400; text-transform: uppercase; font-size: var(--fs-h3); line-height: 1; overflow-wrap: anywhere; }
.uearbeit__punkt p { font-size: var(--fs-klein); max-width: 30rem; }
.uearbeit__ort { margin-top: clamp(2rem, 4vw, 3rem); max-width: 44rem; font-weight: 600; }
@media (min-width: 56.25em) { .uearbeit__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
