/* =========================================================
   Bus-Fotokisterl – Unterseite im Stil der Startseite (13.10.2026)
   Baut auf ../style.css auf (Typo-Skala, Farben, Lackband, Buttons, Schriftzug-Muster).
   ========================================================= */

/* ---------- 1. Hero: Wähl deine Lackierung ---------- */
.bh { position: relative; background: var(--gelb); isolation: isolate; overflow-x: clip; }
.bh::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .22; mix-blend-mode: multiply; pointer-events: none; }
.bh__innen { display: grid; gap: 2rem; padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem); }
.bh__text { display: grid; gap: clamp(.9rem, 1.8vw, 1.3rem); justify-items: start; align-content: center; }
.bh__titel { font-family: var(--schrift-plakat); font-weight: 400; text-transform: uppercase; font-size: var(--fs-hero-2); line-height: .95; overflow-wrap: anywhere; }
.bh__titel .schrift { color: var(--rot); font-size: var(--schrift-faktor); display: inline-block; transform: rotate(-6deg) translateY(.06em); margin-right: .04em; }
.bh__sub { font-family: var(--schrift-hand); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.1; color: var(--rot); }
.bh__lead { font-size: var(--fs-lead); max-width: 32rem; font-weight: 500; }

.bh__bild { position: relative; display: grid; gap: 1rem; }
.bh__oval {
  position: absolute; left: 50%; top: 38%; width: 100%; aspect-ratio: 1.55; z-index: 0;
  transform: translate(-50%, -50%) rotate(-5deg); border-radius: 50%;
  background: var(--lack, var(--rot)); border: clamp(8px, 1.3vw, 16px) solid var(--weiss);
  transition: background-color .5s ease;
}
.bh__busse { position: relative; z-index: 1; display: grid; }
.bh__busse { aspect-ratio: 1200 / 700; width: 86%; justify-self: center; margin-top: 4%; }
.bh__bus { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; opacity: 0; transition: opacity .4s ease, translate .5s cubic-bezier(.2, .8, .2, 1); translate: 8% 0; }
.bh__bus.ist-aktiv { opacity: 1; translate: 0 0; }

.lackwahl { position: relative; z-index: 2; border: 0; margin: 0; padding: 0; display: grid; justify-items: center; gap: .5rem; }
.lackwahl legend { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-label); text-align: center; width: 100%; margin-bottom: .5rem; }
.lackwahl__knoepfe { display: flex; gap: clamp(.7rem, 2vw, 1.1rem); }
.lackwahl__knopf {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: linear-gradient(var(--b) 0 50%, var(--a) 50% 100%);
  border: 3px solid var(--weiss); box-shadow: 0 2px 6px rgb(0 0 0 / .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover: hover) and (pointer: fine) { .lackwahl__knopf:hover { transform: translateY(-2px); } }
.lackwahl__knopf[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--schwarz), 0 2px 6px rgb(0 0 0 / .25); transform: scale(1.08); }
.lackwahl__knopf:focus-visible { outline: 3px solid var(--schwarz); outline-offset: 4px; }
.lackwahl__name { font-family: var(--schrift-hand); font-size: var(--fs-hand); line-height: 1; min-height: 1.2em; }

@media (min-width: 68.75em) {   /* Hero erst ab 1100 px zweispaltig – bei Tablet quer (981–1100) wäre der Bus sonst zu klein */
  .bh__innen { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; min-height: min(calc(100svh - var(--kopf-h) - 40px), 46rem); }
  .bh__titel { font-size: clamp(3.4rem, 1rem + 5vw, 6.6rem); }
}

/* ---------- 2. Eine Fotobox auf vier Rädern ---------- */
.bwas { background: var(--creme); }
.bwas__raster { display: grid; gap: clamp(2.75rem, 10vw, 3.5rem); align-items: center; }
.bwas__text { display: grid; gap: 1.1rem; }
.bwas__text p { max-width: 34rem; }
.bwas .titel .schrift { --spalt: var(--creme); }
.zehn { display: flex; align-items: center; gap: 1.2rem; margin-top: .5rem; }
.zehn__zahl { font-family: var(--schrift-plakat); font-size: clamp(6rem, 3rem + 10vw, 11rem); line-height: .8; color: var(--rot); text-shadow: .03em .045em 0 var(--schwarz); }
.zehn__text { max-width: 18rem; font-size: var(--fs-lead); }
.bwas__bild { margin: 0; position: relative; }
.bwas__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rund); }
.bwas__bild figcaption { position: absolute; left: 1rem; bottom: -1rem; }
@media (min-width: 56.25em) { .bwas__raster { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 5vw, 5rem); } }

