/* livecam-neu.css — neues Design der Webcam-Seiten (Maren 24.11.2026), gleiche Formensprache wie die Ortsseiten.
   Testansicht: livecams/<cam>.php?neu=1 → html[data-neu]. Beide Schemata ueber Variablen. */
html[data-neu] {
  --n-glass: rgba(8, 49, 69, .45); --n-glass-h: rgba(8, 49, 69, .65); --n-text: #ffffff; --n-muted: #c4ecf8;
  --n-line: rgba(196, 236, 248, .45); --n-bar: rgba(8, 49, 69, .62); --n-bar-line: rgba(161, 218, 238, .18);
  --n-tab: rgba(230, 246, 252, .78); --n-tab-on: rgba(255, 255, 255, .10); --n-dot: #68c2e3; --n-shadow: rgba(4, 30, 44, .25);
}
html[data-theme="light"][data-neu] {
  --n-glass: rgba(255, 255, 255, .85); --n-glass-h: #ffffff; --n-text: #0b2231; --n-muted: #3d6f86;
  --n-line: rgba(14, 98, 136, .35); --n-bar: rgba(255, 255, 255, .92); --n-bar-line: rgba(14, 98, 136, .18);
  --n-tab: #3d6f86; --n-tab-on: rgba(14, 98, 136, .08); --n-dot: #1391b0; --n-shadow: rgba(14, 98, 136, .15);
}

/* 1. Ueberschriften: Cyan-Punkt statt senkrechtem Strich */
html[data-neu] .livecam-forecast__title::before,
html[data-neu] .livecam-waves__title::before,
html[data-neu] .livecam-tides__title::before,
html[data-neu] .livecam-port__title::before,
html[data-neu] .livecam-sun__title::before,
html[data-neu] .livecam-env__title::before,
html[data-neu] .livecam-about__title::before,
html[data-neu] .livecam-map-section__title::before,
html[data-neu] .livecam-timelapse__title::before,
html[data-neu] .livecam-nearby__title::before {
  width: 9px !important; height: 9px !important; border-radius: 50% !important; align-self: center;
  background: var(--n-dot) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--n-dot) 25%, transparent);
}

/* 2. Verlinkungs-Pillen in Glas statt Orange (Orange bleibt fuer „Kostenlos anmelden") */
html[data-neu] .lc-morelink,
html[data-neu] .livecam-events__more {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--n-line); background: var(--n-glass);
  color: var(--n-text); text-shadow: none; font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 4px 14px var(--n-shadow);
  transition: background .15s ease, border-color .15s ease;
}
html[data-neu] .lc-morelink:hover, html[data-neu] .lc-morelink:focus-visible,
html[data-neu] .livecam-events__more:hover, html[data-neu] .livecam-events__more:focus-visible {
  background: var(--n-glass-h); border-color: var(--n-dot); filter: none;
}
html[data-neu] .lc-morelink svg, html[data-neu] .livecam-events__more svg { color: currentColor; }

/* 3. Reiterleiste wie auf der Ortsseite: runde Glasleiste, aktiver Reiter mit Strich */
html[data-neu] .livecam-jump {
  border-radius: 14px; border: 1px solid var(--n-bar-line); padding: 5px; background: var(--n-bar);
  box-shadow: 0 6px 18px rgba(4, 22, 34, .18); border-bottom: 1px solid var(--n-bar-line);
}
html[data-neu] .lcj-btn { border-radius: 9px; border-bottom: 0; color: var(--n-tab); }
html[data-neu] .lcj-btn:hover { color: var(--n-text); background: var(--n-tab-on); }
html[data-neu] .lcj-btn.is-active { color: var(--n-text); background: var(--n-tab-on); box-shadow: inset 0 -2px 0 var(--accent); }
html[data-neu] .lcj-cam { background: var(--n-tab-on); }
html[data-neu] .lcj-cam__live { color: var(--n-text); }
@media (max-width: 640px) { html[data-neu] .livecam-jump { padding: 4px; border-radius: 12px; } }

/* 4. Sichtbare Scrollleiste unter Vorhersage-/Wellentabelle (iOS) — Leiste aus m365-hscroll.js */
html[data-neu] .lff__scroll { scrollbar-width: none; }
html[data-neu] .lff__scroll::-webkit-scrollbar { display: none; }
html[data-neu] .fc-hscroll { position: relative; height: 14px; margin: 8px 2px 0; border-radius: 999px; cursor: pointer; touch-action: none;
  background: linear-gradient(color-mix(in srgb, var(--n-muted) 25%, transparent), color-mix(in srgb, var(--n-muted) 25%, transparent)) center / 100% 6px no-repeat; }
html[data-neu] .fc-hscroll[hidden] { display: none; }
html[data-neu] .fc-hscroll-th { position: absolute; left: 0; top: 2px; height: 10px; border-radius: 999px; background: var(--n-dot); }

