@font-face{
  font-family:'Manrope';
  src:url('fonts/manrope-variable.woff') format('woff');
  font-weight:200 800; font-style:normal; font-display:swap;
}
:root{
  --logo-blue:#5DADFF;
  --glass:rgba(255,255,255,.10);
  --glass-strong:rgba(255,255,255,.16);
  --border:rgba(255,255,255,.32);
  --paper:#F3F6FB;
  --muted:#B9C4D6;
  --accent:#7CA9FF;
  --accent2:#FF9E7A;
  --bg1:#5C6EE8; --bg2:#3FADA0; --bg3:#8258B8; --bg4:#E08868; --bg-base:#11141F;
}
:root[data-theme="light"]{
  --logo-blue:#1F6FE5;
  --glass:rgba(255,255,255,.58);
  --glass-strong:rgba(255,255,255,.78);
  --border:rgba(40,52,96,.12);
  --paper:#161C2B;
  --muted:#4A5468;
  --accent:#3558C4;
  --accent2:#D2552E;
  --bg1:#A9BEFF; --bg2:#98E0D2; --bg3:#D4B8F3; --bg4:#FFC3A2; --bg-base:#EDF0F7;
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  min-height:100vh;
  background:var(--bg-base);
  color:var(--paper);
  font-family:'Manrope', sans-serif;
  line-height:1.65;
  transition:color .25s, background .25s;
  overflow-x:hidden;
}
body::before{
  content:'';
  position:fixed;
  inset:-15%;
  z-index:-1;
  background:
    radial-gradient(38% 34% at 14% 12%, var(--bg1) 0%, transparent 72%),
    radial-gradient(34% 32% at 88% 18%, var(--bg2) 0%, transparent 70%),
    radial-gradient(42% 38% at 26% 92%, var(--bg3) 0%, transparent 72%),
    radial-gradient(36% 34% at 94% 88%, var(--bg4) 0%, transparent 70%);
  filter:blur(90px) saturate(120%);
  opacity:.75;
  animation:drift 36s ease-in-out infinite alternate;
}
@keyframes drift{
  0%{ transform:translate(0,0) scale(1); }
  50%{ transform:translate(-3%,2.5%) scale(1.06); }
  100%{ transform:translate(2.5%,-3%) scale(1); }
}
@media (prefers-reduced-motion:reduce){
  body::before{ animation:none; }
}
h1,h2,h3{ font-weight:800; letter-spacing:-.01em; }
.wrap{ max-width:880px; margin:0 auto; padding:0 24px; }
a{ color:var(--paper); }
.eyebrow{ font-size:.82rem; color:var(--muted); font-weight:600; }

.glass{
  background:var(--glass);
  -webkit-backdrop-filter:blur(38px) saturate(160%);
  backdrop-filter:blur(38px) saturate(160%);
  border:1px solid var(--border);
  border-top-color:rgba(255,255,255,.6);
  box-shadow:0 10px 40px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 60px rgba(255,255,255,.04);
}

