/*
Theme Name:   finisky
Theme URI:    https://finisky.com
Author:       Kreidl Josef
Author URI:   https://finisky.com
Description:  Dunkles Astrofotografie-Theme für finisky.com — nativer Video-Hero, Scroll-Effekte, Portfolio-Templates. Design nach Prototyp finisky-redesign-v4.
Version:      1.0.0
Requires PHP: 8.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  finisky
Tags:         dark, photography, portfolio, one-column
*/

/* ============================================================
   1. Design-Tokens (Prototyp v4) — --brand/--brand-deep werden
      per Customizer-Inline-CSS überschrieben
============================================================ */
:root {
  --brand: #4f8de0;
  --brand-deep: #16263d;
  /* Einheitlicher Überschriften-Verlauf (kräftiges, sattes Blau → hell; auch bei kleinen Titeln sichtbar) */
  --grad-head: linear-gradient(100deg, #2f6fd6 0%, #5fa0f7 38%, #9fcaff 70%, #e9f3ff 100%);
  /* Einheitliches blaues Leuchten beim Hover über anklickbare Fotos/Karten (kräftig) */
  --glow: 0 20px 52px -14px rgba(79, 141, 224, .62), 0 0 34px rgba(143, 192, 255, .45);
  --bg: #05080f;
  --bg-raised: #0b1220;
  --bg-card: var(--brand-deep);
  --text: #f5f5f7;
  --text-dim: #a8b0bd;
  --text-faint: #6e7681;
  --hairline: rgba(255, 255, 255, 0.10);
  --radius: 20px;
  --max: 1140px;
}

/* ============================================================
   2. Basis
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Lenis (Smooth-Scroll) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -100px; left: 16px;
  z-index: 300;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border-radius: 980px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ============================================================
   3. Scroll-Fortschrittsbalken (überall)
============================================================ */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand), #8fc0ff);
  z-index: 200;
  pointer-events: none;
}

/* ============================================================
   4. Navigation (fix, Blur bei Scroll, Dropdowns, Burger)
============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-nav.solid,
body.nav-open .site-nav {
  background: linear-gradient(180deg, rgba(9, 14, 26, 0.84), rgba(5, 8, 15, 0.72));
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(143, 192, 255, .18);
  box-shadow: 0 8px 34px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(143, 192, 255, .10);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img,
.nav-logo .custom-logo { height: 42px; width: auto; }
.nav-logo { display: flex; align-items: center; font-weight: 700; letter-spacing: .04em; transition: opacity .3s; }
/* Startseite: das große Hero-Logo reicht – Navi-Logo erst beim Scrollen (solide Navi) zeigen */
body.home .site-nav:not(.solid) .nav-logo { opacity: 0; pointer-events: none; }

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.88);
}
.nav-links a {
  transition: color .25s, background .3s, border-color .3s, box-shadow .3s, transform .25s, text-shadow .25s;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  display: block;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 980px;
}
.nav-links a:hover { color: #fff; }
.nav-links li { position: relative; }
/* Liquid-Glass-Pille (oberste Ebene): dezent durchscheinend, weiche Glanzkante + Schein in
   den Markenfarben – im Ruhezustand unsichtbar, erscheint bei Hover/Fokus/aktiver Seite. */
.nav-links > li > a:hover,
.nav-links > li > a:focus-visible,
.nav-links > li.current-menu-item > a,
.nav-links > li.current-menu-parent > a,
.nav-links > li.current_page_item > a,
.nav-links > li.current_page_parent > a {
  color: #fff;
  background: linear-gradient(180deg, rgba(143, 192, 255, .19), rgba(143, 192, 255, .07));
  border-color: rgba(143, 192, 255, .42);
  -webkit-backdrop-filter: blur(8px) saturate(170%);
  backdrop-filter: blur(8px) saturate(170%);
  box-shadow: 0 8px 22px -6px rgba(79, 141, 224, .6), 0 0 22px 2px rgba(143, 192, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .3);
  text-shadow: 0 0 16px rgba(143, 192, 255, .7), 0 1px 8px rgba(0, 0, 0, .4);
  transform: translateY(-1px);
}
/* Pfeil bei Menüpunkten mit Untermenü (z. B. Kontakt) – klar erkennbar */
.nav-links > li.menu-item-has-children > a::after { content: "\25BE"; font-size: .8em; margin-left: 7px; opacity: .9; color: #9fc4ff; vertical-align: middle; transition: transform .25s; }
.nav-links > li.menu-item-has-children:hover > a::after,
.nav-links > li.menu-item-has-children:focus-within > a::after { transform: translateY(2px); opacity: 1; }

/* Dropdowns (Desktop) – im selben Liquid-Glass-Look */
.nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 210px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(14, 22, 40, 0.90), rgba(9, 14, 26, 0.90));
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(143, 192, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 0 26px rgba(79, 141, 224, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
}
.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.nav-links .sub-menu a {
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  white-space: nowrap;
}
.nav-links .sub-menu a:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(143, 192, 255, 0.18), rgba(143, 192, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.nav-links .sub-menu .sub-menu { left: 100%; top: 0; transform: none; }

/* Sprachumschalter (DE|EN) – kompakte Pillen-Gruppe im Liquid-Glass-Look */
.nav-links .nav-lang-item { display: flex; align-items: center; }
.nav-links .nav-lang {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(143, 192, 255, .22);
  border-radius: 980px;
  background: rgba(143, 192, 255, .05);
}
.nav-links .nav-lang-opt {
  padding: 5px 11px;
  border: 1px solid transparent;
  border-radius: 980px;
  font-size: .8em;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1;
  color: rgba(255, 255, 255, .68);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
.nav-links .nav-lang-opt:hover,
.nav-links .nav-lang-opt:focus-visible { color: #fff; }
.nav-links .nav-lang-opt.is-active {
  color: #fff;
  background: linear-gradient(180deg, rgba(143, 192, 255, .22), rgba(143, 192, 255, .08));
  border-color: rgba(143, 192, 255, .45);
  box-shadow: 0 0 16px rgba(143, 192, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
  text-shadow: 0 0 14px rgba(143, 192, 255, .65);
}

/* Burger (Mobil) */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 102;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Kopf-Suche: Lupe rechts oben blendet das Suchfeld OBEN in der Navi-Leiste ein (kein Dropdown darunter) */
.nav-search-toggle { position: absolute; top: 18px; right: 24px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--hairline); background: rgba(255, 255, 255, .04); color: #dbe4f1; cursor: pointer; transition: background .25s, border-color .25s, color .25s, box-shadow .25s; }
.nav-search-toggle:hover { background: rgba(143, 192, 255, .14); border-color: rgba(143, 192, 255, .5); color: #fff; box-shadow: 0 0 18px rgba(79, 141, 224, .4); }
.nav-search { position: absolute; inset: 0; z-index: 120; background: rgba(5, 8, 15, .97); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); display: flex; align-items: center; justify-content: center; padding: 8px 70px 8px 24px; }
.nav-search[hidden] { display: none; }
.nav-search-close { position: absolute; top: 50%; right: 18px; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--hairline); background: rgba(255, 255, 255, .05); color: #dbe4f1; font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.nav-search-close:hover { background: rgba(143, 192, 255, .16); border-color: rgba(143, 192, 255, .5); color: #fff; }
.nav-search .search-form { display: flex; gap: 10px; width: 100%; max-width: 600px; }
.nav-search .search-field { flex: 1; min-width: 0; background: rgba(255, 255, 255, .06); border: 1px solid var(--hairline); border-radius: 980px; padding: 12px 20px; color: #eef2f7; font-size: 15px; }
.nav-search .search-field::placeholder { color: rgba(195, 202, 214, .55); }
.nav-search .search-field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79, 141, 224, .25); }
.nav-search .search-submit { background: linear-gradient(95deg, #8fc0ff, #cfe4ff); color: #07111f; border: 0; border-radius: 980px; padding: 12px 26px; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.nav-search .search-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(79, 141, 224, .5); }
@media (max-width: 760px) { .nav-search-toggle { top: 12px; right: 64px; } }
@media (max-height: 520px) { .nav-search-toggle { top: 7px; right: 58px; width: 36px; height: 36px; } }

/* Desktop: Logo + Menü gestapelt und zentriert, etwas höhere Zeile */
@media (min-width: 761px) {
  .nav-inner {
    flex-direction: column;
    height: auto;
    gap: 8px;
    padding: 16px 24px 14px;
    justify-content: center;
  }
  .nav-logo img,
  .nav-logo .custom-logo { height: 54px; }
  .nav-links { font-size: 16px; gap: 28px; flex-wrap: nowrap; white-space: nowrap; }
  /* Inhaltsseiten ohne Hero müssen die höhere Navi freihalten */
  .content-section { padding-top: 150px; }
}

/* Tablet (z. B. iPad hochkant): Menü enger setzen, damit die – im Englischen
   längeren – Punkte + Sprachumschalter einzeilig bleiben (kein Umbruch). */
@media (min-width: 761px) and (max-width: 1024px) {
  .nav-links { gap: 12px; font-size: 14px; }
  .nav-links a { padding: 8px 9px; }
  .nav-links .nav-lang { padding: 2px; margin-left: 2px; }
  .nav-links .nav-lang-opt { padding: 4px 8px; font-size: .76em; }
  .nav-inner { padding-left: 14px; padding-right: 14px; }
}
/* iPad mini / ältere iPads (≤800): noch etwas enger, damit nichts überläuft. */
@media (min-width: 761px) and (max-width: 800px) {
  .nav-links { gap: 10px; font-size: 13.5px; }
  .nav-links a { padding: 7px 8px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 28px;
    background: linear-gradient(180deg, rgba(9, 14, 26, 0.97), rgba(5, 8, 15, 0.97));
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(143, 192, 255, .16);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .45);
    font-size: 17px;
    display: none;
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-links .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0 0 0 18px;
    min-width: 0;
  }
}

/* Kurze Viewports (z. B. Smartphone im Querformat): Navi kompakt in EINER Zeile,
   damit sie nicht ein Drittel des Bildschirms einnimmt. Überschreibt die
   gestapelte Desktop-Navi (steht bewusst nach beiden Breiten-Queries). */
@media (max-height: 520px) {
  .nav-inner { flex-direction: row; height: 52px; gap: 0; padding: 0 20px; justify-content: space-between; }
  .nav-logo img, .nav-logo .custom-logo { height: 30px; }
  .nav-links { font-size: 14px; gap: 18px; }
  body.home .site-nav:not(.solid) .nav-logo { opacity: 1; }
  .content-section { padding-top: 72px; }
}

/* ============================================================
   5. Gepinnter Hero (nur Startseite)
============================================================ */
.pin-hero { height: 220vh; position: relative; }
.pin-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.pin-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 60% at 50% 115%, rgba(79, 141, 224, 0.3), transparent 60%),
    linear-gradient(180deg, #05080f 0%, #0a1426 55%, var(--brand-deep) 100%);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.pin-bg img,
.pin-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* eigene GPU-Ebene -> flüssiges Skalieren des Videos beim Scrollen */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}
.pin-bg video { z-index: 1; }
.pin-shade {
  position: absolute;
  inset: 0;
  background: #05080f;
  opacity: 0;
  will-change: opacity;
}
.pin-stage::before {
  /* leichter Verlauf für Lesbarkeit von Logo/Tagline */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.5) 0%, rgba(5, 8, 15, 0.2) 45%, rgba(5, 8, 15, 0.7) 100%);
  pointer-events: none;
}
.pin-shade, .pin-stars { z-index: 1; }
.pin-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  background-image:
    radial-gradient(1px 1px at 12% 20%, #fff 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 30% 8%, #fff 50%, transparent 50%),
    radial-gradient(1px 1px at 49% 26%, #fff 50%, transparent 50%),
    radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 79% 21%, #fff 50%, transparent 50%),
    radial-gradient(1px 1px at 91% 7%, #fff 50%, transparent 50%),
    radial-gradient(1px 1px at 22% 42%, #fff 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 38%, #fff 50%, transparent 50%);
}
.pin-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, opacity;
}
.hero-logo,
.pin-content .custom-logo {
  height: clamp(80px, 13vw, 120px);
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 32px rgba(79, 141, 224, 0.55));
  opacity: 0;
  animation: rise .9s ease .2s forwards;
}
.hero-title {
  margin-top: 20px;
  font-size: clamp(28px, 4.6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: rise .9s ease .35s forwards;
}
.hero-tagline {
  margin-top: 24px;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: rise .9s ease .45s forwards;
}
.hero-tagline-img {
  margin-top: 26px;
  width: clamp(260px, 46vw, 540px);
  height: auto;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.55));
  opacity: 0;
  animation: rise .9s ease .45s forwards;
}
.hero-ctas {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: rise .9s ease .7s forwards;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 600;
  transition: transform .25s, background .25s, box-shadow .25s;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 30px rgba(79, 141, 224, 0.4);
  border: 0;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

.pin-msg {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  opacity: 0;
  will-change: opacity, transform;
  pointer-events: none;
}
.pin-msg h2 {
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 18ch;
  line-height: 1.1;
}
.pin-msg .grad {
  background: var(--grad-head);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pin-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}
@keyframes twinkle {
  from { opacity: .45; }
  to   { opacity: .85; }
}

/* ============================================================
   6. Statistik (Zähler + Füllbalken)
============================================================ */
.stats {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-raised);
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: center;
}
.stat-num {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-head);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  filter: drop-shadow(0 6px 26px rgba(0, 0, 0, 0.45));
  padding: 0.08em 0;
}
.stat-label { margin-top: 4px; color: var(--text-dim); font-size: 16px; }
.stat-bar {
  margin: 16px auto 0;
  max-width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.stat-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), #8fc0ff);
  transition: width 1.6s cubic-bezier(.2, .6, .2, 1);
}
.stats.in .stat-bar i { width: 100%; }
@media (max-width: 640px) {
  .stats-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   7. Sektionen, Überschriften, Reveals
============================================================ */
section { padding: 100px 24px; }
.inner { max-width: var(--max); margin: 0 auto; }
h2.section-title {
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   8. Portfolio-Kacheln (Startseite, Archiv, Seiten-Template)
============================================================ */
.portfolio-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.portfolio-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.work {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 1 / 1;
  transition: transform .45s cubic-bezier(.2, .6, .2, 1), box-shadow .45s;
}
.work:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
  z-index: 2;
}
.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2, .6, .2, 1);
}
.work:hover img { transform: scale(1.05); }
.work-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 15, 0.85));
}
.work-title { font-size: 18px; font-weight: 600; }
.work-date { font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.work-empty {
  display: grid;
  place-items: center;
  color: var(--text-faint);
  font-size: 14px;
  padding: 24px;
  text-align: center;
}
@media (max-width: 880px) {
  .portfolio-grid, .portfolio-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .portfolio-grid, .portfolio-grid.cols-3 { grid-template-columns: 1fr; }
}
.all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  font-size: 17px;
  color: var(--brand);
}
.all-link:hover { text-decoration: underline; }