/* Ueberschriften ohne eigenen Strich bekommen den Punkt neu (Warnungen, Hoehepunkte) */
html[data-neu] .livecam-warnings__title::before, html[data-neu] .livecam-events__title::before {
  content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; vertical-align: middle;
  transform: translateY(-1px); background: var(--n-dot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--n-dot) 25%, transparent);
}

/* Titel der Webcam (Testansicht ?titel=neu, Maren 24.11.2026): wie die Ortsseite — Kennzeile oben (Live + Ort),
   grosse, eng gesetzte H1 ohne orangefarbenen Strich, ruhiger Einleitungstext. */
html[data-neu] .lc-head-neu { border-left: 0; padding-left: 0; margin: 6px 0 20px; }
html[data-neu] .lc-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
html[data-neu] .lc-eyebrow-live { position: relative; display: inline-flex; align-items: center; padding: 3px 11px 3px 21px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffffff; background: rgba(224, 36, 94, .9); }
html[data-neu] .lc-eyebrow-live::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: #ffffff; animation: lcj-cam-pulse 1.6s ease-out infinite; }
html[data-neu] .lc-eyebrow-live.is-still { background: var(--n-glass); color: var(--n-text); border: 1px solid var(--n-line); }
html[data-neu] .lc-eyebrow-live.is-still::before { display: none; }
html[data-neu] .lc-eyebrow-geo { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--n-muted); }
html[data-neu] .lc-head-neu .livecam-detail__title { margin: 0; font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12;
  letter-spacing: -.02em; color: var(--n-text); text-wrap: wrap; max-width: none; }   /* Maren 24.11.: weniger fett, volle Breite */