/* nav — schwebende Liquid-Glass-Leiste */
.nav-outer{ position:sticky; top:14px; z-index:20; padding:14px 16px 0; }
.nav{
  position:relative; max-width:1440px; margin:0 auto;
  display:flex; align-items:center; gap:16px;
  padding:7px 8px 7px 24px; border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,.07) 55%, rgba(255,255,255,.10) 100%);
  -webkit-backdrop-filter:blur(30px) saturate(190%);
  backdrop-filter:blur(30px) saturate(190%);
  border:1px solid rgba(255,255,255,.28);
  border-top-color:rgba(255,255,255,.7);
  box-shadow:0 14px 44px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.55), inset 0 -10px 22px rgba(255,255,255,.05);
}
.nav::before{ /* Lichtreflex oben */
  content:''; position:absolute; inset:1px 1px auto 1px; height:50%; max-height:30px;
  border-radius:27px 27px 0 0;
  background:linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0));
  pointer-events:none;
}
:root[data-theme="light"] .nav{
  background:linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.52) 100%);
  border-color:rgba(30,30,45,.10); border-top-color:rgba(255,255,255,.95);
  box-shadow:0 14px 40px rgba(40,50,90,.16), inset 0 1px 0 rgba(255,255,255,.9);
}
.logo{ position:relative; font-weight:800; font-size:1.05rem; text-decoration:none; color:var(--paper); flex:0 0 auto; }
.logo span{ color:var(--logo-blue); }
.nav-links{ position:relative; flex:1; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:2px; }
.nav-links a{
  flex:0 0 auto; padding:8px 11px; border-radius:999px;
  font-size:.85rem; font-weight:500; white-space:nowrap;
  color:var(--muted); text-decoration:none; border:1px solid transparent;
  transition:background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.nav-links a:hover{ color:var(--paper); background:rgba(255,255,255,.08); }
.nav-links a.active{
  color:var(--paper); font-weight:700;
  background:linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,.10));
  border-color:rgba(255,255,255,.35); border-top-color:rgba(255,255,255,.75);
  box-shadow:0 4px 14px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.6);
}
:root[data-theme="light"] .nav-links a:hover{ background:rgba(255,255,255,.6); }
:root[data-theme="light"] .nav-links a.active{
  background:linear-gradient(180deg, #fff, rgba(255,255,255,.7));
  border-color:rgba(30,30,45,.10); box-shadow:0 4px 12px rgba(40,50,90,.14), inset 0 1px 0 #fff;
}

/* PC-Seite */
.pc-card .specs{ list-style:none; font-size:.9rem; color:var(--muted); }
.pc-card .specs li{ padding:3px 0; }

/* hero (home) */
.hero{ padding:80px 0 56px; text-align:center; }
.hero h1{ font-size:clamp(2.3rem, 6vw, 3.6rem); line-height:1.14; max-width:18ch; margin:18px auto 0; }
.hero p.lead{ margin:20px auto 0; max-width:46ch; color:var(--muted); font-size:1.08rem; }

/* page hero (subpages) */
.page-hero{ padding:56px 0 20px; }
.page-hero h1{ font-size:clamp(1.9rem, 5vw, 2.7rem); margin-top:10px; }
.page-hero p.lead{ margin-top:16px; max-width:56ch; color:var(--muted); font-size:1.03rem; }

.cta{
  display:inline-block; margin-top:34px; padding:14px 30px; border-radius:999px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:#0B0E1A; text-decoration:none; font-weight:700; font-size:.96rem;
  box-shadow:0 10px 30px rgba(124,169,255,.35);
}
.cta.small{ margin-top:0; padding:11px 22px; font-size:.88rem; }

section{ padding:44px 0; }
section h2{ font-size:1.5rem; margin:8px 0 24px; }

.grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.grid.cols-2{ grid-template-columns:repeat(2, 1fr); }
.card{ border-radius:26px; padding:24px; text-decoration:none; display:block; }
.card h3{ font-size:1.02rem; margin-bottom:8px; color:var(--paper); }
.card p{ font-size:.9rem; color:var(--muted); }
.glyph{ width:38px; height:38px; border-radius:12px; margin-bottom:14px; background:linear-gradient(135deg, var(--accent), var(--accent2)); opacity:.85; }

.videos{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.video-frame{ position:relative; width:100%; padding-top:56.25%; border-radius:26px; overflow:hidden; }
.video-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

.about{ border-radius:26px; padding:38px; }
.about p{ max-width:60ch; margin-top:14px; }
.about p.muted{ color:var(--muted); }

/* article / link lists */
.list{ border-radius:26px; overflow:hidden; }
.list-item{ display:flex; align-items:center; gap:14px; padding:16px 22px; font-size:.95rem; border-bottom:1px solid rgba(255,255,255,.12); }
.list-item:last-child{ border-bottom:none; }
.list-item .dot{ width:8px; height:8px; border-radius:50%; background:linear-gradient(135deg, var(--accent), var(--accent2)); flex:0 0 auto; }
.list-item a{ text-decoration:none; color:var(--paper); }
.list-item a:hover{ color:var(--accent); }
.list-item span.note{ margin-left:auto; color:var(--muted); font-size:.82rem; }

.note-box{ border-radius:18px; padding:20px 22px; font-size:.9rem; color:var(--muted); }
.note-box b{ color:var(--paper); }

.legal h2{ font-size:1.15rem; margin:26px 0 8px; }
.legal p, .legal li{ color:var(--muted); font-size:.94rem; margin-bottom:10px; max-width:64ch; }
.legal a{ color:var(--accent); }
.legal ul{ margin:0 0 14px 20px; }
.legal ul li{ margin-bottom:4px; }

/* footer */
footer{ padding:40px 0 60px; }
.sitemap{ display:flex; flex-wrap:wrap; gap:10px 20px; padding:22px 26px; border-radius:22px 22px 0 0; font-size:.86rem; }
.sitemap a{ text-decoration:none; color:var(--muted); }
.sitemap a:hover{ color:var(--paper); }
.footbar{ border-radius:0 0 22px 22px; padding:18px 26px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; border-top:1px solid rgba(255,255,255,.14); }
.footbar p{ color:var(--muted); font-size:.82rem; }
.footbar a{ color:var(--muted); }

@media (max-width:1400px){
  .nav{ border-radius:999px; }
  .nav-links{ flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto; scrollbar-width:none;
    mask-image:linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent);
    -webkit-mask-image:linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent); }
  .nav-links::-webkit-scrollbar{ display:none; }
}
@media (max-width:720px){
  .grid, .grid.cols-2{ grid-template-columns:1fr 1fr; }
  .videos{ grid-template-columns:1fr; }
  .nav{ padding:6px 6px 6px 18px; gap:10px; }
  .nav-links a{ padding:7px 11px; font-size:.82rem; }
}
@media (max-width:480px){
  .grid, .grid.cols-2{ grid-template-columns:1fr; }
}