/* ---------- 3. Im Einsatz ---------- */
.beinsatz { background: var(--schwarz); color: var(--creme); }
.einsatz { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.einsatz__f { margin: 0; position: relative; overflow: hidden; border-radius: var(--rund); background: var(--kohle); aspect-ratio: 1; }
.einsatz__f img, .einsatz__f video, .einsatz__f .platzhalter { width: 100%; height: 100%; object-fit: cover; }
.einsatz__f figcaption { position: absolute; left: .75rem; bottom: .75rem; background: var(--gelb); color: var(--schwarz); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: var(--fs-mini); padding: .35rem .6rem; border-radius: 2px; }
.einsatz__f--gross, .einsatz__f--video { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
@media (min-width: 56.25em) {
  .einsatz { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 10rem; gap: 1.1rem; }
  .einsatz__f { aspect-ratio: auto; }
  .einsatz__f--gross { grid-column: 1 / 8; grid-row: span 3; }
  .einsatz__f--video { grid-column: 8 / 13; grid-row: span 2; }
  .einsatz__f:nth-child(3) { grid-column: 8 / 13; grid-row: span 1; }
  .einsatz__f:nth-child(4) { grid-column: 1 / 5; grid-row: span 2; }
  .einsatz__f--folgt { grid-column: 5 / 13; grid-row: span 2; }
}
@media (max-width: 37.4375em) { .einsatz { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 4. Magnetfolie anprobieren ---------- */
.bmarke { background: var(--papier); }
.bmarke .titel .schrift { --spalt: var(--papier); }
.folie { display: grid; gap: 1.5rem; align-items: center; background: var(--creme); border-radius: var(--rund); padding: clamp(1rem, 3vw, 2rem); }
.folie__buehne { position: relative; }
.folie__buehne img { width: 100%; height: auto; display: block; border-radius: var(--rund); }
/* Folie liegt auf der hinteren Seitenwand (Positionen in % des Bildes) */
.folie__klebung {
  /* genau in der Einbuchtung, wo sonst das Fotokisterl-Logo sitzt (gemessen am Bild bus-hero-blau-weiss.webp) – die runden Ränder der Einbuchtung bleiben sichtbar */
  position: absolute; left: 9.2%; top: 15.6%; width: 25%; height: 17.4%; border-radius: 7% / 12%;
  display: grid; place-content: center; text-align: center; gap: .2em;
  background: linear-gradient(135deg, var(--gelb) 0 55%, var(--rot) 55% 100%);
  color: var(--schwarz); 
  font-size: clamp(.45rem, .2rem + .75vw, .95rem);
  opacity: 0; transform: translateX(-8%) skewY(-1deg); transform-origin: left center;
  transition: opacity .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / .35);
}
.folie__logo { font-family: var(--schrift-plakat); text-transform: uppercase; font-size: 1.6em; line-height: 1; border: 2px dashed currentColor; padding: .15em .4em; }
.folie__zeile { font-family: var(--schrift-hand); font-size: 1.3em; line-height: 1; color: var(--weiss); }
.folie[data-folie="an"] .folie__klebung { opacity: 1; transform: none; }
.folie__steuerung { display: grid; gap: .9rem; justify-items: start; }
.folie__frage { font-family: var(--schrift-plakat); text-transform: uppercase; font-size: var(--fs-h4); line-height: 1.05; }
.schalter { display: inline-flex; background: var(--weiss); border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 2px var(--schwarz); }
.schalter__knopf { border: 0; background: transparent; font: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: var(--fs-knopf); padding: .6em 1.15em; min-height: 40px; border-radius: 999px; cursor: pointer; color: var(--schwarz); }
.schalter__knopf[aria-pressed="true"] { background: var(--schwarz); color: var(--gelb); }
.schalter__knopf:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; }
.folie__hinweis { font-size: var(--fs-klein); opacity: .75; max-width: 24rem; }
@media (min-width: 56.25em) { .folie { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }

.bmarke__text { max-width: 44rem; margin: clamp(2rem, 4vw, 3rem) 0 1.5rem; font-size: var(--fs-lead); }
.anpassen { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.anpassen li { background: var(--weiss); border-radius: var(--rund); padding: 1.25rem 1.25rem 1.4rem; border-top: 8px solid var(--f); }
.anpassen h3 { font-family: var(--schrift-plakat); font-weight: 400; text-transform: uppercase; font-size: var(--fs-h4); line-height: 1.05; margin-bottom: .4rem; }
.anpassen p { font-size: var(--fs-klein); }

/* ---------- 5. Anlässe: Bildausschnitte ---------- */
.seite-bus .kachel--verein > img { object-position: 60% 45%; }
.seite-bus .kachel--baelle > img { object-position: 55% 40%; }
.seite-bus .kachel--messe > img { object-position: 50% 55%; }

/* ---------- 6. Zwischen-CTA ---------- */
.zwischen { background: var(--gelb); position: relative; isolation: isolate; padding-block: clamp(4rem, 9vw, 7rem); }
.zwischen::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .2; mix-blend-mode: multiply; }
.zwischen__innen { display: grid; gap: 1.25rem; align-items: center; }
.zwischen__titel { font-family: var(--schrift-plakat); font-weight: 400; text-transform: uppercase; font-size: var(--fs-h3); line-height: 1; margin-bottom: .6rem; overflow-wrap: anywhere; }
.zwischen p { max-width: 42rem; }
@media (min-width: 56.25em) { .zwischen__innen { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; } }

/* ---------- 7. Ladeliste ---------- */
.bdabei { background: var(--creme); }
.bdabei__raster { display: grid; gap: clamp(2.75rem, 10vw, 3.5rem); align-items: center; }
.bdabei__text { display: grid; gap: 1.1rem; }
.bdabei__text p { max-width: 34rem; }
.ladeliste {
  background: var(--weiss); padding: clamp(1.5rem, 3vw, 2.25rem); rotate: 1.5deg;
  box-shadow: 0 18px 30px -16px rgb(0 0 0 / .35), 0 1px 0 rgb(0 0 0 / .08);
  background-image: repeating-linear-gradient(transparent 0 2.35rem, rgb(29 94 158 / .14) 2.35rem calc(2.35rem + 1px));
  background-position: 0 4.6rem; position: relative;
}
.ladeliste::before { /* Klebestreifen */
  content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; translate: -50% 0; rotate: -3deg;
  background: rgb(251 176 59 / .7); box-shadow: 0 1px 2px rgb(0 0 0 / .15);
}
.ladeliste__kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; border-bottom: 3px solid var(--rot); padding-bottom: .4rem; }
.ladeliste__kopf span:first-child { font-family: var(--schrift-plakat); text-transform: uppercase; font-size: var(--fs-h4); }
.ladeliste__kopf .schrift { color: var(--rot); font-size: var(--fs-hand); }
.ladeliste__unter { font-size: var(--fs-mini); text-transform: uppercase; letter-spacing: .06em; font-weight: 800; opacity: .6; margin: .5rem 0 .6rem; }
.ladeliste ul { list-style: none; margin: 0; padding: 0; }
.ladeliste li { position: relative; padding: .55rem 0 .55rem 2.2rem; min-height: 2.35rem; font-weight: 500; }
.ladeliste li::before { /* Kästchen mit Häkchen */
  content: ""; position: absolute; left: 0; top: .6rem; width: 1.25rem; height: 1.25rem; border: 2px solid var(--schwarz); border-radius: 3px;
}
.ladeliste li::after {
  content: ""; position: absolute; left: .32rem; top: .55rem; width: .55rem; height: 1rem; rotate: 40deg;
  border: solid var(--rot); border-width: 0 .2rem .2rem 0;
}
@media (min-width: 56.25em) { .bdabei__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); } }

