/* Webcams */
.wc-page { padding: 1.4rem var(--sqs-site-gutter) 4rem; }
.wc { max-width: 1240px; margin: 0 auto; }
.wc a { color: inherit; }
.wc-kicker { margin: 0 0 .2rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #52514e; }

/* Wind/Warnung */
.wc-wind { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; text-decoration: none; }
.wc-wind:hover { border-color: rgba(0,0,0,.3); }
.wc-wind--1 { background: #fff7e1; border-color: #fab219; }
.wc-wind--2 { background: #fde9e7; border-color: #d03b3b; }
.wc-lamp { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #d8d6cf; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.wc-wind--1 .wc-lamp { background: #f39b10; animation: wc-blink 1.5s steps(1) infinite; }
.wc-wind--2 .wc-lamp { background: #f39b10; animation: wc-blink .667s steps(1) infinite; }
@keyframes wc-blink { 50% { background: #f7e2bd; } }
@media (prefers-reduced-motion: reduce) { .wc-lamp { animation: none !important; } }
.wc-wind-w { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: .95rem; min-width: 0; }
.wc-wind-w span { color: #3a3936; }
.wc-wind-more { margin-left: auto; font-size: .9rem; white-space: nowrap; text-decoration: underline; text-underline-offset: .2em; }

/* YLM */
.wc-ylm { background: #fff; border-radius: 18px; padding: 18px; border: 1px solid rgba(0,0,0,.06); margin-bottom: 8px; }
.wc-ylm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 2px 4px 14px; }
.wc-ylm-head h2 { margin: 0; font-size: var(--h3); line-height: 1; }
.wc-ctrl { display: inline-flex; background: #f4f3ef; border-radius: 300px; padding: 3px; }
.wc-ctrl button { font: inherit; font-size: .88rem; border: 0; background: transparent; padding: 7px 14px; border-radius: 300px; cursor: pointer; }
.wc-ctrl button[aria-pressed=true] { background: #000; color: #fff; }
.wc-pano { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 12px; overflow: hidden; background: #e7e5e0; }
.wc-pano-f { margin: 0; position: relative; }
.wc-pano-f figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: .78rem; padding: 3px 9px; border-radius: 300px; pointer-events: none; }
.wc-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.wc-pano img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.wc-tl { display: flex; align-items: center; gap: 12px; margin: 12px 4px 0; }
.wc-tl[hidden] { display: none; }
.wc-play { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #000; color: #fff; font-size: .8rem; cursor: pointer; }
.wc-tl input { flex: 1; accent-color: #000; }
.wc-tl-t { font-size: .88rem; font-variant-numeric: tabular-nums; min-width: 6.5em; text-align: right; }
.wc-stand { margin: 10px 4px 0; font-size: .84rem; color: #52514e; }

/* andere Kameras */
.wc-h { font-size: var(--h3); margin: 2.6rem 0 1rem; }
.wc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.wc-card { min-width: 0; }
.wc-card--wide { grid-column: 1 / -1; }
.wc-img { display: block; position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #d9d7d0; }
.wc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.wc-img:hover img { transform: scale(1.02); }
.wc-img.is-err img { opacity: 0; }
.wc-img.is-err::after { content: "Bild gerade nicht verfügbar – wird gleich neu geladen"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; font-size: .88rem; color: #52514e; }
.wc-card--wide .wc-img { aspect-ratio: 2 / 1; }
.wc-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wc-load { position: absolute; inset: 0; margin: auto; width: max-content; height: 48px; padding: 0 24px; border-radius: 300px; border: 0; background: #000; color: #fff; font: inherit; cursor: pointer; }
.wc-load span { opacity: .7; }
.wc-windy { background: #d9d7d0; }
.wc-windy > a { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; font-size: .9rem; text-decoration: underline; }
.wc-windy iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.wc-h--klein { font-size: 1.5rem; margin-bottom: .2rem; }
.wc-h-sub { margin: 0 0 12px; font-size: .88rem; color: #52514e; }
.wc-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wc-link { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; padding: 12px 16px; text-decoration: none; }
.wc-link:hover { border-color: rgba(0,0,0,.35); }
.wc-link-i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .8rem; padding-left: 3px; }
.wc-link strong { display: block; font-family: var(--heading-font); text-transform: uppercase; font-weight: 400; font-size: 1.2rem; line-height: 1.1; }
.wc-link small { display: block; font-size: .84rem; color: #52514e; }
.wc-link-go { margin-left: auto; font-size: .84rem; color: #52514e; text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
.wc-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 10px; }
.wc-meta h3 { font-size: 1.3rem; line-height: 1.1; margin: 0; }
.wc-meta p { margin: 2px 0 0; font-size: .86rem; color: #52514e; }
.wc-src { font-size: .82rem; color: #52514e; white-space: nowrap; text-decoration: underline; text-underline-offset: .2em; padding-top: 3px; }
.wc-quellen { font-size: .82rem; color: #52514e; margin: 2rem 0 0; line-height: 1.5; max-width: 60em; }
.wc-quellen a { text-decoration: underline; text-underline-offset: .2em; }

/* Großansicht */
.wc-dlg { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.wc-dlg::backdrop { background: rgba(10,10,10,.88); }
.wc-dlg img { display: block; max-width: 96vw; max-height: 86vh; border-radius: 8px; }
.wc-dlg p { color: #fff; margin: 10px 0 0; font-size: .95rem; text-align: center; }
.wc-x { position: absolute; top: -14px; right: -14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 1; }

@media (max-width: 767px) {
  .wc-page { padding: 1rem 16px 3rem; }
  .wc-wind { align-items: flex-start; }
  .wc-wind-more { display: none; }
  .wc-ylm { padding: 12px; border-radius: 14px; }
  .wc-ylm-head { margin: 2px 2px 12px; }
  .wc-pano { grid-template-columns: 1fr; }
  .wc-grid, .wc-links { grid-template-columns: 1fr; gap: 20px; }
  .wc-links { gap: 10px; }
  .wc-card--wide .wc-img { aspect-ratio: 4 / 3; }
  .wc-x { top: 8px; right: 8px; }
}