/* Filter (Portfolio-Archiv) */
.portfolio-filter {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.portfolio-filter a {
  font-size: 14px;
  font-weight: 700;
  color: #dbe9ff;
  background: rgba(143, 192, 255, 0.10);
  border: 1px solid rgba(143, 192, 255, 0.35);
  padding: 10px 22px;
  border-radius: 980px;
  transition: color .25s, border-color .25s, background .25s, box-shadow .25s, transform .25s;
}
.portfolio-filter a:hover { color: #fff; background: rgba(143, 192, 255, 0.2); border-color: rgba(143, 192, 255, 0.6); transform: translateY(-1px); box-shadow: 0 8px 22px -4px rgba(79, 141, 224, .55), 0 0 20px rgba(143, 192, 255, .55); }
.portfolio-filter a.current {
  background: linear-gradient(95deg, #8fc0ff, #cfe4ff);
  border-color: transparent;
  color: #07111f;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(79, 141, 224, 0.45);
}
.portfolio-filter a.current:hover { color: #07111f; transform: translateY(-1px); box-shadow: 0 16px 36px rgba(79, 141, 224, 0.6); }

/* Pagination */
.pagination-wrap { margin-top: 56px; }
.pagination-wrap .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: 15px;
  position: static;
}
.pagination-wrap .page-numbers {
  min-width: 42px;
  padding: 9px 14px;
  text-align: center;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--text-dim);
  transition: color .25s, border-color .25s, background .25s;
}
.pagination-wrap .page-numbers:hover { color: var(--text); border-color: rgba(79, 141, 224, 0.5); }
.pagination-wrap .page-numbers.current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.pagination-wrap .page-numbers.dots { border: 0; }

/* ============================================================
   9. News (Facebook / TikTok)
============================================================ */
.news {
  background: var(--bg-raised);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.news-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 141, 224, 0.5);
  box-shadow: var(--glow);
}
.news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--hairline);
}
.news-id { display: flex; align-items: center; gap: 12px; }
.news-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  color: #fff;
}
.ic-fb { background: #1877f2; }
.ic-tt { background: linear-gradient(135deg, #25f4ee 0%, #111 45%, #fe2c55 100%); }
.news-name { font-weight: 600; font-size: 17px; }
.news-handle { font-size: 13px; color: var(--text-dim); }
.follow {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  border: 1px solid rgba(79, 141, 224, 0.5);
  padding: 7px 16px;
  border-radius: 980px;
  transition: background .25s, color .25s;
  white-space: nowrap;
}
.follow:hover { background: var(--brand); color: #fff; }
.news-feed {
  flex: 1;
  min-height: 340px;
  display: grid;
  place-items: center;
  color: var(--text-faint);
  font-size: 14px;
  text-align: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(79, 141, 224, 0.08), transparent 60%);
}
.news-embed {
  flex: 1;
  min-height: 340px;
  max-height: 560px;
  overflow-y: auto;
  padding: 18px;
  color-scheme: dark;
}
@media (max-width: 820px) { .news-grid { grid-template-columns: 1fr; } }

/* Feed Them Social im dunklen Look nachstylen (nur Optik, kein Eingriff ins Plugin) */
.news-embed .fts-jal-single-fb-post,
.news-embed .fts-tiktok-post-wrap,
.news-embed .fts-feed-wrapper > div {
  background: transparent !important;
  border-color: var(--hairline) !important;
  color: var(--text-dim) !important;
}
.news-embed a { color: var(--brand) !important; }
.news-embed .fts-jal-fb-description,
.news-embed .fts-jal-fb-message,
.news-embed p, .news-embed span { color: var(--text-dim) !important; }
.news-embed img { border-radius: 10px; }

/* ---- Lightbox (Bild im Overlay vergrößern) ---- */
.finisky-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  background: rgba(5, 8, 15, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
}
.finisky-lightbox.open { display: flex; animation: flb-fade .25s ease; }
.finisky-lightbox .flb-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 1100px;
  cursor: default;
}
.finisky-lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.8);
}
.finisky-lightbox img.flb-in { animation: flb-zoom .4s cubic-bezier(.16, 1, .3, 1); }
.finisky-lightbox .flb-cap { text-align: center; max-width: 64ch; }
.finisky-lightbox .flb-cap b { display: block; color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.finisky-lightbox .flb-cap span { display: block; margin-top: 5px; color: var(--text-dim); font-size: 14.5px; line-height: 1.55; }
.finisky-lightbox .flb-close,
.finisky-lightbox .flb-nav {
  position: fixed;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background .2s, transform .2s;
  line-height: 1;
}
.finisky-lightbox .flb-close { top: 18px; right: 22px; width: 48px; height: 48px; font-size: 26px; }
.finisky-lightbox .flb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 30px; }
.finisky-lightbox .flb-prev { left: 20px; }
.finisky-lightbox .flb-next { right: 20px; }
.finisky-lightbox .flb-close:hover,
.finisky-lightbox .flb-nav:hover { background: rgba(255, 255, 255, 0.24); }
.finisky-lightbox .flb-next:hover { transform: translateY(-50%) scale(1.08); }
.finisky-lightbox .flb-prev:hover { transform: translateY(-50%) scale(1.08); }
@media (max-width: 600px) {
  .finisky-lightbox .flb-nav { width: 44px; height: 44px; font-size: 24px; }
  .finisky-lightbox .flb-prev { left: 8px; }
  .finisky-lightbox .flb-next { right: 8px; }
  .finisky-lightbox img { max-height: 72vh; }
}
@keyframes flb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes flb-zoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ============================================================
   10. Footer