html[data-neu] .lc-head-neu .livecam-detail__subtitle { margin: 12px 0 0; max-width: none; font-size: 17px; line-height: 1.5; font-weight: 400;
  color: color-mix(in srgb, var(--n-text) 88%, transparent); text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { html[data-neu] .lc-eyebrow-live::before { animation: none; } }
@media (max-width: 560px) { html[data-neu] .lc-head-neu .livecam-detail__subtitle { font-size: 15.5px; } }

/* Flughafentafel (Maren 24.11.2026, ?tafel=neu): dunkle Anzeigetafel in beiden Schemata, gelbe Klappziffern,
   Orte in Versalien mit IATA-Kaestchen, Status-Spalte. Neue Zeilen klappen einmal herunter (leise). */
.apb--tafel { --tf-bg: #0a1520; --tf-row: #0e1b28; --tf-row2: #0b1722; --tf-yel: #ffd23f; --tf-txt: #eef3f7; --tf-mut: #7f97a8; --tf-grn: #3ddc6e;
  background: linear-gradient(180deg, #0d1a26, var(--tf-bg)) !important; border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); padding: 16px 16px 10px !important; }
.apb--tafel .apb-h { color: var(--tf-txt); font-size: 15px; letter-spacing: .02em; }
.apb--tafel .apb-stamp-wrap { color: var(--tf-mut); font-family: var(--font-mono); }
.apb--tafel .apb-stamp-wrap b { color: var(--tf-yel); }
.apb--tafel .apb-col-h { font-family: var(--font-mono); letter-spacing: .12em; font-size: 13px; padding: 6px 0; }
.apb--tafel .apb-col-h--arr { color: var(--tf-yel); }
.apb--tafel .apb-col-h--arr::before { background: var(--tf-yel); }
.apb--tafel .apb-col-h--dep { color: var(--tf-grn); }
.apb--tafel .apb-col-h--dep::before { background: var(--tf-grn); }
.apb--tafel .apb-list { margin: 6px 0 10px; border-radius: 10px; overflow: hidden; }
.apb--tafel .apb-thead, .apb--tafel .apb-row {
  display: grid; grid-template-columns: 74px 92px minmax(0, 1fr) 82px; align-items: center; gap: 10px; padding: 7px 10px; }
.apb--tafel .apb-thead { background: #07111a; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--tf-mut); padding-top: 6px; padding-bottom: 6px; }
.apb--tafel .apb-row { border: 0; background: var(--tf-row); }
.apb--tafel .apb-row:nth-child(odd) { background: var(--tf-row2); }
.apb--tafel .apb-t { display: inline-flex; gap: 2px; font-family: var(--font-mono); font-weight: 700; }
.apb--tafel .apb-flap { position: relative; display: inline-block; width: 13px; padding: 2px 0; text-align: center; font-style: normal; font-size: 13px; line-height: 1.2;
  color: var(--tf-yel); background: linear-gradient(180deg, #1b2a37 0 49%, #0a141d 49% 51%, #16232f 51% 100%); border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); }
.apb--tafel .apb-colon { font-style: normal; color: var(--tf-yel); font-size: 13px; line-height: 1.2; }
.apb--tafel .apb-f { font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--tf-yel); white-space: nowrap; }
.apb--tafel .apb-o { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 12.5px;
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--tf-txt); }
.apb--tafel .apb-iata { display: inline-block; margin-right: 8px; padding: 0 5px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .22); font-weight: 700; color: var(--tf-txt); }
.apb--tafel .is-priv .apb-o { color: var(--tf-mut); }
.apb--tafel .apb-s { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tf-grn); text-align: right; }
.apb--tafel .apb-empty { color: var(--tf-mut); padding: 10px; }
@keyframes apb-klapp { 0% { transform: perspective(400px) rotateX(-80deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.apb--tafel .apb-row.is-neu { animation: apb-klapp .55s ease-out both; transform-origin: top; }
@media (prefers-reduced-motion: reduce) { .apb--tafel .apb-row.is-neu { animation: none; } }
@media (max-width: 760px) {
  .apb--tafel .apb-thead, .apb--tafel .apb-row { grid-template-columns: 66px 82px minmax(0, 1fr); }
  .apb--tafel .apb-thead span:nth-child(4), .apb--tafel .apb-s { display: none; }
  .apb--tafel .apb-flap { width: 12px; font-size: 12px; }
}
/* Spaltenbreite je Liste: unter 460 px kein Status (Gelandet/Gestartet erkennt man an der Ueberschrift) */
.apb--tafel .apb-list { container-type: inline-size; }
@container (max-width: 460px) {
  .apb--tafel .apb-thead, .apb--tafel .apb-row { grid-template-columns: 70px 84px minmax(0, 1fr); gap: 8px; }
  .apb--tafel .apb-thead span:nth-child(4), .apb--tafel .apb-s { display: none; }
}

/* Tafel in Lagunenfarben statt Fast-Schwarz (Maren 24.11.2026: „passt nicht von der Farbe") + Abfluege gruen */
.apb--tafel { --tf-bg: #083145; --tf-row: #0b3d55; --tf-row2: #0a364c; --tf-mut: #8fc3d8;
  background: linear-gradient(180deg, rgba(14, 98, 136, .55), rgba(8, 49, 69, .92)) !important;
  border: 1px solid rgba(196, 236, 248, .22) !important; box-shadow: 0 10px 30px rgba(4, 30, 44, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }
.apb--tafel .apb-thead { background: #072a3c; }
.apb--tafel .apb-flap { background: linear-gradient(180deg, #145574 0 49%, #062636 49% 51%, #0f4a66 51% 100%); box-shadow: inset 0 0 0 1px rgba(2, 20, 30, .45); }
.apb--tafel .apb-iata { border-color: rgba(196, 236, 248, .35); }
.apb--tafel .apb-row--dep .apb-flap, .apb--tafel .apb-row--dep .apb-colon, .apb--tafel .apb-row--dep .apb-f { color: var(--tf-grn); }

/* Zweizeilige Zeilen (Maren 24.11.2026: „zu viel freier Platz"): Zeit links ueber beide Zeilen,
   oben Flugnummer, darunter Kuerzel + voller Ortsname — kein Abschneiden mehr, Tafel fuellt die Hoehe. */
.apb--tafel .apb-thead, .apb--tafel .apb-row { grid-template-columns: 78px minmax(0, 1fr) !important; column-gap: 14px; }
.apb--tafel .apb-thead span:nth-child(3), .apb--tafel .apb-thead span:nth-child(4) { display: none; }
.apb--tafel .apb-row { grid-template-areas: "t f" "t o"; row-gap: 3px; padding: 10px 12px; }
.apb--tafel .apb-t { grid-area: t; align-self: center; }
.apb--tafel .apb-f { grid-area: f; font-size: 14px; }
.apb--tafel .apb-o { grid-area: o; white-space: normal; overflow: visible; text-overflow: clip; font-size: 12.5px; line-height: 1.35; }
.apb--tafel .apb-s { display: none !important; }
.apb--tafel .apb-flap { width: 15px; font-size: 15px; padding: 3px 0; }
.apb--tafel .apb-colon { font-size: 15px; }
@container (max-width: 460px) { .apb--tafel .apb-thead, .apb--tafel .apb-row { grid-template-columns: 72px minmax(0, 1fr) !important; } }
/* Lange Flughafennamen einzeilig mit „…" (Maren 24.11.2026) */
.apb--tafel .apb-o { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
/* Kompakter (mehr Fluege auf einen Blick) + Privatfluege zurueckhaltend (Maren 24.11.2026) */
.apb--tafel .apb-row { padding: 7px 12px; row-gap: 1px; }
.apb--tafel .apb-flap { width: 13px; font-size: 13px; padding: 2px 0; }
.apb--tafel .apb-colon { font-size: 13px; }
.apb--tafel .apb-f { font-size: 13px; }
.apb--tafel .apb-o { font-size: 12px; }
.apb--tafel .is-priv .apb-o { color: color-mix(in srgb, var(--tf-mut) 70%, transparent); font-weight: 500; }
.apb--tafel .apb-iata--leer { min-width: 2.6em; text-align: center; opacity: .5; }