/* ---------- 8. Fahrtroute ---------- */
.broute { background: var(--papier); }

/* ---------- 9. Familie: Polaroids ---------- */
.familie { background: var(--creme); }
.familie .titel .schrift { --spalt: var(--creme); }
/* Polaroids wie auf der Startseite (Grundstil .pola in style.css), mit handschriftlichem Namen im unteren Rand */
.familie__wand { list-style: none; margin: 0; padding: 1rem 0 0; display: grid; gap: clamp(2.75rem, 10vw, 3.5rem); max-width: 72rem; }
.familie__wand > li { display: grid; }
.familie__pola { margin: 0; padding-bottom: 0; }
.familie__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; }
.familie__pola--offen figcaption { color: var(--schwarz); opacity: .45; }
/* Klebestreifen: größer als auf der Startseite und etwas dunkler, damit er auf Creme sichtbar bleibt */
.familie__pola::before { width: clamp(80px, 9vw, 130px); height: 30px; top: -14px; background: rgb(226 208 172 / .78); }
.familie__wand > li:nth-child(1) .pola { --dreh: -2.5deg; --band: -3deg; }
.familie__wand > li:nth-child(2) .pola { --dreh: 2deg;    --band: 4deg; }
.familie__wand > li:nth-child(3) .pola { --dreh: 1.5deg;  --band: -2deg; }
.familie__wand > li:nth-child(4) .pola { --dreh: -2deg;   --band: 3deg; }
@media (min-width: 40em) {
  .familie__wand { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem); margin-inline: auto; }
  .familie__wand > li:nth-child(2) { margin-top: clamp(1rem, 3vw, 2.5rem); }   /* leicht versetzt wie an eine Wand geklebt */
  .familie__wand > li:nth-child(3) { margin-top: calc(clamp(1rem, 3vw, 2.5rem) * -.5); }
}