============================================================ */
.site-footer {
  padding: 48px 24px 60px;
  color: var(--text-faint);
  font-size: 13.5px;
  /* Überall gleicher Hintergrund: abgedunkelter Gletscher wie auf der Startseite
     (vorher nur auf Home/Equipment/Über-mich via equipment-experience.css, sonst transparent) */
  background-color: #070b14;
  background-image: linear-gradient(rgba(4, 7, 13, .84), rgba(4, 7, 13, .95)), url('/wp-content/uploads/2023/04/Gletscher-08.02.2023-scaled.jpg');
  background-size: cover;
  background-position: center bottom;
  border-top: 1px solid rgba(143, 192, 255, .16);
  box-shadow: 0 -12px 44px rgba(79, 141, 224, .12), inset 0 1px 0 rgba(143, 192, 255, .10);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img, .footer-brand .custom-logo { height: 30px; width: auto; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

/* ============================================================
   11. Seitenkopf für Unterseiten (page-hero, Slider-Ersatz)
============================================================ */
.page-hero {
  position: relative;
  min-height: 44svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 124px 24px 52px;
}
.page-hero.no-image {
  min-height: 32svh;
  align-items: center;
  padding-top: 116px;
}
.page-hero-bg {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.45) 0%, rgba(5, 8, 15, 0.35) 45%, var(--bg) 100%);
}
/* Ohne Beitragsbild: kosmischer Verlauf, damit jede Seite cool aussieht */
.page-hero.no-image .page-hero-bg {
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(79, 141, 224, 0.28), transparent 60%),
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(79, 141, 224, 0.22), transparent 60%),
    linear-gradient(180deg, #060b16 0%, #0a1426 55%, var(--brand-deep) 100%);
}
.page-hero.no-image .page-hero-bg::after {
  background: linear-gradient(180deg, transparent 60%, var(--bg) 100%);
}
/* Sterne-Overlay (wie im Startseiten-Hero) */
.page-hero-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .7;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.9) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 28% 12%, rgba(255,255,255,.8) 50%, transparent 50%),
    radial-gradient(1px 1px at 44% 28%, rgba(255,255,255,.7) 50%, transparent 50%),
    radial-gradient(1px 1px at 61% 14%, rgba(255,255,255,.85) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 77% 24%, rgba(255,255,255,.75) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,.8) 50%, transparent 50%),
    radial-gradient(1px 1px at 20% 46%, rgba(255,255,255,.7) 50%, transparent 50%),
    radial-gradient(1px 1px at 68% 42%, rgba(255,255,255,.7) 50%, transparent 50%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.page-hero h1 {
  font-size: clamp(36px, 5.8vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  padding-bottom: .14em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: rise .8s ease .15s forwards;
}
.page-hero .page-hero-sub {
  margin-top: 16px;
  color: #e7eef8;
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 600;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .7);
  opacity: 0;
  animation: rise .8s ease .3s forwards;
}

/* Überschriften im blauen Farbverlauf (wie „beginnt die Arbeit") */
.page-hero h1,
.eq-text h2 {
  background: var(--grad-head);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.45));
}

/* ---- Story-Template: gepinntes Intro + scroll-gebundenes Aufdecken ---- */
.story-hero { position: relative; z-index: 1; height: 150vh; }
.story-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.story-title {
  font-size: clamp(46px, 13vw, 170px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: .92;
  background: var(--grad-head);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.5));
  will-change: transform, opacity;
}
.story-sub {
  margin-top: 22px;
  color: var(--text);
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.story-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  animation: bob 2.2s ease-in-out infinite;
}
.story-chev {
  width: 13px; height: 13px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
}
/* Vorschau-Bildreihe im Intro (von JS aus den Inhaltsbildern gebaut) */
.story-teaser {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  justify-content: center;
  flex-wrap: wrap;
}
.story-teaser-item {
  width: clamp(56px, 8vw, 92px);
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.65);
  opacity: 0;
  transform: translateY(20px);
  animation: rise .7s cubic-bezier(.16, 1, .3, 1) forwards;
}
.story-teaser-item:nth-child(2) { animation-delay: .07s; }
.story-teaser-item:nth-child(3) { animation-delay: .14s; }
.story-teaser-item:nth-child(4) { animation-delay: .21s; }
.story-teaser-item:nth-child(5) { animation-delay: .28s; }
.story-teaser-item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 480px) { .story-teaser-item:nth-child(n+5) { display: none; } }

