
    :root{
      --bg:#0b0b0f;
      --panel:#101018;
      --text:#e9e9f0;
      --muted:#b7b7c6;
      --yellow:#ffd400;
      --yellow2:#ffea70;
      --radius:18px;
      --shadow: 0 18px 60px rgba(0,0,0,.55);
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      line-height:1.55;
      background:
        radial-gradient(1100px 600px at 18% -10%, rgba(255,212,0,.18), transparent 60%),
        radial-gradient(900px 500px at 88% 0%, rgba(255,212,0,.10), transparent 55%),
        radial-gradient(900px 700px at 20% 100%, rgba(255,212,0,.08), transparent 60%),
        var(--bg);
      color:var(--text);
    }
    a{color:inherit;text-decoration:none}
    .container{width:min(1120px,92vw);margin:0 auto}

    /* HERO */
    .hero{
      position:relative;
      min-height:520px;
      height:80vh;
      background:
        linear-gradient(to bottom, rgba(11,11,15,.72), rgba(11,11,15,.15), rgba(11,11,15,.90)),
        url("https://schwarzgelbjeck.de/assets/header.png")
        center/cover no-repeat;
      overflow:hidden;
    }

    /* NAV IN HEADER */
    .nav{
      position:absolute;
      top:0; left:0; right:0;
      z-index:20;
      backdrop-filter: blur(12px);
      background: linear-gradient(to bottom, rgba(11,11,15,.75), rgba(11,11,15,.35));
      border-bottom:1px solid rgba(255,212,0,.18);
      transition: background .2s ease, box-shadow .2s ease;
    }
    .nav.sticky{
      position:fixed;
      background: rgba(11,11,15,.92);
      box-shadow: 0 10px 40px rgba(0,0,0,.45);
    }

    .navInner{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:14px 0;
      gap:14px;
    }
    .brand{
      display:flex;
      align-items:center;
      gap:12px;
      font-weight:850;
      letter-spacing:.2px;
      min-width:220px;
    }
    .brandLogo{
      width:46px;height:46px;border-radius:14px;
      overflow:hidden;
      border:1px solid rgba(255,212,0,.22);
      background: rgba(255,212,0,.06);
      flex:0 0 auto;
    }
    .brandLogo img{width:100%;height:100%;object-fit:cover;display:block}

    .menu{
      display:flex;
      gap:8px;
      flex-wrap:wrap;
      justify-content:flex-end;
    }
    .menu a{
      padding:8px 12px;
      border-radius:999px;
      font-weight:800;
      color:var(--muted);
      border:1px solid transparent;
      transition: background .15s ease, color .15s ease, border-color .15s ease;
    }
    .menu a:hover{
      color:var(--yellow);
      background: rgba(255,212,0,.08);
      border-color: rgba(255,212,0,.18);
    }
    .menu a.active{
      color: var(--bg);
      background: var(--yellow);
      border-color: rgba(255,212,0,.55);
    }

    /* NEXT EVENT BADGE */
    .nextBadge{
      position:absolute;
      top:121px;
      right:140px;
      display:flex;
      flex-direction:column;
      gap:2px;
      padding:10px 12px;
      border-radius:14px;
      background: rgba(0,0,0,.55);
      border:1px solid rgba(255,212,0,.22);
      backdrop-filter: blur(8px);
      max-width:min(520px, calc(100% - 36px));
      z-index:10;
    }
    .label{
      display:flex;
      align-items:center;
      gap:8px;
      font-size:12px;
      font-weight:900;
      text-transform:uppercase;
      letter-spacing:.25px;
      color:var(--yellow2);
    }
    .dot{
      width:8px;height:8px;border-radius:999px;
      background: var(--yellow);
      box-shadow:0 0 0 4px rgba(255,212,0,.12);
      flex:0 0 auto;
    }
    .nextBadge b{font-size:15px; line-height:1.25}
    .nextBadge span{font-size:13px;color:var(--muted); font-weight:650}

    /* HERO TEXT */
    .heroContent{
      position:absolute;
      bottom:48px;
      left:0; right:0;
      z-index:5;
    }
    h1{
      font-size:clamp(32px,5vw,56px);
      margin:0 0 10px;
      letter-spacing:-.6px;
    }
    .sub{color:var(--muted);font-size:18px;max-width:62ch;margin:0}

    section{padding:70px 0}
    h2{margin:0 0 16px; letter-spacing:-.2px}

    /* make anchor scroll land nicely below sticky nav */
    section, header.hero { scroll-margin-top: 86px; }

    /* Termine */
    .note{
      margin-top:12px;
      color:var(--muted);
      font-weight:650;
      font-size:14px;
    }
    .tableWrap{
      overflow:auto;
      border-radius:14px;
      border:1px solid rgba(255,212,0,.14);
      background: rgba(0,0,0,.10);
    }
    table{width:100%;border-collapse:collapse;min-width:720px}
    th,td{padding:12px;border-bottom:1px solid rgba(255,212,0,.18);text-align:left}
    th{color:var(--yellow2);background: rgba(255,212,0,.05);text-transform:uppercase;font-size:12px;letter-spacing:.35px}
    tbody tr:hover td{background: rgba(255,212,0,.04)}

    /* Vorstand */
    .board{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
      gap:16px;
      align-items:stretch;
    }
    .person{
      background: linear-gradient(180deg, rgba(16,16,24,.92), rgba(10,10,14,.92));
      border:1px solid rgba(255,212,0,.16);
      border-radius:var(--radius);
      padding:18px;
      display:flex;
      gap:14px;
      align-items:flex-start;
    }
    .avatar{
      width:44px;height:44px;border-radius:14px;
      background: rgba(255,212,0,.14);
      border:1px solid rgba(255,212,0,.22);
      display:grid;place-items:center;
      font-weight:900;color:var(--yellow2);
      flex:0 0 auto;
    }
    .pcol{display:flex;flex-direction:column;gap:4px;min-width:0}
    .roleText{color:var(--yellow2);font-weight:900;letter-spacing:.2px}
    .name{font-weight:850;font-size:16px}
    .mail{color:var(--muted);font-size:14px;font-weight:650;word-break:break-word}

    footer{
      padding:28px 0;
      text-align:center;
      color:var(--muted);
      border-top:1px solid rgba(255,212,0,.15);
      background: rgba(0,0,0,.12);
    }

    @media (max-width: 520px){
      .nextBadge{
      position:absolute;
      top:121px;
      right:140px;
      display:flex;
      flex-direction:column;
      gap:2px;
      padding:10px 12px;
      border-radius:14px;
      background: rgba(0,0,0,.55);
      border:1px solid rgba(255,212,0,.22);
      backdrop-filter: blur(8px);
      max-width:min(520px, calc(100% - 36px));
      z-index:10;
    }
      .heroContent{bottom:32px}
    }
  