/* ---------- 10. Referenzen ---------- */
.breferenz { background: var(--schwarz); color: var(--creme); }
.referenzen { display: grid; gap: clamp(2.75rem, 10vw, 3.5rem); }
.ref { display: grid; gap: .4rem; }
.ref .platzhalter { aspect-ratio: 3 / 2; border-radius: var(--rund); }
.ref__was { font-family: var(--schrift-plakat); text-transform: uppercase; font-size: var(--fs-h4); color: var(--gelb); margin-top: .4rem; }
.ref__wo { font-size: var(--fs-klein); opacity: .75; }
@media (min-width: 40em) { .referenzen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 56.25em) {
  .referenzen { grid-template-columns: 1.6fr 1fr 1fr; }
  .ref--gross { grid-row: span 2; }
  .ref--gross .platzhalter { aspect-ratio: auto; height: 100%; min-height: 20rem; }
  .ref:nth-child(4) { grid-column: 2 / 4; }
  .ref:nth-child(4) .platzhalter { aspect-ratio: 16 / 7; }
}

/* ---------- 11. Preis ---------- */
.bpreis { background: var(--papier); }
.bpreis__raster { display: grid; gap: clamp(2.75rem, 10vw, 3.5rem); align-items: center; }
.bpreis__raster > div:first-child { display: grid; gap: 1.1rem; }
.bpreis__raster p { max-width: 36rem; }
.preisschild { justify-self: start; display: grid; gap: .6rem; justify-items: start; background: var(--gelb); padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.75rem, 4vw, 3rem); border-radius: var(--rund); rotate: -2deg; position: relative; }
.preisschild::before { /* Loch des Preisschilds */
  content: ""; position: absolute; top: 1rem; right: 1rem; width: 16px; height: 16px; border-radius: 50%; background: var(--papier); box-shadow: inset 0 1px 2px rgb(0 0 0 / .3);
}
.preisschild__ab { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-label); }
.preisschild__betrag { font-family: var(--schrift-plakat); font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: 1; }
.preisschild__hand { display: block; font-family: var(--schrift-hand); color: var(--rot); font-size: .6em; }
@media (min-width: 56.25em) { .bpreis__raster { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } .preisschild { justify-self: center; } }

/* ---------- 12. FAQ: zwei Spalten ---------- */
.bfaq .titel { margin-bottom: clamp(2rem, 4vw, 3rem); }
.bfaq__spalten { display: grid; gap: 0; }
@media (min-width: 56.25em) { .bfaq__spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }
@media (max-width: 56.1875em) { .bfaq__spalten .faq__liste + .faq__liste details:first-child { border-top: 0; } }

/* ---------- 13. Abschluss ---------- */
.abschluss__klein { font-size: var(--fs-klein); opacity: .75; }
.ref { align-content: start; }
@media (min-width: 56.25em) { .ref--gross { grid-template-rows: 1fr auto auto; } }
/* Anpassen-Kacheln: nie 3+1 – Handy 1, Tablet 2x2, ab 900 px 4 nebeneinander */
.anpassen { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) { .anpassen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 56.25em) { .anpassen { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Tablet (bis 1099 px): Hero gestapelt, Bus mittig und nicht zu breit */
@media (min-width: 40em) and (max-width: 68.6875em) { .bh__bild { max-width: 42rem; width: 100%; justify-self: center; } }
/* FAQ-Überschrift auf der Bus-Seite nicht mitlaufen lassen (sie steht über beiden Spalten) */
.bfaq .titel { position: static; }

/* Seit die dunkle Sektion „unterwegs“ entfernt ist (23.11.2026): Familie (Creme) → Preis (Papier) → FAQ (Creme) → Abschluss (dunkel) */
.sektion.bfaq { background: var(--creme); }