/* Kinetischer Titel: jedes Wort steigt aus einer Maske auf */
.story-title .tw { display: inline-block; overflow: hidden; vertical-align: top; line-height: .92; padding-bottom: .06em; }
.story-title .ti { display: inline-block; transform: translateY(118%); transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.story-title.in .ti { transform: none; }

/* Sanftes „Halten": Bild bleibt kurz stehen, während der Text weiterscrollt */
body.page-template-template-story .story .eq-row { align-items: start; }
.finisky-js body.page-template-template-story .story .eq-media { position: sticky; top: 12vh; max-height: 80vh; }

/* Horizontale Galerie (läuft seitwärts beim Scrollen) */
.eq-hscroll {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.eq-hscroll-track {
  display: flex;
  gap: 18px;
  padding: 0 24px;
  width: max-content;
  will-change: transform;
}
.eq-hscroll-item {
  flex: 0 0 auto;
  width: clamp(220px, 30vw, 360px);
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}
.eq-hscroll-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   Szenen-Sequenz: Seite steht still, Inhalte zoomen/überblenden
   ineinander (gepinnte „Film"-Sequenz, per Scroll gesteuert)
============================================================ */
.seq { position: relative; z-index: 1; }
.seq-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  /* echte 3D-Tiefe: Szenen fliegen durch den Raum */
  perspective: 1500px;
  perspective-origin: 50% 46%;
}
.seq-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 70px;
  opacity: 0;
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
}
.seq-inner { width: min(var(--max), 92vw); margin: 0 auto; }
.seq-scene.is-intro { text-align: center; }
.seq-title {
  font-size: clamp(46px, 12vw, 160px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: .92;
  background: var(--grad-head);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.5));
}
.seq-sub { margin-top: 20px; color: var(--text); font-size: clamp(16px, 2.4vw, 22px); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5); }
.seq-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}
.seq-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--bg-card);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75);
}
.seq-photo a { display: block; cursor: zoom-in; height: 100%; }
.seq-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seq-text h2 {
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  background: var(--grad-head);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.seq-text p { color: var(--text-dim); font-size: clamp(16px, 1.7vw, 18.5px); margin-top: 16px; }
.seq-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  z-index: 50;
  animation: bob 2.2s ease-in-out infinite;
}
@media (max-width: 760px) {
  .seq-grid { grid-template-columns: 1fr; gap: 18px; }
  .seq-photo { aspect-ratio: 4 / 3; max-height: 40svh; }
}
/* Fortschrittspunkte rechts (zeigen: hier kommt noch mehr) */
.seq-dots {
  position: fixed;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 11px;
  z-index: 90;
}
.seq-dots b {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: background .35s ease, transform .35s ease, box-shadow .35s ease;
}
.seq-dots b.on {
  background: var(--brand);
  transform: scale(1.5);
  box-shadow: 0 0 12px rgba(79, 141, 224, 0.7);
}
@media (max-width: 760px) {
  .seq-dots { right: 10px; gap: 8px; }
  .seq-dots b { width: 6px; height: 6px; }
}
body.page-template-template-story .content-section.story { position: relative; z-index: 1; padding-top: 24px; }
/* Aufdeck-Startzustände (nur mit JS); ohne JS bleibt alles sichtbar */
.finisky-js .story .eq-media { clip-path: inset(13% 9% 13% 9% round var(--radius)); will-change: clip-path; }
.finisky-js .story .eq-text { opacity: 0; will-change: opacity, transform; }

/* ---- Durchgehender Gletscher-Hintergrund (Unterseiten), zoomt beim Scrollen ---- */
.subpage-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.subpage-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  will-change: transform;
}
.subpage-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.28) 0%, rgba(5, 8, 15, 0.52) 42%, rgba(5, 8, 15, 0.74) 100%);
}
/* Inhalt liegt über dem Hintergrund */
.subpage-bg ~ .page-hero,
.subpage-bg ~ .content-section,
.subpage-bg ~ .post-nav,
.subpage-bg ~ .comments-area { position: relative; z-index: 1; }
.site-footer { position: relative; z-index: 1; }
/* Hero zeigt den Gletscher prominent, eigene Fläche transparent */
.subpage-bg ~ .page-hero { min-height: 72svh; align-items: flex-end; }
.subpage-bg ~ .page-hero .page-hero-bg { background: none !important; inset: 0; }
.subpage-bg ~ .page-hero .page-hero-bg::after {
  background: linear-gradient(180deg, transparent 35%, rgba(5, 8, 15, 0.5) 100%);
}
/* Homepage: Gletscher hinter den unteren Bereichen sichtbar */
.subpage-bg ~ .pin-hero,
.subpage-bg ~ .stats,
.subpage-bg ~ section,
.subpage-bg ~ .news { position: relative; z-index: 1; }
body.home .stats { background: rgba(11, 18, 32, 0.6); }
body.home .news { background: rgba(11, 18, 32, 0.5); }
body.home #beitraege { background: transparent; }

/* ============================================================
   12. Inhalte (entry-content) — Seiten, Portfolio-Beschreibungen
============================================================ */
.content-section { padding: 64px 24px 100px; }
.entry-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--text-dim);
}
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 1.8em;
}
.entry-content h2 { font-size: clamp(26px, 3.6vw, 34px); }
.entry-content h3 { font-size: clamp(21px, 2.8vw, 26px); }
.entry-content a { color: var(--brand); }
.entry-content a:hover { text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote {
  border-left: 3px solid var(--brand);
  padding-left: 1.2em;
  color: var(--text-dim);
}
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: 13.5px; color: var(--text-faint); margin-top: 8px; }
.entry-content hr { border: 0; border-top: 1px solid var(--hairline); }

/* Iframes/Embeds (Webcam, Wetter, Allsky) — unverändert, nur gerahmt & responsiv */
.entry-content iframe {
  max-width: 100%;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: #000;
}
.entry-content .wp-block-embed__wrapper iframe { border: 0; }

/* Tabellen allgemein + WP-Table-Builder-Overrides (Aufnahmedaten) */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  color: var(--text);
}
.entry-content table td,
.entry-content table th {
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  text-align: left;
}
.entry-content .wptb-table-container,
.entry-content .wptb-table-container-matrix {
  max-width: 100% !important;
  overflow-x: auto;
}
.entry-content .wptb-preview-table {
  border: 1px solid var(--hairline) !important;
  border-radius: 12px;
  overflow: hidden;
}
.entry-content .wptb-preview-table td {
  border-color: var(--hairline) !important;
}
.entry-content .wptb-preview-table p,
.entry-content .wptb-preview-table span,
.entry-content .wptb-preview-table div {
  color: var(--text) !important;
}

/* Galerien (WP-Standard) */
.entry-content .wp-block-gallery,
.entry-content .gallery { border-radius: var(--radius); }

