/* Automatisch aus style.css herausgeloest (CSS-Diaet, 02.09.2026).
   REGEL: Stile, die nur EINE Seite braucht, wohnen in css/seiten/<seite>.css.
   Gemeinsames wohnt in style.css. Wer hier etwas aendert, prueft mit
   werkzeuge/vor-upload-pruefen.sh und zieht die Cache-Stempel hoch. */


/* ---- Imagefilm Schwarzwaldbau: Illustrationen ---- */

/* Modul 1 - auf der eigenen Website: der Film tritt vor, der Text tritt zurück.
   Genau die Aussage der Karte: an der Stelle, wo sonst ein Absatz steht,
   steht jetzt der Film. */
.sb1-play {
  transform-box: fill-box; transform-origin: center;
  transition: transform 0.45s var(--ease-marke);
}
.sb1-line {
  transition: transform 0.45s var(--ease-marke), opacity 0.45s ease;
}
.sb1-line-a { transition-delay: 0.05s; }
.sb1-line-b { transition-delay: 0.10s; }
.sb1-line-c { transition-delay: 0.15s; }
.sb1-line-d { transition-delay: 0.20s; }

/* Modul 2 - auf den eigenen Kanälen: der Feed scrollt weiter, bis der Film
   mittig im Bild steht und stehen bleibt. */
.sb2-feed {
  transform: translateY(14px);
  transition: transform 0.6s var(--ease-marke);
}
.sb2-film {
  transform-box: fill-box; transform-origin: center;
  transform: scale(0.96);
  stroke-opacity: 0.45;
  transition: transform 0.5s var(--ease-marke) 0.18s,
              stroke-opacity 0.5s ease 0.18s;
}

/* Modul 3 - im Bewerbungsgespräch: der Blick wandert vom Bewerber zum Bildschirm,
   erst danach wird der Film deutlich. Reihenfolge = Aussage. */
.sb3-person {
  transform-box: fill-box; transform-origin: center;
  transform: translateX(6px);
  transition: transform 0.5s var(--ease-marke);
}
.sb3-look {
  stroke-dasharray: 64;
  stroke-dashoffset: 64;
  transition: stroke-dashoffset 0.7s cubic-bezier(0.3,0.7,0.3,1) 0.12s;
}
.sb3-play {
  transform-box: fill-box; transform-origin: center;
  transition: transform 0.45s var(--ease-marke) 0.35s,
              fill-opacity 0.45s ease 0.35s;
}

/* ---- Bewegung reduzieren - Zustand bleibt, nur die Bewegung entfällt ------- */
@media (prefers-reduced-motion: reduce) {
  .sb1-play, .sb1-line,
  .sb2-feed, .sb2-film,
  .sb3-person, .sb3-look, .sb3-play { transition: none; }
  .sb1-line { transform: none; }
  .sb2-feed { transform: translateY(0); }
  .sb2-film { transform: none; }
  .sb3-person { transform: none; }
  .sb3-look { stroke-dashoffset: 0; }}

.sw-hero-grid { align-items: center; }

/* ---- Projekt-Strip im Hero ---------------------------------- */
.sw-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-lg);
}
.sw-panel-title {
  margin: 0 0 14px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--teal);
}
.sw-panel-photo {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 12px;
  margin-bottom: 8px;
}
.sw-panel-list { list-style: none; margin: 0; padding: 0; }
.sw-panel-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px; align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.sw-panel-list li:first-child { padding-top: 0; border-top: 0; }
.sw-tile {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--teal-tint);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sw-tile svg { width: 40px; height: 40px; display: block; }
.sw-tile--peach { background: var(--peach); }
.sw-panel-text strong { display: block; font-size: 15px; color: var(--ink); }
.sw-panel-text > span { display: block; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }

/* ---- Projektumfang: vier Bausteine -------------------------- */
.sw-scope { padding: var(--space-md) 0; background: var(--panel); }
.sw-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.sw-mod {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sw-mod-visual {
  background: var(--teal-tint);
  border-bottom: 1px solid var(--border);
}
.sw-illu { display: block; width: 100%; height: auto; }
.sw-mod-body { padding: 20px 24px 22px; }
.sw-mod-body h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.sw-mod-body p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* ---- So entstand der Film -----------------------------------
   Zweigeteiltes Editorial: links drei Schritte an Haarlinien mit
   Serifen-Ziffern, rechts drei echte Filmstills als gestaffelter
   Kontaktbogen. Die Neigung liegt in --tilt, damit sie den
   Reveal-Transform ueberlebt (translateY + rotate kombiniert). */
.sw-making { padding: var(--space-sm) 0; background: var(--teal-tint); }
.sw-making-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: center;
}
.sw-steps { list-style: none; margin: 26px 0 0; padding: 0; }
.sw-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 10px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid rgba(16,100,102,0.16);
}
.sw-step:first-child { padding-top: 4px; border-top: 0; }
.sw-step-num {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 13px; font-weight: 800; font-style: normal; line-height: 1;
  background: var(--white); color: var(--teal);
  border: 2px solid var(--border);
  flex: none;
}
.sw-step h3 { margin: 0 0 4px; font-size: 17px; color: var(--ink); }
.sw-step p { margin: 0; font-size: 15px; line-height: 1.62; color: var(--ink-soft); max-width: 52ch; }

