/* Winterservice Ramsauer Radsport (Auftrag Jairo 01.10.2026).
   Ergänzt das Theme ramsauer-2026 (Hero, Schritte, FAQ, .auf kommen von dort).
   Geladen auf /winterservice/ (mu-plugin wwd-winterservice.php) und auf der Startseite (Teaser). */

/* ---------- Seite ---------- */
.ws-hero { position: relative; isolation: isolate; }
.ws-schnee { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.ws-hero .seite-hero-in { position: relative; z-index: 1; }
.ws-hero-bild { overflow: hidden; }
.ws-hero-bild img { animation: ws-zoom 18s ease-out both; transform-origin: 60% 40%; }
@keyframes ws-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.ws-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.ws-raster > * { min-width: 0; }
.ws-liste li { transition-delay: calc(var(--i, 0) * 70ms); }
.ws-collage { position: relative; aspect-ratio: 1 / 1; }
.ws-c { position: absolute; margin: 0; width: 64%; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35); will-change: transform; }
.ws-c img { display: block; width: 100%; height: auto; }
.ws-c1 { left: 0; top: 2%; --r: -4deg; transform: rotate(var(--r)); z-index: 1; }
.ws-c2 { right: 0; top: 30%; --r: 3deg; transform: rotate(var(--r)); z-index: 2; }
.ws-c3 { left: 10%; bottom: 0; --r: -1.5deg; transform: rotate(var(--r)); z-index: 3; }
.ws-hinweis { margin-top: clamp(20px, 3vw, 36px); padding: 16px 20px; border-left: 4px solid #ffd200;
  background: rgba(255, 210, 0, .08); font-weight: 600; }
.ws-knoepfe { margin-top: clamp(20px, 3vw, 32px); }
.ws-schluss { text-align: left; }

@media (max-width: 900px) {
  .ws-raster { grid-template-columns: 1fr; }
  .ws-collage { max-width: 520px; width: 100%; margin-inline: auto; }
}

/* ---------- Teaser auf der Startseite ---------- */
.ws-teaser { position: relative; isolation: isolate; overflow: hidden; background: #0e1116; color: #fff;
  padding: clamp(56px, 8vw, 110px) 0; }
.ws-teaser .ws-schnee { z-index: 0; opacity: .9; }
.ws-teaser-in { position: relative; z-index: 1; width: min(100% - 32px, 1320px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ws-teaser-in > * { min-width: 0; }
.ws-teaser .ws-kicker { display: inline-flex; gap: 8px; align-items: center; font: 700 13px/1 'Inter', system-ui, sans-serif;
  letter-spacing: .12em; text-transform: uppercase; color: #ffd200; margin: 0 0 16px; }
.ws-teaser .ws-kicker::before { content: ""; width: 26px; height: 3px; background: #ffd200; }
.ws-teaser h2 { margin: 0; font-family: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif; font-weight: 800;
  font-size: clamp(34px, 5.2vw, 72px); line-height: .98; letter-spacing: -.02em; color: #fff; }
.ws-teaser h2 em { font-style: normal; color: #ffd200; }
.ws-teaser p.ws-text { margin: 18px 0 0; max-width: 46ch; font: 400 clamp(16px, 1.4vw, 19px)/1.55 'Inter', system-ui, sans-serif; color: #d6dbe2; }
.ws-teaser .ws-pillen { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ws-teaser .ws-pillen li { padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22);
  font: 600 13px/1 'Inter', system-ui, sans-serif; color: #fff; opacity: 0; transform: translateY(10px);
  transition: opacity .5s, transform .5s; transition-delay: calc(var(--i, 0) * 90ms + 200ms); }
.ws-teaser.ist-da .ws-pillen li { opacity: 1; transform: none; }
.ws-teaser .ws-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ws-teaser .ws-cta a { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px;
  border-radius: 999px; font: 700 16px/1 'Inter', system-ui, sans-serif; text-decoration: none; transition: transform .15s; }
.ws-teaser .ws-cta a:hover { transform: translateY(-2px); }
.ws-teaser .ws-cta a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ws-teaser .ws-cta .ws-gelb { background: #ffd200; color: #111; }
.ws-teaser .ws-cta .ws-rand { border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.ws-teaser .ws-bilder { position: relative; aspect-ratio: 5 / 4; }
.ws-teaser .ws-bilder figure { position: absolute; margin: 0; border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .8s, transform 1s cubic-bezier(.2, .7, .2, 1); }
.ws-teaser .ws-bilder img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-teaser .ws-b1 { inset: 0 22% 18% 0; transform: translate(-40px, 20px) rotate(-3deg); }
.ws-teaser .ws-b2 { inset: 38% 0 0 34%; transform: translate(40px, 30px) rotate(4deg); }
.ws-teaser.ist-da .ws-b1 { opacity: 1; transform: rotate(-2deg); }
.ws-teaser.ist-da .ws-b2 { opacity: 1; transform: rotate(2.5deg); transition-delay: .2s; }
.ws-teaser .ws-siegel { position: absolute; z-index: 3; right: 6%; top: 4%; width: clamp(92px, 11vw, 132px); aspect-ratio: 1;
  border-radius: 50%; background: #ffd200; color: #111; display: grid; place-items: center; text-align: center;
  font: 800 clamp(13px, 1.3vw, 16px)/1.05 'Bricolage Grotesque', 'Inter', system-ui, sans-serif; text-transform: uppercase;
  box-shadow: 0 0 0 6px #0e1116, 0 0 0 9px #ffd200; animation: ws-schweben 4s ease-in-out infinite; }
@keyframes ws-schweben { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-8px) rotate(4deg); } }

@media (max-width: 860px) {
  .ws-teaser-in { grid-template-columns: 1fr; }
  .ws-teaser .ws-bilder { max-width: 520px; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ws-hero-bild img, .ws-teaser .ws-siegel { animation: none; }
  .ws-teaser .ws-bilder figure, .ws-teaser .ws-pillen li { transition: none; }
}