/* ---- Feature-Reihen: Bild/Text im Wechsel (Slider-Ersatz, z. B. Equipment) ---- */
.entry-content .eq-list {
  /* Full-Bleed aus der schmalen Textspalte auf volle Theme-Breite (sauber zentriert) */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 8px 24px 0;
}
.eq-list-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(96px, 15vw, 200px);
}
.eq-row {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}
.eq-row:nth-child(even) .eq-media { order: 2; }
.eq-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
  aspect-ratio: 3 / 2;
  cursor: zoom-in;
}
.eq-media a {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  cursor: zoom-in;
}
.eq-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.06);          /* Reserve für den Parallax-Versatz */
  will-change: transform;
}
.eq-media::after {
  content: "⤢";
  position: absolute;
  right: 12px; bottom: 10px;
  z-index: 2;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(5, 8, 15, 0.55);
  color: #fff;
  font-size: 16px;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.eq-media:hover::after { opacity: 1; }
.eq-num {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--brand);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.eq-num::after {
  content: "";
  display: inline-block;
  width: 38px;
  height: 1px;
  background: var(--brand);
  vertical-align: middle;
  margin-left: 12px;
  opacity: .6;
}
.eq-text h2 {
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-top: 0;
  line-height: 1.08;
}
.eq-text p { font-size: clamp(16px, 1.6vw, 18px); }
.eq-text h2 .eq-sold {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  border: 1px solid rgba(79, 141, 224, 0.5);
  padding: 3px 11px;
  border-radius: 980px;
  margin-left: 10px;
  vertical-align: middle;
  white-space: nowrap;
  letter-spacing: 0;
}
.eq-text p { color: var(--text-dim); font-size: 16.5px; margin-top: 14px; }
.eq-text .eq-links { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.eq-row.is-sold .eq-media img { filter: saturate(.6) brightness(.85); }
@media (max-width: 760px) {
  .eq-row { grid-template-columns: 1fr; gap: 18px; }
  .eq-row:nth-child(even) .eq-media { order: 0; }
}

/* Formulare (Contact Form 7 & Suchformular) */
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="url"],
.entry-content input[type="tel"],
.entry-content input[type="number"],
.entry-content textarea,
.search-form .search-field {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  transition: border-color .25s;
}
.entry-content input:focus,
.entry-content textarea:focus,
.search-form .search-field:focus {
  border-color: var(--brand);
  outline: none;
}
.entry-content input[type="submit"],
.entry-content button[type="submit"],
.search-form .search-submit {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 600;
  background: var(--brand);
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 30px rgba(79, 141, 224, 0.4);
  transition: transform .25s;
}
.entry-content input[type="submit"]:hover,
.search-form .search-submit:hover { transform: translateY(-2px); }
.wpcf7 .wpcf7-not-valid-tip { color: #ff7b8a; font-size: 13.5px; }
.wpcf7 .wpcf7-response-output {
  border: 1px solid var(--hairline) !important;
  border-radius: 12px;
  padding: 12px 16px !important;
  margin: 1.2em 0 0 !important;
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
}
.search-form .search-submit { white-space: nowrap; }

/* ============================================================
   13. Portfolio-Einzelansicht
============================================================ */
.single-portfolio-header {
  padding: 140px 24px 36px;
  text-align: center;
}
.single-portfolio-header h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.single-portfolio-header .entry-date {
  display: block;
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 15px;
}
.single-portfolio-header .entry-terms {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.single-portfolio-header .entry-terms a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid var(--hairline);
  padding: 5px 13px;
  border-radius: 980px;
  transition: color .25s, border-color .25s;
}
.single-portfolio-header .entry-terms a:hover { color: var(--text); border-color: rgba(79, 141, 224, 0.5); }

.portfolio-figure {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.portfolio-figure figure {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.portfolio-figure img { width: 100%; }
.portfolio-figure + .portfolio-figure { margin-top: 24px; }

.single-portfolio .content-section { padding-top: 64px; }

.post-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 100px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.post-nav a {
  color: var(--text-dim);
  font-size: 15px;
  border: 1px solid var(--hairline);
  border-radius: 980px;
  padding: 11px 22px;
  transition: color .25s, border-color .25s;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.post-nav a:hover { color: var(--text); border-color: rgba(79, 141, 224, 0.5); }

/* ============================================================
   14. Blog-Index / Suche / 404
============================================================ */
.post-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.post-list .post-card {
  display: block;
  padding: 26px 28px;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  transition: transform .35s, border-color .35s;
}
.post-list .post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 141, 224, 0.5);
}
.post-list h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.post-list .post-card-date { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.post-list .post-card-excerpt { margin-top: 10px; color: var(--text-dim); font-size: 15.5px; }

.error-404 {
  min-height: 60svh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 160px 24px 100px;
}
.error-404 .inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.error-404 .error-code {
  font-size: clamp(80px, 16vw, 160px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-head);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-404 p { color: var(--text-dim); max-width: 44ch; }
.error-404 .hero-ctas { animation: none; opacity: 1; margin-top: 10px; }

/* ============================================================
   15. Bewegung reduzieren / Feinheiten
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pin-hero { height: auto; }
  .pin-stage { position: relative; min-height: 92svh; height: auto; }
  .pin-msg, .pin-hint { display: none; }
  .pin-bg video { display: none; }
  .hero-logo, .pin-content .custom-logo, .hero-title, .hero-tagline, .hero-tagline-img, .hero-ctas {
    animation: none;
    opacity: 1;
  }
  .page-hero h1, .page-hero .page-hero-sub { animation: none; opacity: 1; }
  .page-hero-stars { animation: none; }
  .stat-bar i { transition: none; }
  .stats .stat-bar i { width: 100%; }
  .work, .work img, .news-card, .btn, .follow, .post-list .post-card { transition: none; }
  .pin-hint { animation: none; }
  .eq-row { opacity: 1 !important; transform: none !important; transition: none; }
  .eq-media img { transition: none; transform: none; }
  .finisky-js .story .eq-media { clip-path: none !important; }
  .finisky-js .story .eq-text { opacity: 1 !important; }
  .story-hero { height: auto; }
  .story-stage { position: relative; height: auto; padding: 120px 24px 60px; }
  .story-title { transform: none !important; opacity: 1 !important; }
  .story-title .ti { transform: none !important; }
  .story-hint { display: none; }
  body.page-template-template-story .story .eq-media { position: static !important; }
  .eq-hscroll-track { transform: none !important; }
  .finisky-lightbox.open, .finisky-lightbox img.flb-in { animation: none; }
}

@media (max-width: 400px) {
  .nav-inner, .stats-inner { padding-left: 16px; padding-right: 16px; }
  section, .content-section { padding-left: 16px; padding-right: 16px; }
  .hero-ctas .btn { padding: 12px 22px; font-size: 15px; }
}

/* ===== Seite „Wetter & Seeing" – eigene, interaktive Widgets (inc/weather.php
   + assets/js/finisky-weather.js) ===== */
/* Kopf groß & zentriert wie bei Equipment / Über-mich */
:is(body.page-wetter, body.page-unterstuetzung, body.page-urlaub, body.page-kontakt, body.page-webcam, body.finisky-pf-overview, body.page-impressum, body.page-datenschutz, body.page-cookie-richtlinie-eu) .subpage-bg ~ .page-hero { min-height: 92svh; align-items: center; text-align: center; }
:is(body.page-wetter, body.page-unterstuetzung, body.page-urlaub, body.page-kontakt, body.page-webcam, body.finisky-pf-overview, body.page-impressum, body.page-datenschutz, body.page-cookie-richtlinie-eu) .page-hero-inner { display: flex; flex-direction: column; align-items: center; }
:is(body.page-wetter, body.page-unterstuetzung, body.page-urlaub, body.page-kontakt, body.page-webcam, body.finisky-pf-overview, body.page-impressum, body.page-datenschutz, body.page-cookie-richtlinie-eu) .page-hero h1 { font-size: clamp(46px, 10vw, 140px); line-height: 1.08; letter-spacing: -.04em; padding: 0 .1em .16em; }
:is(body.page-wetter, body.page-unterstuetzung, body.page-urlaub, body.page-kontakt, body.page-webcam, body.finisky-pf-overview, body.page-impressum, body.page-datenschutz, body.page-cookie-richtlinie-eu) .page-hero-inner::after { content: ""; display: block; width: 70px; height: 3px; margin: 26px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--brand), #8fc0ff); box-shadow: 0 0 18px rgba(79, 141, 224, .6); }
@media (max-height: 560px) { :is(body.page-wetter, body.page-unterstuetzung, body.page-urlaub, body.page-kontakt, body.page-webcam, body.finisky-pf-overview, body.page-impressum, body.page-datenschutz, body.page-cookie-richtlinie-eu) .subpage-bg ~ .page-hero { min-height: 100svh; } }
/* Portfolio-Übersicht: etwas niedrigerer Hero (Kacheln scheinen durch) + zentrierter Filter */
body.finisky-pf-overview .subpage-bg ~ .page-hero { min-height: 60svh; }
body.finisky-pf-overview .portfolio-filter { justify-content: center; }
/* Suchergebnis-Kopf kompakt (nicht so hoch wie die großen Heros), Treffer gleich darunter */
body.search .subpage-bg ~ .page-hero { min-height: 34svh; align-items: center; text-align: center; }

.wx-wrap { max-width: var(--max); margin: 0 auto; }
.wx-title {
  margin: clamp(40px, 6vh, 80px) 0 22px; font-size: clamp(30px, 4.6vw, 64px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1; padding: .04em 0 .12em;
  background: var(--grad-head);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 26px rgba(0, 0, 0, .5));
}
.wx-title:first-child { margin-top: 8px; }
.wx-cta { text-align: center; margin: clamp(40px, 7vh, 80px) 0 6px; }
.wx-cta-t { margin: 0 0 16px; color: var(--text-dim); font-size: clamp(15px, 1.7vw, 18px); }
.wx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.wx-stat {
  display: flex; flex-direction: column;
  background: rgba(12, 19, 34, .72); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px; padding: 22px 22px 0; overflow: hidden; box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
  transition: box-shadow .35s, border-color .35s;
}
.wx-stat:hover { box-shadow: var(--glow); border-color: rgba(79, 141, 224, .4); }
.wx-stat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.wx-val { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.02em; line-height: 1;
  background: var(--grad-head); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wx-val .u { font-size: .36em; font-weight: 700; -webkit-text-fill-color: var(--dim); color: var(--dim); margin-left: .3em; letter-spacing: 0; }
.wx-lbl { margin-top: 9px; font-size: 13px; letter-spacing: .03em; color: var(--dim); }
.wx-mm { text-align: right; font-size: 13.5px; font-weight: 700; line-height: 1.55; white-space: nowrap; }
.wx-mm .up { color: #f0a98e; display: block; }
.wx-mm .dn { color: #8fc0ff; display: block; }
.wx-windrow { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font-size: 13px; color: var(--dim); }
.wx-windrow b { color: #eef2f7; }
.wx-compass { position: relative; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); margin-top: 4px; }
.wx-compass i { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: translate(-50%, -50%) rotate(var(--deg, 0deg)); }
.wx-compass i::after { content: ""; position: absolute; left: -4.5px; top: -16px; border: 4.5px solid transparent; border-bottom-color: var(--brand); filter: drop-shadow(0 0 6px rgba(79, 141, 224, .6)); }
.wx-compass span { position: absolute; font-size: 8px; font-weight: 700; line-height: 1; color: var(--dim); opacity: .72; }
.wx-compass .c-n { top: 3px; left: 50%; transform: translateX(-50%); }
.wx-compass .c-s { bottom: 3px; left: 50%; transform: translateX(-50%); }
.wx-compass .c-o { right: 4px; top: 50%; transform: translateY(-50%); }
.wx-compass .c-w { left: 4px; top: 50%; transform: translateY(-50%); }
.wx-chart { position: relative; width: calc(100% + 44px); height: 130px; margin: auto -22px 0; touch-action: pan-y; }
.wx-chart .wx-svg { display: block; width: 100%; height: 100%; }
.wx-guide { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .35); opacity: 0; pointer-events: none; transition: opacity .12s; }
.wx-cursor { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #8fc0ff; border: 2px solid #0b1220; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; box-shadow: 0 0 10px rgba(143, 192, 255, .85); }
.wx-meta { margin-top: 16px; font-size: 12.5px; color: var(--dim); opacity: .85; }
.wx-tip { position: fixed; z-index: 99999; display: none; pointer-events: none; transform: translate(-50%, calc(-100% - 12px));
  background: rgba(10, 16, 27, .96); border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; padding: 8px 11px;
  font-size: 12.5px; line-height: 1.4; color: var(--dim); white-space: nowrap; box-shadow: 0 12px 30px rgba(0, 0, 0, .6); }
.wx-tip b { display: block; color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.wx-night-card { display: flex; gap: clamp(16px, 2.4vw, 30px); align-items: stretch; background: rgba(12, 19, 34, .72); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 22px; box-shadow: 0 18px 44px rgba(0, 0, 0, .42); }
.wx-moon { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.wx-moon-svg { width: clamp(94px, 12vw, 134px); height: auto; animation: wxMoonGlow 5s ease-in-out infinite; }
@keyframes wxMoonGlow { 0%, 100% { filter: drop-shadow(0 0 9px rgba(173, 196, 255, .35)); } 50% { filter: drop-shadow(0 0 22px rgba(173, 196, 255, .7)); } }
.wx-night-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.wx-night-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; margin-bottom: 10px; }
.wx-moon-name { font-size: 19px; font-weight: 800; color: #eef2f7; }
.wx-moon-sub { font-size: 14px; color: var(--dim); }
.wx-night-when { font-size: 13px; color: var(--dim); }
.wx-night-chart { position: relative; width: 100%; }
.wx-night-svg { display: block; width: 100%; height: clamp(170px, 22vw, 210px); }
.wx-night-x { position: relative; height: 16px; margin-top: 2px; }
.wx-night-x span { position: absolute; transform: translateX(-50%); font-size: 11px; color: var(--dim); white-space: nowrap; }
.wx-night-chart .wx-guide.tall { bottom: 18px; }
.wx-night-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 14px; font-size: 12px; color: var(--dim); }
.wx-night-src { opacity: .8; }
.wx-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.wx-dot.q-good { background: #37d27a; }
.wx-dot.q-mid { background: #f0c44e; }
.wx-dot.q-bad { background: #e5675b; }
@media (max-width: 640px) { .wx-night-card { flex-direction: column; align-items: center; text-align: center; } .wx-night-head { justify-content: center; } .wx-night-main { width: 100%; } }

/* ===== Seite „Unterstützen" – Spende (PayPal) + Partner (template-parts/support.php) ===== */
.su-wrap { max-width: 920px; margin: 0 auto; text-align: center; }
.su-title {
  margin: clamp(34px, 5vh, 60px) 0 18px; font-size: clamp(28px, 4vw, 54px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1; padding: .04em 0 .12em;
  background: var(--grad-head);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 26px rgba(0, 0, 0, .5));
}
.su-give .su-title { margin-top: 6px; }
.su-text { max-width: 640px; margin: 0 auto; font-size: clamp(15px, 1.6vw, 17px); line-height: 1.7; color: #dfe6f2; }
.su-give { background: rgba(12, 19, 34, .72); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: clamp(28px, 4vw, 50px); box-shadow: 0 22px 56px rgba(0, 0, 0, .45); }
.su-pp { margin: 26px 0 12px; }
.su-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 34px; border: 0; border-radius: 980px; cursor: pointer;
  font-size: 17px; font-weight: 800; letter-spacing: .01em; color: #07111f;
  background: linear-gradient(95deg, #8fc0ff, #cfe4ff); box-shadow: 0 14px 34px rgba(79, 141, 224, .45);
  transition: transform .25s, box-shadow .25s;
}
.su-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 46px rgba(79, 141, 224, .6); }
.su-btn-ico { color: #e5675b; font-size: 18px; }
.su-note { font-size: 12.5px; color: var(--dim); opacity: .8; margin-top: 6px; }
.su-partners { margin-top: clamp(40px, 7vh, 72px); }
.su-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 26px auto 0; max-width: 720px; }
.su-card {
  display: flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none;
  background: rgba(12, 19, 34, .72); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 26px 22px; box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .3s, box-shadow .3s;
}
.su-card:hover { transform: translateY(-4px); border-color: rgba(79, 141, 224, .5); box-shadow: var(--glow); }
.su-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 92px; margin-bottom: 8px; background: #fff; border-radius: 14px; padding: 14px; }
.su-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.su-card-name { font-size: 18px; font-weight: 800; color: #eef2f7; }
.su-card-sub { font-size: 13px; color: var(--dim); }
.su-card-link { margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--brand); }
.su-card:hover .su-card-link { color: #8fc0ff; }

/* ===== Seite „Urlaub unter Sternen" (template-parts/urlaub.php) ===== */
.ul-wrap { max-width: var(--max); margin: 0 auto; }
.ul-lead { max-width: 770px; margin: clamp(18px, 3vh, 36px) auto 0; text-align: center; font-size: clamp(17px, 2vw, 22px); line-height: 1.6; color: #e7eef8; }
.ul-lead strong { color: #fff; }
.ul-title {
  margin: clamp(40px, 6vh, 74px) 0 22px; font-size: clamp(28px, 4vw, 52px); text-align: center;
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1; padding: .04em 0 .12em;
  background: var(--grad-head);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 26px rgba(0, 0, 0, .5));
}
.ul-text { max-width: 720px; margin: 0 auto; text-align: center; font-size: clamp(15px, 1.6vw, 17px); line-height: 1.7; color: #dfe6f2; }
.ul-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ul-feat { background: rgba(12, 19, 34, .72); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 24px 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.ul-feat::before { content: ""; display: block; width: 36px; height: 3px; border-radius: 3px; margin-bottom: 16px; background: linear-gradient(90deg, var(--brand), #8fc0ff); box-shadow: 0 0 14px rgba(79, 141, 224, .5); }
.ul-feat-h { font-size: 17px; font-weight: 800; color: #eef2f7; letter-spacing: -.01em; }
.ul-feat-t { margin-top: 7px; font-size: 13.5px; line-height: 1.55; color: var(--dim); }
.ul-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.ul-facts span { font-size: 13px; font-weight: 600; color: #dbe4f1; background: rgba(143, 192, 255, .12); border: 1px solid rgba(143, 192, 255, .3); border-radius: 980px; padding: 7px 15px; }
.ul-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 28px; }
.ul-shot { display: block; margin: 0; padding: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; overflow: hidden; position: relative; cursor: zoom-in; width: 100%; background: none; box-shadow: 0 18px 44px rgba(0, 0, 0, .45); transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s; -webkit-appearance: none; appearance: none; }
.ul-shot img { display: block; width: 100%; height: 220px; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.ul-shot:hover { transform: translateY(-5px); box-shadow: var(--glow); border-color: rgba(79, 141, 224, .5); }
.ul-shot:hover img { transform: scale(1.06); }
.ul-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 14px 9px; font-size: 12.5px; color: #eef2f7; text-align: left; background: linear-gradient(rgba(4, 7, 13, 0), rgba(4, 7, 13, .78)); }
/* Lightbox */
.ul-lb { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 5vmin; background: rgba(3, 6, 12, .95); cursor: zoom-out; }
.ul-lb.on { display: flex; }
.ul-lb img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); }
.ul-lb-x { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; }
.ul-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; }
.ul-lb-prev { left: 18px; } .ul-lb-next { right: 18px; }
.ul-lb-x, .ul-lb-nav { border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .25s; }
.ul-lb-x:hover, .ul-lb-nav:hover { background: rgba(255, 255, 255, .24); }
.ul-amenities { list-style: none; margin: 28px auto 0; padding: 0; max-width: 760px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px 24px; }
.ul-amenities li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; color: #dfe6f2; }
.ul-amenities li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.ul-cta { margin-top: clamp(40px, 7vh, 72px); }
.ul-cta-card { max-width: 680px; margin: 0 auto; text-align: center; background: rgba(12, 19, 34, .72); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 22px 56px rgba(0, 0, 0, .45); }
.ul-logo { display: block; width: 62%; max-width: 250px; height: auto; margin: 0 auto 4px; }
.ul-cta-card .ul-title { margin-top: 12px; }
.ul-contact { margin-top: 16px; }
.ul-contact a { color: var(--brand); font-weight: 700; font-size: 14px; text-decoration: none; }
.ul-contact a:hover { color: #8fc0ff; }

/* ===== Seite „Kontakt" – Intro + Fluent-Form im Theme-Look (template-parts/kontakt.php) ===== */
.ko-wrap { max-width: 720px; margin: 0 auto; }
.ko-lead { text-align: center; max-width: 640px; margin: clamp(18px, 3vh, 36px) auto 0; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.65; color: #e7eef8; }
.ko-form { margin-top: clamp(26px, 4vh, 44px); background: rgba(12, 19, 34, .72); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 22px 56px rgba(0, 0, 0, .45); }
.ko-form .ff-el-group { margin-bottom: 18px; }
.ko-form label, .ko-form .ff-el-input--label label { color: #dbe4f1 !important; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.ko-form input[type=text], .ko-form input[type=email], .ko-form input[type=tel], .ko-form input[type=url], .ko-form textarea, .ko-form select {
  width: 100% !important; background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(255, 255, 255, .16) !important; border-radius: 12px !important;
  padding: 12px 15px !important; color: #eef2f7 !important; font-size: 15px !important; box-shadow: none !important; transition: border-color .2s, box-shadow .2s;
}
.ko-form textarea { min-height: 130px; resize: vertical; }
.ko-form ::placeholder { color: rgba(195, 202, 214, .5); }
.ko-form input:focus, .ko-form textarea:focus, .ko-form select:focus { outline: none !important; border-color: var(--brand) !important; box-shadow: 0 0 0 3px rgba(79, 141, 224, .25) !important; }
.ko-form .ff-el-form-check label, .ko-form .ff-el-form-check-label { color: var(--dim) !important; font-size: 13px; font-weight: 500; }
.ko-form .ff-el-form-check { display: flex; align-items: flex-start; gap: 8px; }
.ko-form a { color: var(--brand); }
.ko-form .ff-btn-submit, .ko-form button[type=submit] {
  background: linear-gradient(95deg, #8fc0ff, #cfe4ff) !important; color: #07111f !important; border: 0 !important; border-radius: 980px !important;
  padding: 14px 32px !important; font-size: 16px !important; font-weight: 800 !important; cursor: pointer; box-shadow: 0 14px 34px rgba(79, 141, 224, .4); transition: transform .25s, box-shadow .25s;
}
.ko-form .ff-btn-submit:hover, .ko-form button[type=submit]:hover { transform: translateY(-2px); box-shadow: 0 20px 46px rgba(79, 141, 224, .55); }
.ko-form .ff-message-success, .ko-form .ff-el-is-error .text-danger, .ko-form .error { color: #e7eef8; }
.ko-alt { text-align: center; margin-top: 22px; font-size: 14px; color: var(--dim); }
.ko-alt a { color: var(--brand); font-weight: 700; text-decoration: none; }
.ko-alt a:hover { color: #8fc0ff; }

/* ===== Seite „Livecam" – Webcam-Einbettung + Allsky-Kachel (template-parts/camera.php) ===== */
.lc-wrap { max-width: var(--max); margin: 0 auto; }
.lc-lead { max-width: 820px; margin: 0 auto; text-align: center; font-size: clamp(17px, 2vw, 22px); line-height: 1.6; color: #e7eef8; }
.lc-lead strong { color: #fff; }

/* Volle-Breite-Bänder: trennen Allsky und Webcam wie eigene Sektionen */
.lc-intro { padding: clamp(40px, 7vh, 84px) 24px 6px; }
.lc-band { padding: clamp(46px, 7vh, 88px) 24px; }
.lc-band--b { background: rgba(9, 14, 24, .55); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
#allsky { scroll-margin-top: clamp(80px, 10vh, 110px); } /* Anker „Zurück zu den Livecams" landet unter der fixen Navi */
.lc-band-inner { max-width: 1180px; margin: 0 auto; }
.lc-band .lc-title { margin-top: 0; }
.lc-title {
  margin: clamp(40px, 6vh, 74px) 0 22px; font-size: clamp(26px, 3.4vw, 46px); text-align: center;
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1; padding: .04em 0 .12em;
  background: var(--grad-head);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 26px rgba(0, 0, 0, .5));
}

/* --- Webcam-Bühne --- */
.lc-stage {
  position: relative; width: 100%; max-width: 1140px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; background: #04070d;
  border: 1px solid var(--hairline); box-shadow: 0 26px 64px rgba(0, 0, 0, .55);
}
.lc-stage--sky { aspect-ratio: 4 / 3; max-width: 880px; }
/* Allsky-Bereiche als Buttons (öffnen in neuem Tab → die Livecams-Seite bleibt offen = Weg zurück) */
.lc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 880px; margin: clamp(18px, 3vh, 28px) auto 0; }
.lc-action { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700; color: #dbe9ff; background: linear-gradient(180deg, rgba(143, 192, 255, .15), rgba(143, 192, 255, .05)); border: 1px solid rgba(143, 192, 255, .34); border-radius: 980px; padding: 11px 22px; text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: color .25s, background .25s, border-color .25s, box-shadow .25s, transform .25s; }
.lc-action svg { width: 17px; height: 17px; flex: none; }
.lc-action:hover { color: #fff; background: linear-gradient(180deg, rgba(143, 192, 255, .26), rgba(143, 192, 255, .1)); border-color: rgba(143, 192, 255, .62); transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(79, 141, 224, .55), 0 0 22px rgba(143, 192, 255, .42); }
.lc-action--ghost { background: rgba(255, 255, 255, .04); border-color: var(--hairline); color: #cdd9ec; }
.lc-action--ghost:hover { color: #fff; background: rgba(143, 192, 255, .14); border-color: rgba(143, 192, 255, .5); }
.lc-img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; background: #04070d; }
.lc-img.is-on { opacity: 1; }
.lc-stage.is-off::after {
  content: attr(data-off); position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  padding: 24px; text-align: center; color: var(--text-dim); font-size: 15px; letter-spacing: .01em;
}

/* LIVE-Badge */
.lc-live {
  position: absolute; top: 12px; right: 14px; z-index: 6; display: none; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #fff;
  background: rgba(0, 0, 0, .42); padding: 6px 12px; border-radius: 980px; backdrop-filter: blur(4px);
}
.lc-stage.is-live .lc-live { display: inline-flex; }
.lc-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; animation: lcPulse 1.8s infinite; }
@keyframes lcPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, .65); } 70% { box-shadow: 0 0 0 8px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }

/* Chips: Zeitraffer + Vollbild */
.lc-chip {
  position: absolute; z-index: 6; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: #eef4ff; text-decoration: none; cursor: pointer; line-height: 1;
  background: rgba(0, 0, 0, .42); border: 1px solid rgba(255, 255, 255, .16); border-radius: 980px;
  padding: 9px 14px; backdrop-filter: blur(5px); transition: background .2s, transform .2s;
}
.lc-chip:hover { background: rgba(0, 0, 0, .64); }
.lc-timelapse { top: 12px; left: 12px; }
.lc-timelapse:hover { transform: translateY(-1px); }
.lc-chip--tr { top: 12px; right: 14px; }
.lc-chip--tr:hover { transform: translateY(-1px); }
.lc-fs { bottom: 12px; left: 50%; transform: translateX(-50%); }
.lc-fs:hover { transform: translateX(-50%) translateY(-1px); }

/* Vollbild-Overlay (geräteübergreifend, Bild wird per object-fit:contain an den Schirm angepasst) */
.lc-fsov { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; box-sizing: border-box; z-index: 200; display: none; align-items: center; justify-content: center; padding: 14px; background: rgba(2, 4, 9, .96); }
.lc-fsov.on { display: flex; }
.lc-fsov-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lc-fsov-close { position: fixed; top: 14px; right: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .5); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lc-fsov-close:hover { background: rgba(0, 0, 0, .75); }

/* Logos */
.lc-logo { position: absolute; bottom: 12px; z-index: 5; pointer-events: none; filter: drop-shadow(0 0 5px rgba(0, 0, 0, .85)); }
.lc-logo-l { left: 14px; width: 140px; max-width: 30%; }
.lc-logo-r { right: 14px; width: 150px; max-width: 32%; }

.lc-cap { text-align: center; margin: 14px auto 0; color: var(--text-dim); font-size: 14px; }

/* --- Allsky-Kachel --- */
.lc-allsky-card {
  max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: clamp(22px, 4vw, 52px);
  align-items: center; background: rgba(12, 19, 34, .72); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 46px); box-shadow: 0 22px 56px rgba(0, 0, 0, .45);
}
.lc-allsky-body { text-align: left; }
.lc-allsky-body .lc-title { text-align: left; margin: 0 0 14px; }
.lc-allsky-body p { color: #cdd7e6; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.65; margin: 0 0 24px; }

/* Allsky-Visual: runder Nachthimmel (rein per CSS, kein Allsky-Asset) */
.lc-sky {
  position: relative; width: 100%; max-width: 300px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #1b2e4d 0%, #0b1730 46%, #05080f 100%);
  border: 1px solid rgba(143, 192, 255, .28);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, .8), 0 0 34px rgba(79, 141, 224, .18);
}
.lc-sky::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 68% 22%, #cfe0ff, transparent),
    radial-gradient(1.7px 1.7px at 80% 60%, #fff, transparent),
    radial-gradient(1px 1px at 35% 70%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 55% 48%, #fff, transparent),
    radial-gradient(1px 1px at 48% 82%, #bcd2f7, transparent),
    radial-gradient(1.6px 1.6px at 27% 55%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 72% 78%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 88% 35%, #fff, transparent),
    radial-gradient(1px 1px at 14% 74%, #cfe0ff, transparent),
    radial-gradient(1.3px 1.3px at 60% 12%, #fff, transparent),
    radial-gradient(1px 1px at 42% 38%, #fff, transparent);
  animation: lcTwinkle 4.5s ease-in-out infinite alternate;
}
.lc-sky::after {
  content: ""; position: absolute; inset: -25%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(143, 192, 255, .12), transparent 32%, transparent 100%);
  animation: lcSweep 16s linear infinite;
}
@keyframes lcTwinkle { 0% { opacity: .55; } 100% { opacity: 1; } }
@keyframes lcSweep { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .lc-allsky-card { grid-template-columns: 1fr; text-align: center; }
  .lc-allsky-body, .lc-allsky-body .lc-title { text-align: center; }
  .lc-sky { max-width: 240px; }
}
@media (max-width: 540px) {
  .lc-logo-l { width: 104px; }
  .lc-logo-r { width: 112px; }
  .lc-chip { font-size: 12px; padding: 7px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-sky::before, .lc-sky::after, .lc-live i { animation: none; }
}

/* ===== Portfolio-Einzelseite (single-portfolio.php): ein Foto + Lightbox/Zoom + Bilddaten ===== */
.pf-single { position: relative; z-index: 1; }
.pf-single-head { max-width: var(--max); margin: 0 auto; padding: clamp(104px, 11vh, 134px) 24px 0; text-align: center; }
.pf-cats { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.pf-cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #bcd6ff; background: rgba(143, 192, 255, .14); border: 1px solid rgba(143, 192, 255, .32); border-radius: 980px; padding: 5px 14px; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.pf-cat:hover { background: rgba(143, 192, 255, .24); border-color: rgba(143, 192, 255, .55); color: #fff; }
.pf-single-head h1 {
  font-size: clamp(30px, 5vw, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; padding: .02em .08em .12em;
  background: var(--grad-head); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 26px rgba(0, 0, 0, .5));
}
.pf-date { display: block; margin-top: 8px; color: var(--text-dim); font-size: 14.5px; }

/* Inhalt einspaltig in Original-Reihenfolge: Foto → Text → ggf. Foto → Text → Tabelle */
.pf-content { max-width: 760px; margin: clamp(30px, 4vh, 48px) auto 0; padding: 0 24px; }
/* Standard-Abstand zwischen eigenständigen Blöcken (gilt auch Tabelle→Foto und Foto→Foto) */
.pf-content > * { margin: clamp(30px, 3.8vh, 46px) auto 0; }
.pf-content > *:first-child { margin-top: 0; }
/* Foto + zugehöriger Beschreibungstext gehören zusammen → enger; ebenso aufeinanderfolgende Absätze */
.pf-content > .pf-photo + p, .pf-content > .pf-photo + div,
.pf-content > p + p, .pf-content > div + div, .pf-content > p + div, .pf-content > div + p { margin-top: clamp(13px, 1.8vh, 20px); }
/* Alle Beschreibungstexte einheitlich: zentriert, gleiche Größe/Farbe/Zeilenhöhe, volle Breite */
.pf-content p, .pf-content > div { color: #dfe6f2; font-size: clamp(15px, 1.6vw, 17px); line-height: 1.78; text-align: center; }

/* Fotos (klickbar → Lightbox → Zoom) */
.pf-photo-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 44px rgba(0, 0, 0, .5); transition: box-shadow .35s; -webkit-appearance: none; appearance: none; }
.pf-photo-btn img { display: block; width: 100%; height: auto; }
.pf-photo-btn:hover { box-shadow: var(--glow); }
.pf-photo-cap { margin-top: 12px; text-align: center; color: #aebccf; font-size: 14px; font-style: italic; }

/* Bilddaten – eigene, sauber gerenderte Tabelle (keine WP-Table-Builder-Rahmen mehr) */
.pf-specs { width: 100%; max-width: 560px; margin-left: auto; margin-right: auto; border-collapse: separate; border-spacing: 0; background: linear-gradient(180deg, rgba(17, 26, 46, .92), rgba(10, 16, 30, .94)); border: 1px solid var(--hairline); border-radius: 18px; overflow: hidden; box-shadow: 0 22px 54px rgba(0, 0, 0, .5); }
.pf-specs th, .pf-specs td { text-align: left; }
.pf-specs-head th { background: var(--grad-head); color: #06101f; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; padding: 15px 24px; }
.pf-specs tr + tr td { border-top: 1px solid rgba(255, 255, 255, .07); }
.pf-specs tbody tr:nth-child(even):not(.pf-specs-head) td { background: rgba(255, 255, 255, .025); }
.pf-specs-k { color: #93a4bd; font-weight: 600; width: 38%; padding: 15px 16px 15px 24px; vertical-align: top; font-size: 14.5px; }
.pf-specs-v { color: #eef3fb; padding: 15px 24px 15px 16px; vertical-align: top; font-size: 15px; line-height: 1.55; }

/* Lightbox = Pan-/Zoom-Viewer (Mausrad zoomt, ziehen verschiebt, Klick zoomt) */
.pf-lb { position: fixed; inset: 0; z-index: 200; background: rgba(3, 6, 12, .96); display: none; overflow: hidden; touch-action: none; }
.pf-lb.on { display: block; }
.pf-lb.loading { cursor: wait; }
.pf-lb-img { position: absolute; top: 0; left: 0; transform-origin: 0 0; cursor: grab; user-select: none; -webkit-user-drag: none; max-width: none; max-height: none; will-change: transform; }
.pf-lb.grabbing .pf-lb-img { cursor: grabbing; }
.pf-lb.loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #8fc0ff; animation: pf-spin .8s linear infinite; }
@keyframes pf-spin { to { transform: rotate(360deg); } }
.pf-lb-hint { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; font-size: 12.5px; color: #cdd9ec; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .14); border-radius: 980px; padding: 7px 16px; backdrop-filter: blur(4px); pointer-events: none; transition: opacity .4s; }
.pf-lb-close { position: fixed; top: 16px; right: 20px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .45); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s; }
.pf-lb-close:hover { background: rgba(0, 0, 0, .7); }