.sw-stills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  align-items: flex-start;
}
.sw-still { width: calc(33.33% - 11px); }
.sw-still {
  --tilt: 0deg;
  margin: 0;
  background: var(--white);
  border-radius: 14px;
  padding: 10px 10px 12px;
  box-shadow: 0 14px 30px rgba(26,35,34,0.16);
  transform: rotate(var(--tilt));
}
.sw-still--1 { --tilt: -2deg; }
.sw-still--2 { --tilt: 1.8deg; margin-top: 30px; }
.sw-still--3 { --tilt: -1.2deg; margin-top: 12px; }
.sw-still--4 { --tilt: 1.4deg; margin-top: 2px; }
.sw-still--5 { --tilt: -1.8deg; margin-top: 20px; }
.sw-still img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 8px;
}
.sw-still figcaption {
  margin-top: 8px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--teal-dark);
}

/* ---- Medien-Slider ------------------------------------------
   Bewusst die dritte Slider-Art der Website: kein Endlos-Marquee
   wie auf Start- und Betreuungsseite, sondern ein manuell
   navigierbarer Filmstreifen (Scroll-Snap + Pfeile + Wischen).
   Jede Karte traegt ihre Einordnung direkt unter dem Video. */
.sw-media { padding: var(--space-md) 0; background: var(--white); }

/* ---- Website und Sichtbarkeit ------------------------------- */
.sw-web { padding: var(--space-md) 0; background: var(--teal-tint); }
.sw-web-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}
.sw-web-fact { padding: 0 26px; border-left: 1px solid rgba(16,100,102,0.18); }
.sw-web-fact:first-child { padding-left: 0; border-left: 0; }
.sw-web-fact strong {
  display: block;
  font-size: 17px; font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.sw-web-fact p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* ---- Proof: WhatsApp-Rueckmeldung --------------------------- */
.sw-proof {
  padding: var(--space-md) 0;
  background: var(--ink);
  color: rgba(255,255,255,0.82);
}
.sw-proof h2 { color: var(--white); }
.sw-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 52px;
  align-items: start;
  margin-top: 26px;
}
.sw-proof-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
}
.sw-proof-cardhead {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 12px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--teal-dark);
}
.sw-proof-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--peach); flex-shrink: 0;
}
/* Nachgebaute WhatsApp-Ansicht statt Screenshot: scharf, ohne
   Klarnamen. Chat-Flaeche im WhatsApp-typischen Beige, Bubbles
   weiss mit Absender in Teal, Hervorhebungen als Peach-Marker. */
.sw-chat {
  background: var(--wa-beige);
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sw-chat-bubble {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 14px 10px;
  max-width: 92%;
  box-shadow: 0 1px 1px rgba(26,35,34,0.12);
}
.sw-chat-bubble:first-child { border-top-left-radius: 4px; }
.sw-chat-bubble p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #303c3b;
}
.sw-chat-sender {
  font-size: 12.5px !important;
  font-weight: 800;
  color: var(--teal) !important;
  margin-bottom: 3px !important;
}
.sw-chat-bubble mark {
  background: rgba(237,191,139,0.5);
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
}
.sw-chat-time {
  display: block;
  text-align: right;
  font-size: 10.5px;
  color: rgba(48,60,59,0.5);
  margin-top: 4px;
}
.sw-proof-body { min-width: 0; }
.sw-proof-intro { margin: 0 0 14px; font-size: 15.5px; line-height: 1.64; max-width: 54ch; }
.sw-proof-list { list-style: none; margin: 0; padding: 0; }
.sw-proof-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 15px; line-height: 1.58;
}
.sw-proof-list li::before {
  content: '';
  position: absolute; left: 2px; top: 18px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--peach);
}
.sw-proof-more-head {
  margin: 18px 0 6px;
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal-dark);
}
.sw-proof-list--more { margin-top: 0; }
.sw-proof-note {
  margin: 16px 0 0;
  font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: 54ch;
}

/* ---- Responsive --------------------------------------------- */
@media (max-width: 980px) {
  .sw-scope-grid { grid-template-columns: 1fr; }
  /* Mobile: erst Text, danach die Filmstills */
  .sw-making-grid { grid-template-columns: 1fr; gap: 38px; }
  .sw-stills { max-width: 540px; }
  .sw-still { width: calc(50% - 8px); max-width: 220px; }
  .sw-proof-grid { grid-template-columns: 1fr; gap: 34px; }
  .sw-web-facts { grid-template-columns: 1fr; margin-top: 26px; }
  .sw-web-fact { padding: 14px 0; border-left: 0; border-top: 1px solid rgba(16,100,102,0.18); }
  .sw-web-fact:first-child { padding-top: 0; border-top: 0; }}

@media (max-width: 560px) {
  .sw-panel { padding: 20px 20px; }
  .sw-proof-card { padding: 12px 12px 14px; }}


/* --- /projekte/imagefilm-schwarzwaldbau/, Bausteine-Grafiken ----------- */
/* Ab 980px steht das Raster einspaltig, die SVGs haben aber keine
   Maximalbreite und wuchsen auf ueber 700px: das Suchfeld wurde zur
   Riesenpille, die Strichstaerken viel zu schwer, rund 450px Seitenhoehe
   unnoetig. Jetzt gedeckelt und zentriert wie die uebrigen Kartengrafiken der
   Website (.v-illu 300px, .ov-illu 320px). Unter 641px greift die Regel
   nicht. */
@media (min-width: 641px) and (max-width: 980px) {
  .sw-mod-visual { display: flex; justify-content: center; }
  .sw-illu { max-width: 460px; }}


/* /projekte/imagefilm-schwarzwaldbau/: die Zwischenueberschrift im dunklen
   Proof-Block stand in dunklem Petrol auf fast schwarzem Grund und war
   praktisch nicht zu lesen. Bewusst ohne Media Query - unlesbar ist sie auf
   jeder Breite, nicht nur auf dem Handy. Neuer Wert 7,6:1 statt darunter,
   Ton bleibt in der Petrol-Familie der Seite. */
.sw-proof-more-head { color: var(--teal-muted-light); }