/* floating buttons */
.float-btn{
  position:fixed; width:48px; height:48px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.15rem; cursor:pointer; z-index:30; right:22px;
  color:var(--paper);
  background:linear-gradient(160deg, var(--glass-strong), var(--glass));
  border:1px solid var(--border);
  border-top-color:rgba(255,255,255,.65);
  -webkit-backdrop-filter:blur(22px) saturate(160%);
  backdrop-filter:blur(22px) saturate(160%);
  box-shadow:0 8px 24px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -6px 12px rgba(0,0,0,.06);
  transition:transform .2s, box-shadow .2s, background .2s;
}
.float-btn:hover{
  transform:translateY(-2px) scale(1.05);
  box-shadow:0 12px 30px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.4);
}
.float-btn:active{ transform:translateY(0) scale(.96); }
#theme-toggle{ bottom:84px; }
#to-top{
  bottom:24px; opacity:0; transform:translateY(10px); pointer-events:none;
  transition:opacity .25s, transform .25s, box-shadow .2s, background .2s;
}
#to-top.show{ opacity:1; transform:translateY(0); pointer-events:auto; }
#to-top svg{ width:18px; height:18px; display:block; }

/* contact form */
.note-inline{ margin-top:10px; font-size:.85rem; color:var(--muted); font-style:italic; }
.contact-form{ border-radius:28px; padding:32px; max-width:560px; }
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:.88rem; margin-bottom:8px; color:var(--muted); }
.field .req{ color:var(--accent2); }
.field input, .field textarea{
  width:100%; padding:12px 14px; border-radius:14px; font-family:inherit; font-size:.96rem;
  background:rgba(255,255,255,.08); border:1px solid var(--border); color:var(--paper);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  transition:border-color .2s, background .2s;
}
:root[data-theme="light"] .field input, :root[data-theme="light"] .field textarea{
  background:rgba(255,255,255,.55);
}
.field input:focus, .field textarea:focus{
  outline:none; border-color:var(--accent); background:rgba(255,255,255,.14);
}
.field textarea{ resize:vertical; min-height:120px; }
.form-hint{ margin-top:16px; font-size:.82rem; color:var(--muted); }