/* Tablet */
@media (max-width: 1024px){
  .nextBadge{
    top: 110px;
    right: 60px;
  }
}

/* Handy */
@media (max-width: 600px){
  .nextBadge{
    top: 90px;
    right: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
  }
}


footer{
  margin-top:80px;
  padding:60px 0;
  background:#08080c;
  border-top:1px solid rgba(255,212,0,.2);
}
footer h2, footer h3{color:#ffea70;margin-bottom:12px}
.sponsors{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom:40px;
}
.sponsors img{
  height:60px;
  filter:grayscale(1) brightness(1.2);
  opacity:.8;
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:32px;
  color:#b7b7c6;
  font-weight:600;
}


/* Footer */
footer{
  margin-top:80px;
  padding:60px 0;
  background:#08080c;
  border-top:1px solid rgba(255,212,0,.2);
}
footer h2, footer h3{color:var(--yellow2);margin:0 0 12px}
.sponsors{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom:40px;
}
.sponsors img{
  height:56px;
  width:auto;
  filter:grayscale(1) brightness(1.2);
  opacity:.85;
  border-radius:14px;
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:32px;
  color:var(--muted);
  font-weight:650;
}
.footer-grid a{color:var(--yellow2);font-weight:850}
.footer-grid a:hover{color:var(--yellow)}
.social{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.socialLink{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,212,0,.18);
  background: rgba(255,212,0,.06);
  color: var(--text);
  font-weight:850;
}
.socialLink:hover{
  background: rgba(255,212,0,.12);
  border-color: rgba(255,212,0,.28);
}
.icon{
  width:18px;height:18px;
  display:inline-flex;
  color: var(--yellow2);
}
.icon svg{width:18px;height:18px;display:block}
@media (max-width: 600px){
  .sponsors img{height:48px}
}


/* --- Schlichter Footer --- */
.simpleFooter{
  margin-top:80px;
  padding:40px 0;
  background:#0a0a0f;
  border-top:1px solid rgba(255,212,0,.25);
  text-align:center;
}
.simpleFooter h2{
  margin:0 0 18px;
  color: var(--yellow2);
  font-size: 1.25rem;
  letter-spacing: -.2px;
}
.simpleFooter .sponsors{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.simpleFooter .sponsors img{
  height:50px;
  width:auto;
  display:block;
  filter: grayscale(1);
  opacity:.85;
  transition: filter .18s ease, opacity .18s ease, transform .18s ease;
}
.simpleFooter .sponsors img:hover{
  filter:none;
  opacity:1;
  transform: translateY(-1px);
}
.simpleFooter .footerLinks{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
  color: rgba(255,234,112,.9);
  font-weight:800;
}
.simpleFooter .footerLinks a{
  color: var(--yellow2);
  text-decoration:none;
}
.simpleFooter .footerLinks a:hover{
  color: var(--yellow);
}
.simpleFooter .copyright{
  color: var(--muted);
  font-weight:650;
  font-size:.92rem;
}


/* --- Bildergalerie --- */
.gallery{
  margin:80px auto 40px;
  width: min(1100px, 92vw);
}
.gallery h2{
  color: var(--yellow2);
  margin-bottom:20px;
}
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:16px;
}
.gallery-grid img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:16px;
  cursor:pointer;
  transition:transform .2s, box-shadow .2s;
}
.gallery-grid img:hover{
  transform:scale(1.03);
  box-shadow:0 8px 24px rgba(0,0,0,.6);
}



/* Eleganter Cookie Banner */
.cookie-banner{
  position:fixed;
  bottom:20px;
  right:20px;
  max-width:320px;
  background:#111;
  color:#eee;
  padding:14px 16px;
  border-radius:14px;
  font-size:0.9rem;
  box-shadow:0 10px 30px rgba(0,0,0,.5);
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:9999;
}
.cookie-buttons{
  display:flex;
  gap:10px;
  justify-content:flex-end;
}
.cookie-buttons button{
  padding:6px 12px;
  border:none;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
  font-size:0.85rem;
}
.cookie-buttons button:first-child{
  background:#ffd400;
  color:#000;
}
.cookie-buttons button:last-child{
  background:#333;
  color:#eee;
}

.cookie-buttons button{
  margin-left:10px;
  padding:8px 14px;
  border:none;
  border-radius:8px;
  cursor:pointer;
  font-weight:700;
}
.cookie-buttons button:first-child{
  background:#ffd400;
  color:#000;
}
.cookie-buttons button:last-child{
  background:#444;
  color:#fff;
}


/* Eleganter Cookie Banner */
.cookie-banner{
  position:fixed;
  bottom:20px;
  right:20px;
  max-width:280px;
  background:#111;
  color:#eee;
  padding:12px 14px;
  border-radius:14px;
  font-size:0.85rem;
  box-shadow:0 10px 30px rgba(0,0,0,.5);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  z-index:9999;
}
.cookie-buttons{
  display:flex;
  gap:8px;
}
.cookie-buttons button{
  padding:5px 10px;
  border:none;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
  font-size:0.8rem;
}
.cookie-buttons button:first-child{
  background:#ffd400;
  color:#000;
}
.cookie-buttons button:last-child{
  background:#333;
  color:#eee;
}


.memberBtn{
  margin-left:20px;
  padding:8px 14px;
  border-radius:999px;
  background:#ffd400;
  color:#111;
  font-weight:900;
  text-decoration:none;
  transition:.2s;
}
.memberBtn:hover{background:#ffea70;}


.memberBtnHero{
  display:inline-block;
  margin-top:10px;
  padding:10px 18px;
  border-radius:999px;
  background:#ffd400;
  color:#111;
  font-weight:900;
  text-decoration:none;
  transition:.2s;
}
.memberBtnHero:hover{background:#ffea70;}


/* Mitglied werden Button (unter Nächster Termin) */
.nextBadge .memberBtnHero{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:10px;
  padding:10px 16px;
  border-radius:999px;
  background: var(--yellow);
  color:#111;
  font-weight:900;
  text-decoration:none;
  width: fit-content;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.nextBadge .memberBtnHero:hover{
  background: var(--yellow2);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
}


/* ===== MOBILE FIX: Header & Nächster Termin ===== */
@media (max-width: 768px){
  header{
    min-height: 60vh;
    padding-top: 80px;
  }

  .nextBadge{
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 20px auto 0;
    width: calc(100% - 40px);
    text-align: center;
  }

  .nextBadge h3{
    font-size: 1rem;
  }

  .nextBadge .memberBtnHero{
    display:inline-block;
    margin-top:12px;
  }
}

@media (max-width: 480px){
  header{
    min-height: 70vh;
  }

  .nextBadge{
    font-size: 0.9rem;
    padding: 14px;
  }
}


/* ===== FINAL MOBILE FIX ===== */
@media (max-width: 900px){
  .nextBadge{
    position: static !important;
    transform: none !important;
    margin: 16px auto;
    width: 90%;
    max-width: 420px;
  }

  header{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    padding-top:100px;
  }
}


/* ===== MOBILE NAV ===== */
.navToggle{
  display:none;
  border:1px solid rgba(255,212,0,.22);
  background: rgba(255,212,0,.10);
  color: var(--yellow2);
  font-weight: 900;
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
  line-height: 1;
}
@media (max-width: 820px){
  .navInner{ gap: 12px; }
  .navToggle{ display:inline-flex; align-items:center; justify-content:center; }
  .menu{
    position:absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display:none;
    flex-direction:column;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(10,10,15,.92);
    border: 1px solid rgba(255,212,0,.18);
    backdrop-filter: blur(10px);
  }
  .nav.isOpen .menu{ display:flex; }
  .menu a{
    padding: 10px 12px;
    border-radius: 12px;
  }
}



/* Cookie Banner: sicher klickbar */
.cookie-banner, .cookie-banner *{ pointer-events:auto; }


/* --- Große Bildvorschau / Lightbox --- */
body.lightbox-open{overflow:hidden;}
.gallery-lightbox{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:28px;background:rgba(0,0,0,.88);}
.gallery-lightbox.is-open{display:flex;}
.gallery-lightbox-img{max-width:min(1100px,92vw);max-height:86vh;object-fit:contain;border-radius:18px;box-shadow:0 24px 80px rgba(0,0,0,.75);}
.gallery-lightbox-close,.gallery-lightbox-prev,.gallery-lightbox-next{position:absolute;border:none;cursor:pointer;color:#fff;background:rgba(0,0,0,.45);border:1px solid rgba(255,212,0,.28);transition:background .18s ease,transform .18s ease;}
.gallery-lightbox-close:hover,.gallery-lightbox-prev:hover,.gallery-lightbox-next:hover{background:rgba(255,212,0,.22);}
.gallery-lightbox-close{top:18px;right:22px;width:46px;height:46px;border-radius:999px;font-size:34px;line-height:1;}
.gallery-lightbox-prev,.gallery-lightbox-next{top:50%;transform:translateY(-50%);width:48px;height:64px;border-radius:16px;font-size:34px;}
.gallery-lightbox-prev{left:22px;}
.gallery-lightbox-next{right:22px;}
@media (max-width:600px){.gallery-lightbox{padding:18px}.gallery-lightbox-img{max-width:94vw;max-height:78vh}.gallery-lightbox-prev,.gallery-lightbox-next{width:40px;height:54px;font-size:28px}.gallery-lightbox-prev{left:10px}.gallery-lightbox-next{right:10px}}

/* --- Adminbereich --- */
.admin-page{min-height:100vh;background:radial-gradient(circle at top, rgba(255,212,0,.18), transparent 34%), #09090d;color:#fff;}
.admin-shell{width:min(1180px, calc(100% - 32px));margin:0 auto;padding:38px 0 56px;}
.admin-card{background:rgba(18,18,24,.92);border:1px solid rgba(255,212,0,.22);border-radius:24px;padding:24px;box-shadow:0 18px 50px rgba(0,0,0,.35);}
.admin-login{max-width:440px;margin:6vh auto;text-align:center;}
.admin-logo{width:96px;height:96px;object-fit:contain;margin:0 auto 14px;display:block;}
.admin-muted{color:rgba(255,255,255,.72);line-height:1.55;}
.admin-form{display:grid;gap:14px;text-align:left;margin-top:18px;}
.admin-form label{display:grid;gap:7px;font-weight:800;color:rgba(255,255,255,.86);}
.admin-form input{width:100%;box-sizing:border-box;border-radius:14px;border:1px solid rgba(255,212,0,.28);background:rgba(255,255,255,.06);color:#fff;padding:12px 14px;font:inherit;outline:none;}
.admin-form input:focus{border-color:var(--yellow2, #ffd400);box-shadow:0 0 0 3px rgba(255,212,0,.14);}
.admin-primary,.admin-secondary{border-radius:14px;padding:12px 16px;font-weight:900;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,212,0,.34);}
.admin-primary{background:var(--yellow2,#ffd400);color:#111;border-color:var(--yellow2,#ffd400);}
.admin-secondary{background:rgba(255,212,0,.08);color:#fff;}
.admin-error{color:#ff8c8c;font-weight:800;margin:0;text-align:center;}
.admin-back{display:inline-block;margin-top:18px;color:var(--yellow2,#ffd400);font-weight:800;text-decoration:none;}
.admin-topbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px;}
.admin-topbar h1{margin:0;font-size:clamp(2rem,5vw,3.7rem);}
.admin-kicker{margin:0 0 6px;color:var(--yellow2,#ffd400);font-weight:950;text-transform:uppercase;letter-spacing:.08em;}
.admin-actions{display:flex;gap:10px;flex-wrap:wrap;}
.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.admin-grid .admin-card:last-child{grid-column:1 / -1;}
.admin-list{display:grid;gap:10px;margin:16px 0;}
.admin-list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.04);border-radius:16px;padding:12px;}
.admin-list-item button{border:0;border-radius:10px;padding:8px 10px;background:rgba(255,80,80,.16);color:#ffd0d0;font-weight:800;cursor:pointer;}
.admin-form.compact{grid-template-columns:repeat(2,minmax(0,1fr));}
.admin-form.compact button{grid-column:1 / -1;}
.admin-secondary.wide{width:100%;margin-top:12px;}
.admin-help{color:rgba(255,255,255,.76);line-height:1.8;}
.admin-help code{background:rgba(255,255,255,.08);padding:3px 6px;border-radius:7px;color:var(--yellow2,#ffd400);}
@media (max-width:760px){.admin-topbar{align-items:flex-start;flex-direction:column}.admin-grid{grid-template-columns:1fr}.admin-form.compact{grid-template-columns:1fr}.admin-actions{width:100%}.admin-actions>*{flex:1}}

.admin-details{
  margin-top: 12px;
}
.admin-details summary{
  cursor: pointer;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}
.admin-image-item span{
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-image-item img{
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
}

#galleryUploadStatus{
  margin: 4px 0 0;
}

.admin-card-wide{
  grid-column: 1 / -1;
}
.admin-editor-label{
  display:block;
  margin:18px 0 8px;
  font-weight:900;
  color:var(--yellow2);
}
.admin-editor{
  width:100%;
  min-height:260px;
  resize:vertical;
  border-radius:14px;
  border:1px solid rgba(255,212,0,.22);
  background:rgba(0,0,0,.24);
  color:var(--text);
  padding:14px;
  font:14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.legal-actions{
  margin-top:14px;
  justify-content:flex-start;
}


.admin-success{
  border:1px solid rgba(74,222,128,.35);
  background:rgba(74,222,128,.12);
  color:#bbf7d0;
  border-radius:14px;
  padding:12px 14px;
  font-weight:800;
}
.admin-list-item form{
  margin:0;
}
.admin-list-item button{
  cursor:pointer;
}
.admin-card-wide{
  grid-column:1 / -1;
}
.admin-editor-label{
  display:block;
  margin:18px 0 8px;
  font-weight:900;
  color:var(--yellow2);
}
.admin-editor{
  width:100%;
  min-height:280px;
  resize:vertical;
  border-radius:14px;
  border:1px solid rgba(255,212,0,.22);
  background:rgba(0,0,0,.24);
  color:var(--text);
  padding:14px;
  font:14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.admin-image-item span{
  display:flex;
  align-items:center;
  gap:10px;
}
.admin-image-item img{
  width:52px;
  height:52px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid rgba(255,212,0,.18);
}


.gallery-filters{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin: 0 auto 20px;
  width:min(1100px,92vw);
}
.gallery-filter{
  border:1px solid rgba(255,212,0,.24);
  background:rgba(255,212,0,.08);
  color:var(--text);
  border-radius:999px;
  padding:9px 14px;
  font-weight:900;
  cursor:pointer;
}
.gallery-filter.active,
.gallery-filter:hover{
  background:var(--yellow);
  color:#111;
}
.admin-subtitle{
  margin:18px 0 8px;
  color:var(--yellow2);
}
.admin-form select{
  width:100%;
  border:1px solid rgba(255,212,0,.22);
  background:rgba(0,0,0,.24);
  color:var(--text);
  border-radius:14px;
  padding:12px 14px;
  font:inherit;
}


.admin-inline-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.admin-move-form{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.admin-move-form select{
  min-width:160px;
}
.admin-image-move-item{
  align-items:flex-start;
}


.admin-category-item{
  align-items:flex-start;
}
.admin-category-form{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.admin-category-form input,
.admin-category-form select{
  min-width:170px;
}


.gallery-pager{
  width:min(1100px,92vw);
  margin:22px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.gallery-page-btn{
  border:1px solid rgba(255,212,0,.28);
  background:rgba(255,212,0,.10);
  color:var(--text);
  border-radius:999px;
  padding:10px 16px;
  font-weight:900;
  cursor:pointer;
}
.gallery-page-btn:hover:not(:disabled){
  background:var(--yellow);
  color:#111;
}
.gallery-page-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.gallery-page-info{
  color:var(--muted);
  font-weight:900;
}


.admin-image-item img[title]{
  cursor: help;
}


/* News */
.news-section{
  padding:70px 0;
}
.section-head{
  margin-bottom:22px;
}
.section-kicker{
  margin:0 0 6px;
  color:var(--yellow2);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.35px;
  font-size:13px;
}
.news-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:34px;
}
.news-card{
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
  padding:0;
}
.news-content{
  padding:0;
}
.news-content h3{
  margin:0 0 5px;
  color:var(--yellow2);
  font-size:24px;
  line-height:1.2;
}
.news-content time{
  display:block;
  margin:0 0 12px;
  color:var(--muted);
  font-size:13px;
  font-weight:900;
}
.news-excerpt{
  margin:0 0 10px;
  color:var(--text);
  font-weight:800;
}
.news-body{
  margin:0 0 14px;
  color:var(--muted);
  font-weight:650;
}
.news-image-wrap{
  width:100%;
  margin:16px auto 0;
  background:transparent;
  text-align:center;
}
.news-image{
  width:100%;
  max-width:520px;
  max-height:520px;
  height:auto;
  object-fit:contain;
  display:block;
  margin:0 auto;
  border-radius:12px;
}
@media (max-width:640px){
  .news-image{
    max-width:100%;
    max-height:420px;
  }
}

.admin-news-item span{
  display:flex;
  align-items:center;
  gap:10px;
}
.admin-news-item img{
  width:64px;
  height:52px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid rgba(255,212,0,.18);
}
.admin-news-form{
  grid-template-columns:1fr 180px;
}
.admin-news-textarea{
  min-height:140px;
  grid-column:1 / -1;
}
.admin-news-form input[type="file"],
.admin-news-form button{
  grid-column:auto;
}
@media (max-width: 720px){
  .admin-news-form{grid-template-columns:1fr;}
}


/* Admin Besucherstatistik */
.stats-summary{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:14px;
  margin:18px 0 8px;
}
.stats-box{
  border:1px solid rgba(255,212,0,.22);
  background:rgba(255,212,0,.08);
  border-radius:18px;
  padding:16px;
}
.stats-box span{
  display:block;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
  margin-bottom:6px;
}
.stats-box strong{
  display:block;
  color:var(--yellow2);
  font-size:26px;
  line-height:1.1;
}
.stats-country-row strong,
.stats-daily-row strong{
  color:var(--yellow2);
  font-size:22px;
}
.stats-daily-list{
  margin-bottom:18px;
}
.stats-country-row small{
  color:var(--muted);
  font-weight:800;
}
@media (max-width:760px){
  .stats-summary{grid-template-columns:1fr;}
}

.admin-application-item{align-items:flex-start;}
.admin-application-item span{line-height:1.65;}
.admin-application-item small{display:inline-block;margin-left:8px;color:var(--muted);font-weight:700;}
.admin-application-item b{color:var(--text);}


.admin-application-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  min-width:150px;
}
.admin-mail-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  padding:8px 10px;
  background:var(--yellow2,#ffd400);
  color:#111;
  font-weight:900;
  text-decoration:none;
  white-space:nowrap;
}
.admin-mail-btn:hover{filter:brightness(.95);}
@media (max-width:760px){
  .admin-application-item{flex-direction:column;align-items:stretch;}
  .admin-application-actions{align-items:stretch;}
}

.application-status{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:3px 9px;
  font-size:.82rem;
  font-weight:900;
  background:#eee;
  color:#111;
}
.application-status-offen{background:#fff3bf;color:#5c4500;}
.application-status-angenommen{background:#d3f9d8;color:#0b5d1e;}
.application-status-abgelehnt{background:#ffe3e3;color:#8a1111;}
.status-form{
  display:flex;
  flex-direction:column;
  gap:6px;
  width:100%;
}
.status-form textarea{
  width:100%;
  min-width:190px;
  border:1px solid rgba(0,0,0,.18);
  border-radius:10px;
  padding:8px;
  font:inherit;
  resize:vertical;
}
.status-form .accept-btn{background:#2f9e44;color:#fff;}
.status-form .reject-btn{background:#c92a2a;color:#fff;}
.admin-export-btn{margin:6px 0 10px 0;}

.mail-error {
  color: #b00020;
  font-weight: 700;
}

/* Modernes Admin-Dashboard */
.dashboard-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start;}
.dashboard-sidebar{position:sticky;top:18px;display:grid;gap:8px;background:rgba(18,18,24,.82);border:1px solid rgba(255,212,0,.18);border-radius:24px;padding:14px;box-shadow:0 18px 50px rgba(0,0,0,.25);}
.dashboard-sidebar a{color:rgba(255,255,255,.82);text-decoration:none;font-weight:900;border-radius:14px;padding:11px 12px;background:rgba(255,255,255,.035);border:1px solid transparent;}
.dashboard-sidebar a:hover{color:#111;background:var(--yellow2,#ffd400);border-color:var(--yellow2,#ffd400);}
.dashboard-content{display:grid;gap:18px;min-width:0;}
.dashboard-hero{display:flex;justify-content:space-between;gap:22px;align-items:center;overflow:hidden;position:relative;background:linear-gradient(135deg,rgba(255,212,0,.20),rgba(18,18,24,.95) 48%,rgba(0,0,0,.75));}
.dashboard-hero:after{content:"";position:absolute;right:-60px;top:-80px;width:220px;height:220px;border-radius:999px;background:rgba(255,212,0,.18);filter:blur(4px);}
.dashboard-hero h2{font-size:clamp(1.8rem,3vw,3rem);line-height:1.05;margin:.1rem 0 .6rem;}
.dashboard-quick-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;position:relative;z-index:1;}
.dashboard-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.dashboard-metric{display:grid;gap:6px;text-decoration:none;color:#fff;background:rgba(18,18,24,.92);border:1px solid rgba(255,212,0,.22);border-radius:22px;padding:18px;box-shadow:0 12px 34px rgba(0,0,0,.25);transition:transform .18s ease,border-color .18s ease,background .18s ease;}
.dashboard-metric:hover{transform:translateY(-2px);border-color:rgba(255,212,0,.75);background:rgba(255,212,0,.08);}
.dashboard-metric span{color:rgba(255,255,255,.72);font-weight:850;}
.dashboard-metric strong{font-size:clamp(2rem,4vw,3.3rem);line-height:1;color:var(--yellow2,#ffd400);}
.dashboard-metric small{color:rgba(255,255,255,.62);font-weight:750;}
.dashboard-panels{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:14px;}
.dashboard-panel h2{margin-top:0;font-size:1.2rem;}
.dashboard-task-list,.dashboard-mini-list{display:grid;gap:10px;}
.dashboard-task-list a,.dashboard-mini-list a{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:12px;background:rgba(255,255,255,.04);}
.dashboard-task-list a:hover,.dashboard-mini-list a:hover{border-color:rgba(255,212,0,.5);background:rgba(255,212,0,.07);}
.dashboard-task-list strong{font-size:1.6rem;color:var(--yellow2,#ffd400);}
.dashboard-task-list span,.dashboard-mini-list span{color:rgba(255,255,255,.7);font-weight:700;}
.dashboard-mini-list a{align-items:flex-start;flex-direction:column;}
.dashboard-section{scroll-margin-top:22px;}
.dashboard-section h2{display:flex;align-items:center;gap:10px;margin-top:0;}
.dashboard-section h2:before{content:"";width:10px;height:28px;border-radius:999px;background:var(--yellow2,#ffd400);display:inline-block;}
.admin-grid{align-items:start;}
.admin-card{backdrop-filter:blur(10px);}
.admin-list-item{transition:border-color .18s ease,background .18s ease;}
.admin-list-item:hover{border-color:rgba(255,212,0,.28);background:rgba(255,255,255,.065);}
@media (max-width:980px){.dashboard-layout{grid-template-columns:1fr}.dashboard-sidebar{position:relative;top:auto;display:flex;overflow:auto;white-space:nowrap}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-panels{grid-template-columns:1fr}.dashboard-hero{align-items:flex-start;flex-direction:column}.dashboard-quick-actions{justify-content:flex-start}}
@media (max-width:620px){.dashboard-metrics{grid-template-columns:1fr}.dashboard-sidebar{margin-inline:-4px}.dashboard-quick-actions>*{width:100%}}

/* Shop */
.shop-section{
  padding:70px 0;
  background:linear-gradient(180deg, rgba(255,212,0,.05), transparent 70%);
}
.shop-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:22px;
}
.shop-card{
  border:1px solid rgba(255,212,0,.22);
  background:rgba(255,255,255,.045);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,0,0,.22);
}
.shop-image-wrap,
.shop-image-placeholder{
  aspect-ratio:4 / 3;
  background:rgba(255,212,0,.08);
  display:grid;
  place-items:center;
}
.shop-image-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.shop-image-placeholder{
  color:var(--yellow2);
  font-size:42px;
  font-weight:950;
  letter-spacing:.08em;
}
.shop-content{
  padding:18px;
}
.shop-content h3{
  margin:0 0 8px;
  color:var(--yellow2);
  font-size:22px;
}
.shop-price{
  display:inline-flex;
  margin-bottom:10px;
  font-size:24px;
  color:var(--text);
}
.shop-content p{
  margin:0 0 16px;
  color:var(--muted);
  font-weight:650;
  line-height:1.55;
}
.shop-contact{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:10px 14px;
  background:var(--yellow2,#ffd400);
  color:#111;
  font-weight:950;
  text-decoration:none;
}
.shop-status-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border:1px solid rgba(255,212,0,.22);
  background:rgba(255,255,255,.04);
  border-radius:18px;
  padding:16px;
  margin:16px 0;
}
.shop-status-box span{color:var(--muted);font-weight:800;}
.shop-status-box strong{color:var(--yellow2);font-size:24px;}
.shop-status-box.is-active{border-color:rgba(74,222,128,.38);background:rgba(74,222,128,.08);}
.admin-shop-item{align-items:flex-start;}
.admin-shop-item > span{display:flex;gap:12px;align-items:center;}
.admin-shop-item img{
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(255,212,0,.18);
}
.admin-shop-item small{color:var(--muted);font-weight:800;}
.admin-shop-form textarea{grid-column:1 / -1;}
.shop-check{display:flex!important;align-items:center;gap:10px;color:var(--muted)!important;font-weight:850!important;}
.shop-check input{width:auto!important;}
@media (max-width:760px){
  .shop-status-box{align-items:stretch;flex-direction:column;}
  .admin-shop-item{flex-direction:column;align-items:stretch;}
}

/* Shop 2.0: eigene Seite, kompakte Bilder, Warenkorb */
.shop-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:24px;
  align-items:start;
}
.shop-grid{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
}
.shop-card-modern{
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.03));
}
.shop-card-modern .shop-image-wrap,
.shop-card-modern .shop-image-placeholder{
  aspect-ratio:16 / 10;
  max-height:185px;
}
.shop-card-modern .shop-image-wrap img{
  object-fit:contain;
  padding:12px;
  background:rgba(255,255,255,.035);
}
.shop-title-line{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.shop-title-line h3{margin:0;font-size:20px;}
.shop-title-line .shop-price{margin:0;font-size:20px;white-space:nowrap;}
.shop-meta{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px;}
.stock-badge{
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(74,222,128,.35);
  background:rgba(74,222,128,.09);
  color:#b7f7c8;
  border-radius:999px;
  padding:6px 10px;
  font-size:13px;
  font-weight:900;
}
.stock-badge.is-empty{border-color:rgba(248,113,113,.35);background:rgba(248,113,113,.08);color:#fecaca;}
.shop-contact{border:0;cursor:pointer;width:100%;}
.shop-contact:disabled{opacity:.55;cursor:not-allowed;background:rgba(255,255,255,.2);color:rgba(255,255,255,.72);}
.cart-panel{
  position:sticky;
  top:18px;
  border:1px solid rgba(255,212,0,.18);
  border-radius:24px;
  background:rgba(16,16,24,.9);
  box-shadow:0 20px 55px rgba(0,0,0,.25);
  padding:18px;
}
.cart-panel-head,.cart-total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.cart-panel-head{padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08);}
.cart-items{display:grid;gap:10px;margin:14px 0;}
.cart-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  border-radius:16px;
  padding:10px;
}
.cart-row strong{display:block;color:#fff;}
.cart-row small{display:block;color:var(--muted);font-weight:750;margin-top:3px;}
.cart-row-actions{display:flex;align-items:center;gap:6px;}
.cart-row-actions button{
  width:30px;height:30px;border-radius:10px;border:1px solid rgba(255,212,0,.18);background:rgba(255,212,0,.08);color:var(--yellow2);font-weight:950;cursor:pointer;
}
.cart-total{font-size:18px;font-weight:950;padding:14px 0;border-top:1px solid rgba(255,255,255,.08);}
.cart-form{display:grid;gap:10px;}
.cart-form.is-disabled{opacity:.72;}
.cart-form input,.cart-form textarea{
  width:100%;border:1px solid rgba(255,212,0,.16);background:rgba(255,255,255,.06);color:#fff;border-radius:14px;padding:12px;font:inherit;font-weight:750;
}
.cart-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.cart-hint,.cart-feedback{margin:0;color:var(--muted);font-size:13px;font-weight:750;line-height:1.45;}
.cart-submit{border:0;border-radius:999px;background:var(--yellow2,#ffd400);color:#111;padding:12px 16px;font-weight:950;cursor:pointer;}
.shop-orders-list{gap:14px;}
.shop-order-card{align-items:flex-start;}
.shop-order-main{display:grid;gap:8px;min-width:0;}
.shop-order-main small{color:var(--muted);font-weight:800;}
.shop-order-contact{display:flex;gap:8px;flex-wrap:wrap;}
.shop-order-contact a{border:1px solid rgba(255,212,0,.18);border-radius:999px;padding:7px 10px;color:var(--yellow2);text-decoration:none;font-weight:900;background:rgba(255,212,0,.07);}
.shop-order-items{margin:0;padding-left:18px;color:rgba(255,255,255,.86);font-weight:750;}
.shop-order-items span{color:var(--muted);}
.shop-order-actions{align-items:flex-end;}
.shop-order-actions select{border:1px solid rgba(255,212,0,.18);background:rgba(17,17,22,.9);color:#fff;border-radius:12px;padding:10px;font-weight:800;}
@media (max-width:980px){.shop-layout{grid-template-columns:1fr}.cart-panel{position:relative;top:auto;}}
@media (max-width:620px){.cart-row{align-items:flex-start;flex-direction:column}.cart-form-grid{grid-template-columns:1fr}.shop-title-line{flex-direction:column}.shop-card-modern .shop-image-wrap,.shop-card-modern .shop-image-placeholder{max-height:155px}.shop-order-card{flex-direction:column}.shop-order-actions{align-items:stretch;width:100%;}.shop-order-actions form{width:100%;}.shop-order-actions select,.shop-order-actions button{width:100%;}}
.shop-stock-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.shop-stock-form input{width:92px!important;border:1px solid rgba(255,212,0,.18);background:rgba(255,255,255,.06);color:#fff;border-radius:12px;padding:9px;font-weight:850;}
.shop-payment-reference{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;padding:7px 10px;border:1px solid rgba(255,212,0,.2);border-radius:12px;background:rgba(255,212,0,.08);color:var(--yellow2);font-weight:900;word-break:break-word;}

/* Shop Lesbarkeit & Darstellung verbessert */
.shop-page-hero{
  background:linear-gradient(135deg, rgba(255,212,0,.13), rgba(18,18,24,.96) 42%, rgba(0,0,0,.94))!important;
  border-color:rgba(255,212,0,.28)!important;
}
.shop-page-hero h1{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.45);}
.shop-page-hero p{color:rgba(255,255,255,.86)!important;line-height:1.65;}
.shop-layout{gap:28px;}
.shop-grid{
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:24px;
}
.shop-card-modern{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,212,0,.32)!important;
  background:linear-gradient(180deg, rgba(24,24,30,.98), rgba(9,9,12,.96))!important;
  box-shadow:0 22px 60px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.08);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.shop-card-modern:hover{
  transform:translateY(-3px);
  border-color:rgba(255,212,0,.58)!important;
  box-shadow:0 28px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,212,0,.08);
}
.shop-card-modern .shop-image-wrap,
.shop-card-modern .shop-image-placeholder{
  aspect-ratio:1 / 1;
  max-height:240px;
  margin:14px 14px 0;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,212,0,.16);
  background:radial-gradient(circle at 50% 35%, rgba(255,212,0,.2), rgba(255,255,255,.05) 48%, rgba(0,0,0,.28));
}
.shop-card-modern .shop-image-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:16px;
  background:transparent;
}
.shop-card-modern .shop-content{padding:18px 18px 20px;}
.shop-title-line{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin-bottom:12px;
}
.shop-title-line h3{
  color:#fff!important;
  font-size:22px;
  line-height:1.2;
  letter-spacing:-.02em;
  text-shadow:0 1px 10px rgba(0,0,0,.35);
}
.shop-title-line .shop-price{
  width:max-content;
  border-radius:999px;
  padding:7px 12px;
  background:var(--yellow2,#ffd400);
  color:#111!important;
  font-size:18px;
  font-weight:950;
  box-shadow:0 10px 24px rgba(255,212,0,.14);
}
.shop-content p{
  color:rgba(255,255,255,.84)!important;
  font-size:15px;
  line-height:1.62;
  font-weight:700;
  margin-bottom:16px;
}
.shop-meta{margin-bottom:16px;}
.stock-badge{
  color:#111!important;
  background:#b7f7c8!important;
  border-color:rgba(183,247,200,.7)!important;
  box-shadow:0 8px 20px rgba(74,222,128,.12);
}
.stock-badge.is-empty{
  color:#111!important;
  background:#fecaca!important;
  border-color:rgba(254,202,202,.7)!important;
}
.shop-contact{
  min-height:46px;
  border-radius:16px!important;
  box-shadow:0 12px 26px rgba(255,212,0,.18);
  transition:transform .16s ease, filter .16s ease;
}
.shop-contact:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.04);}
.cart-panel{
  background:linear-gradient(180deg, rgba(24,24,30,.98), rgba(10,10,14,.98))!important;
  border-color:rgba(255,212,0,.28)!important;
}
.cart-panel-head strong,.cart-total strong{color:var(--yellow2,#ffd400);}
.cart-row{background:rgba(255,255,255,.06);border-color:rgba(255,212,0,.12);}
.cart-row strong{color:#fff!important;}
.cart-row small{color:rgba(255,255,255,.68)!important;}
.cart-form input,.cart-form textarea{
  background:rgba(255,255,255,.09)!important;
  border-color:rgba(255,212,0,.24)!important;
  color:#fff!important;
}
.cart-form input::placeholder,.cart-form textarea::placeholder{color:rgba(255,255,255,.55);}
.cart-hint,.cart-feedback,.note{color:rgba(255,255,255,.76)!important;}
@media (max-width:620px){
  .shop-grid{grid-template-columns:1fr;gap:18px;}
  .shop-card-modern .shop-image-wrap,.shop-card-modern .shop-image-placeholder{max-height:220px;}
  .shop-card-modern .shop-content{padding:16px;}
  .shop-title-line h3{font-size:20px;}
}