/* Artikel-Unterseiten */
.back-link{ display:table; margin-bottom:6px; font-size:.88rem; color:var(--muted); text-decoration:none; }
.back-link:hover{ color:var(--paper); }
.article{ border-radius:26px; padding:34px 38px; font-size:1rem; }
.article > * + *{ margin-top:14px; }
.article h2{ font-size:1.3rem; margin-top:30px; }
.article h3, .article h4{ font-size:1.08rem; margin-top:24px; }
.article > h2:first-child, .article > h3:first-child, .article > p:first-child{ margin-top:0; }
.article p, .article li{ color:var(--paper); }
.article ul, .article ol{ padding-left:22px; }
.article li + li{ margin-top:6px; }
.article a{ color:var(--accent); text-underline-offset:3px; }
.article a:hover{ color:var(--accent2); }
.article .videos{ margin:22px 0; }
.table-wrap{ overflow-x:auto; }
.article table{ width:100%; border-collapse:collapse; font-size:.92rem; }
.article td{ padding:9px 12px; border-bottom:1px solid var(--border); vertical-align:top; }
.article tr:first-child td{ font-weight:700; }
@media (max-width:720px){ .article{ padding:24px 20px; } }
.page-hero h1{ line-height:1.2; }
.list-item:has(a){ padding:0; }
.list-item a{ flex:1; display:flex; align-items:center; gap:14px; padding:16px 22px; transition:background .2s; }
.list-item a::after{ content:'→'; margin-left:auto; color:var(--muted); transition:transform .2s, color .2s; }
.list-item a:hover{ background:rgba(255,255,255,.07); }
.list-item a:hover::after{ transform:translateX(3px); color:var(--accent); }
:root[data-theme="light"] .list-item a:hover{ background:rgba(255,255,255,.55); }

/* Sitemap */
.sitemap-tree{ list-style:none; border-radius:26px; padding:14px 0; }
.sm-item{ padding:10px 30px; }
.sm-item + .sm-item{ border-top:1px solid rgba(255,255,255,.10); }
:root[data-theme="light"] .sm-item + .sm-item{ border-top-color:rgba(30,30,45,.08); }
.sm-top{ display:inline-flex; align-items:center; gap:12px; font-weight:700; color:var(--paper); text-decoration:none; }
.sm-top::before{ content:''; width:8px; height:8px; border-radius:50%; background:linear-gradient(135deg, var(--accent), var(--accent2)); }
.sm-top:hover{ color:var(--accent); }
.sm-sub{ list-style:none; margin:8px 0 4px 3px; padding-left:20px; border-left:1px solid var(--border); }
.sm-sub li{ padding:4px 0; font-size:.93rem; }
.sm-sub a{ color:var(--muted); text-decoration:none; }
.sm-sub a:hover{ color:var(--paper); }
@media (max-width:720px){ .sm-item{ padding:10px 20px; } }

/* Hellmodus – Feinschliff */
:root[data-theme="light"] body::before{ opacity:.95; filter:blur(80px) saturate(135%); }
:root[data-theme="light"] .glass{
  border-color:rgba(255,255,255,.75);
  box-shadow:0 1px 0 rgba(40,52,96,.06), 0 12px 32px rgba(52,64,120,.12), inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(40,52,96,.05);
}
a.card{ transition:transform .2s, box-shadow .2s; }
a.card:hover{ transform:translateY(-2px); }
:root[data-theme="light"] a.card:hover{ box-shadow:0 1px 0 rgba(40,52,96,.06), 0 18px 40px rgba(52,64,120,.18), inset 0 1px 0 #fff; }
:root[data-theme="light"] .cta{ color:#fff; box-shadow:0 10px 26px rgba(53,88,196,.30); }
:root[data-theme="light"] .float-btn{ box-shadow:0 8px 22px rgba(52,64,120,.18), inset 0 1px 0 #fff; }
:root[data-theme="light"] .list-item{ border-bottom-color:rgba(40,52,96,.08); }
:root[data-theme="light"] .footbar{ border-top-color:rgba(40,52,96,.08); }
:root[data-theme="light"] .article td{ border-bottom-color:rgba(40,52,96,.10); }
:root[data-theme="light"] ::selection{ background:rgba(53,88,196,.18); }

/* Bilder in Artikeln */
.article .article-img{ margin:22px 0; }
.article-img a{ display:block; border-radius:16px; overflow:hidden; border:1px solid var(--border); box-shadow:0 8px 26px rgba(0,0,0,.22); background:rgba(0,0,0,.15); }
.article-img img{ display:block; width:100%; height:auto; transition:transform .35s ease; }
.article-img a:hover img{ transform:scale(1.015); }
.article-img.portrait a{ max-width:420px; margin:0 auto; }
.article-img figcaption{ margin-top:9px; font-size:.84rem; color:var(--muted); text-align:center; line-height:1.45; }
:root[data-theme="light"] .article-img a{ box-shadow:0 8px 24px rgba(52,64,120,.14); background:#fff; }

/* Folien-Galerie */
.slide-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:18px; }
.slide-grid.cols-3{ grid-template-columns:repeat(3, 1fr); }
.slide{ margin:0; }
.slide a{ display:block; border-radius:18px; overflow:hidden; border:1px solid var(--border); box-shadow:0 10px 30px rgba(0,0,0,.25); background:#fff; }
.slide img{ display:block; width:100%; height:auto; transition:transform .35s ease; }
.slide a:hover img{ transform:scale(1.02); }
.slide figcaption{ margin-top:9px; font-size:.86rem; color:var(--muted); text-align:center; }
:root[data-theme="light"] .slide a{ box-shadow:0 10px 26px rgba(52,64,120,.14); }
@media (max-width:720px){ .slide-grid, .slide-grid.cols-3{ grid-template-columns:1fr; } }

/* PC-Karten mit Foto */
.pc-card .pc-photo{ display:block; margin:-8px -8px 16px; border-radius:18px; overflow:hidden; aspect-ratio:3/2; background:rgba(0,0,0,.2); }
.pc-card .pc-photo img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.pc-card .pc-photo:hover img{ transform:scale(1.03); }
.slide-grid.cols-3 .slide img{ aspect-ratio:3/2; object-fit:cover; }

/* Folien untereinander */
.slide-grid.stack{ grid-template-columns:1fr; gap:28px; }

/* Downloadbereich */
.ql-box{ border-radius:26px; padding:26px 28px; }
.ql-box p{ color:var(--muted); font-size:.95rem; margin-bottom:18px; max-width:62ch; }
.ql-list{ display:flex; flex-wrap:wrap; gap:12px 14px; align-items:center; }
.ql{ display:inline-block; line-height:0; border-radius:999px; transition:transform .2s, box-shadow .2s; }
.ql img{ height:28px; width:auto; }
.ql:hover{ transform:translateY(-2px); box-shadow:0 6px 16px rgba(0,0,0,.25); }
.section-hint{ color:var(--muted); font-size:.92rem; margin:-12px 0 20px; }
.prog-card{ display:flex; flex-direction:column; }
.prog-card .prog-logo{ display:flex; align-items:center; justify-content:center; height:150px; margin:-8px -8px 18px; border-radius:18px; background:#fff; padding:18px; overflow:hidden; }
.prog-card .prog-logo img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; transition:transform .3s; }
.prog-card .prog-logo:hover img{ transform:scale(1.04); }
.prog-card p{ margin-bottom:16px; }
.prog-card .cta.small{ margin-top:auto; align-self:flex-start; }

/* Symbole in den Themen-Kacheln */
.glyph{ display:flex; align-items:center; justify-content:center; color:#fff; }
.glyph svg{ width:22px; height:22px; filter:drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
a.card:hover .glyph svg{ transform:scale(1.08); transition:transform .2s; }
.glyph:has(svg){ width:48px; height:48px; border-radius:14px; opacity:1; }
.glyph svg{ width:26px; height:26px; }

.about h2{ font-size:1.45rem; margin:6px 0 14px; }
.about p + p{ margin-top:10px; }

/* Mobile Navigation: Menü-Knopf mit aufklappbarer Glas-Liste */
.menu-btn{ display:none; }
@media (max-width:720px){
  .nav-outer{ top:10px; padding:10px 12px 0; }
  .nav{ flex-wrap:wrap; justify-content:space-between; border-radius:26px; padding:8px 8px 8px 20px; gap:0; }
  .nav::before{ height:30px; }
  .logo{ font-size:1.08rem; }
  .menu-btn{
    display:inline-flex; align-items:center; gap:9px; position:relative;
    padding:9px 14px; border-radius:999px; cursor:pointer;
    font:600 .88rem 'Manrope', sans-serif; color:var(--paper);
    background:linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.08));
    border:1px solid rgba(255,255,255,.35); border-top-color:rgba(255,255,255,.7);
    box-shadow:0 4px 14px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.5);
  }
  :root[data-theme="light"] .menu-btn{ background:linear-gradient(180deg,#fff,rgba(255,255,255,.7)); border-color:rgba(30,40,80,.10); box-shadow:0 4px 12px rgba(52,64,120,.14), inset 0 1px 0 #fff; }
  .burger{ display:inline-flex; flex-direction:column; justify-content:center; gap:4px; width:18px; height:14px; }
  .burger i{ display:block; height:2px; width:100%; border-radius:2px; background:currentColor; transition:transform .25s, opacity .2s; }
  .nav.open .burger i:nth-child(1){ transform:translateY(6px) rotate(45deg); }
  .nav.open .burger i:nth-child(2){ opacity:0; }
  .nav.open .burger i:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

  .nav-links{
    flex:1 0 100%; display:grid; grid-template-columns:1fr 1fr; gap:4px;
    overflow:hidden; max-height:0; opacity:0; margin:0;
    mask-image:none; -webkit-mask-image:none;
    transition:max-height .35s ease, opacity .25s ease, margin .35s ease;
  }
  .nav.open .nav-links{ max-height:520px; opacity:1; margin:10px 0 4px; }
  .nav-links a{ padding:11px 14px; font-size:.9rem; white-space:normal; border-radius:14px; text-align:left; background:rgba(255,255,255,.05); }
  :root[data-theme="light"] .nav-links a{ background:rgba(255,255,255,.55); }
  .nav-links a.active{ background:linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,.10)); }
  :root[data-theme="light"] .nav-links a.active{ background:#fff; }
}
@media (max-width:360px){ .nav-links{ grid-template-columns:1fr; } .menu-label{ display:none; } }

/* Bildansicht (Lightbox) */
.article-img a, .slide a, .pc-photo{ cursor:zoom-in; }
html.lb-lock, html.lb-lock body{ overflow:hidden; }
.lightbox{ position:fixed; inset:0; z-index:100; display:none; background:rgba(8,10,18,.82); -webkit-backdrop-filter:blur(16px) saturate(140%); backdrop-filter:blur(16px) saturate(140%); }
.lightbox.open{ display:block; animation:lbIn .2s ease; }
@keyframes lbIn{ from{ opacity:0; } to{ opacity:1; } }
.lb-stage{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:76px 70px 84px; overflow:hidden; touch-action:none; }
.lb-img{ max-width:100%; max-height:100%; object-fit:contain; border-radius:14px; box-shadow:0 20px 60px rgba(0,0,0,.5); background:#fff; transform-origin:center center; transition:transform .18s ease, opacity .2s; opacity:0; user-select:none; -webkit-user-select:none; cursor:zoom-in; }
.lb-img.ready{ opacity:1; }
.lightbox.zoomed .lb-img{ cursor:grab; transition:none; }
.lb-img.grabbing{ cursor:grabbing; }
.lb-bar{ position:absolute; top:14px; right:14px; display:flex; align-items:center; gap:6px; padding:6px; border-radius:999px; }
.lb-count{ color:#fff; font-size:.85rem; font-weight:600; padding:0 8px 0 10px; min-width:0; }
.lb-count:empty{ display:none; }
.lb-btn{ width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.3); border-top-color:rgba(255,255,255,.6); background:linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.08)); color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .15s, background .2s; }
.lb-btn:hover{ transform:scale(1.07); background:rgba(255,255,255,.28); }
.lb-btn svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.lb-nav{ position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; }
.lb-nav:hover{ transform:translateY(-50%) scale(1.07); }
.lb-prev{ left:14px; } .lb-next{ right:14px; }
.lb-cap{ position:absolute; left:50%; bottom:18px; transform:translateX(-50%); max-width:min(90vw, 720px); padding:10px 18px; border-radius:16px; color:#fff; font-size:.9rem; text-align:center; }
.lightbox .glass{ background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.28); }
@media (max-width:720px){
  .lb-stage{ padding:70px 10px 90px; }
  .lb-nav{ top:auto; bottom:18px; transform:none; width:44px; height:44px; }
  .lb-nav:hover{ transform:scale(1.07); }
  .lb-cap{ bottom:74px; font-size:.84rem; }
  .lb-btn{ width:40px; height:40px; }
}

.cf-fallback{ margin-top:18px; padding:16px 18px; border-radius:16px; border:1px solid var(--border); background:rgba(255,255,255,.06); }
.cf-fallback p{ font-size:.9rem; color:var(--muted); margin-bottom:12px; }
.cf-fallback b{ color:var(--paper); }
.cf-fallback[hidden]{ display:none; }
:root[data-theme="light"] .cf-fallback{ background:rgba(255,255,255,.6); }

.form-intro{ margin:-10px 0 26px; color:var(--muted); max-width:56ch; }
.cta-block{ width:100%; text-align:center; }
.mt-18{ margin-top:18px; }
