:root{
  --bg:#0b1020;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --text:#e9ecf5;
  --muted:rgba(233,236,245,.72);
  --line: rgba(255,255,255,.10);
  --accent:#7c5cff;
  --accent2:#19d3ff;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background: radial-gradient(900px 600px at 12% 10%, rgba(124,92,255,.22), transparent 60%),
              radial-gradient(900px 600px at 90% 30%, rgba(25,211,255,.18), transparent 55%),
              var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
.container{width:min(1120px, calc(100% - 32px)); margin:0 auto}

.topbar{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(12px);
  background: rgba(11,16,32,.55);
  border-bottom:1px solid var(--line);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}


.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .2px;
}

.brand__logo {
  width: 50px;
  height: 50px;
  display: block;
  object-fit: contain;
}

.brand--footer{margin-bottom:10px}

.nav{display:flex; align-items:center; gap:18px}
.nav a{opacity:.9}
.nav a:hover{opacity:1}
.nav__cta{
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.04);
}

.hero{position:relative; padding:64px 0 42px}
.hero__bg{
  position:absolute; inset:0;
  background: radial-gradient(800px 280px at 40% 0%, rgba(124,92,255,.16), transparent 55%);
  pointer-events:none;
}
.hero__grid{display:grid; gap:22px; grid-template-columns: 1.15fr .85fr; align-items:stretch}
.hero__copy h1{font-size: clamp(34px, 4vw, 54px); line-height:1.02; margin:14px 0 12px}
.grad{background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip:text; background-clip:text; color:transparent}
.lead{font-size: 1.05rem; color:var(--muted); max-width:56ch}

.pill{
  display:inline-flex; align-items:center;
  padding:8px 12px; border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid var(--line);
  font-size:.9rem; color:rgba(233,236,245,.86);
}

.hero__actions{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; padding:12px 16px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  box-shadow: none;
  cursor:pointer;
}
.btn:hover{transform: translateY(-1px)}
.btn--primary{
  border:none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;                 /* statt dunkel */
  font-weight: 800;
  box-shadow: 0 14px 40px rgba(124,92,255,.22);
}

.btn--primary:hover{
  filter: brightness(1.05);
}

.btn--wide{
  width: 100%;
  max-width: 260px;   /* wirkt deutlich edler */
}

.hero__card .btn--wide{ margin: 0 auto; }

.btn--soft{background: rgba(255,255,255,.06)}
.w100{width:100%}

.hero__stats{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
.stat{
  padding:12px 14px; border-radius:14px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  min-width:140px;
}
.stat__kpi{font-weight:800}
.stat__label{color:var(--muted); font-size:.9rem}

.hero__card .glass{
  padding: 22px;
background: linear-gradient(180deg, rgba(11,16,32,.72), rgba(11,16,32,.45));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 70px rgba(0,0,0,.45);
}

.hero__card .glass .btn{
  margin-top: 16px;
}

.btn__arrow{
  display:inline-block;
  transition: transform .18s ease;
  opacity: .95;
}
.btn--primary:hover .btn__arrow{
  transform: translateX(3px);
}



.section{padding:46px 0}
.section--alt{
  background: rgba(255,255,255,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section__head{margin-bottom:18px}
.section__head h2{margin:0 0 8px; font-size: clamp(24px, 2.4vw, 32px)}
.muted{color:var(--muted)}
.hint{color:rgba(233,236,245,.58); font-size:.92rem}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}

.card{
  padding:18px;
  border-radius: var(--radius);
  background: rgba(11,16,32,.62);          /* statt sehr hell/transparent */
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


.link{color: rgba(233,236,245,.92)}
.link:hover{color:white}

.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.ph{
  height:160px; border-radius:16px;
  border:1px dashed rgba(255,255,255,.22);
  background: rgba(255,255,255,.03);
  display:flex; align-items:center; justify-content:center;
  color:rgba(233,236,245,.55);
}

.checklist{list-style:none; padding:0; margin:12px 0 0}
.checklist li{padding-left:22px; margin:10px 0; position:relative; color:var(--muted)}
.checklist li:before{content:"✓"; position:absolute; left:0; color:rgba(233,236,245,.92)}

.form{display:grid; gap:12px; margin-top:14px}
label{display:grid; gap:8px; font-weight:600}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
textarea{resize:vertical}
input:focus, select:focus, textarea:focus{border-color: rgba(25,211,255,.55)}

.char{font-size:.85rem; color:rgba(233,236,245,.55); text-align:right}
.hp{position:absolute; left:-9999px; top:-9999px; height:0; width:0; overflow:hidden}

/* Select-Text im Feld */
select { 
  color: var(--text);
}

/* Dropdown-Liste (Optionen) lesbar machen */
select option {
  color: #111;       /* dunkel, damit es auf weißem Dropdown sichtbar ist */
  background: #fff;  /* Standard */
}


.alert{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.alert--ok{border-color: rgba(25,211,255,.35)}
.alert--bad{border-color: rgba(255,80,120,.35)}

.stack{display:grid; gap:12px}
.entry__top{display:flex; align-items:flex-start; justify-content:space-between; gap:12px}
.entry__name{font-weight:800}
.entry__stars{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace}
.entry__msg{color:rgba(233,236,245,.86); margin:12px 0 0}

.pagination{display:grid; grid-template-columns: 1fr auto 1fr; align-items:center; gap:12px; margin-top:14px}
.row{display:flex; gap:10px; flex-wrap:wrap}

.footer{padding:28px 0 18px; border-top:1px solid var(--line); background: rgba(0,0,0,.18)}
.footer__grid{display:flex; justify-content:space-between; align-items:flex-start; gap:16px}
.footer__links{display:flex; gap:14px; flex-wrap:wrap; opacity:.9}
.footer__bottom{margin-top:12px}

@media (max-width: 920px){
  .hero__grid{grid-template-columns: 1fr}
  .grid3{grid-template-columns: 1fr}
  .grid2{grid-template-columns: 1fr}
  .gallery{grid-template-columns: repeat(2, 1fr)}
}

.team{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.team__card{
  padding:18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.team__avatar{
  width:48px;
  height:48px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  background: linear-gradient(135deg, rgba(124,92,255,.35), rgba(25,211,255,.28));
  border:1px solid rgba(255,255,255,.14);
}

.team__name{font-weight:800}
.team__role{font-size:.92rem; margin-top:2px}
.team__txt{margin:10px 0 0; font-size:.95rem}

@media (max-width: 920px){
  .team{grid-template-columns: 1fr}
}

.notice{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(233,236,245,.92);
}

.notice--soft{
  background: rgba(255,255,255,.03);
}

.hours{
  border:1px solid var(--line);
  border-radius: 16px;
  overflow:hidden;
  background: rgba(255,255,255,.03);
}

.hours__row{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:12px;
  padding:12px 14px;
  border-top:1px solid rgba(255,255,255,.08);
}

.hours__row:first-child{border-top:none;}

@media (max-width: 520px){
  .hours__row{grid-template-columns: 1fr;}
}

/* Desktop + Mobile Nav */
.nav--desktop{display:flex; align-items:center; gap:18px}
.navbtn{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap:5px;
}
.navbtn span{
  display:block;
  width:18px;
  height:2px;
  background: rgba(233,236,245,.9);
  border-radius:2px;
}

/* Mobile Menü Panel */
.navpanel{
  display:none;
  border-top:1px solid var(--line);
  background: rgba(11,16,32,.72);
  backdrop-filter: blur(12px);
}
.navpanel__inner{
  padding:14px 0 18px;
  display:grid;
  gap:10px;
}
.navpanel a{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.navpanel a:hover{background: rgba(255,255,255,.06)}
.navpanel__cta{
  border:none !important;
  background: linear-gradient(135deg, var(--accent), var(--accent2)) !important;
  color:#0b1020 !important;
  font-weight:800;
}

.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}

@media (max-width: 920px){
  .gallery{ grid-template-columns: repeat(2, 1fr); }
}

.gimg{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  display:block;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.gimg img{
  width:100%;
  height:160px;      /* <- klein & einheitlich */
  object-fit:cover;
  display:block;
  transition: transform .2s ease;
}

.gimg:hover img{ transform: scale(1.03); }



/* Open State */
body.nav-open .navpanel{display:block;}
body.nav-open .navbtn span:nth-child(1){transform: translateY(7px) rotate(45deg);}
body.nav-open .navbtn span:nth-child(2){opacity:0;}
body.nav-open .navbtn span:nth-child(3){transform: translateY(-7px) rotate(-45deg);}
.navbtn span{transition: .18s ease}

/* Responsive */
@media (max-width: 920px){
  .nav--desktop{display:none;}
  .navbtn{display:flex;}
}
.pdfbox{
  position: relative;
  padding: 0;
  overflow: hidden;
}

.pdfbox__frame{
  width: 100%;
  height: min(78vh, 900px);
  border: 0;
  display: block;
}

/* Fallback nur anzeigen, wenn iframe nicht lädt – als einfache Always-Fallback Schicht für mobile */
.pdfbox__fallback{
  display: none;
  padding: 16px;
}

/* Optional: Auf sehr kleinen Geräten lieber Fallback + Button (PDF Einbettung ist dort oft meh) */
@media (max-width: 520px){
  .pdfbox__frame{ display:none; }
  .pdfbox__fallback{ display:block; }
}

.topbar__status{
  border-top:1px solid var(--line);
  background: rgba(11,16,32,.35);
  backdrop-filter: blur(10px);
}

.statusline{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:10px 0;
  flex-wrap:wrap;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(233,236,245,.92);
  font-size:.92rem;
  line-height:1;
  white-space:nowrap;
}

.badge__hint{ color: rgba(233,236,245,.68); }

.badge--ok{
  border-color: rgba(25,211,255,.35);
  background: rgba(25,211,255,.08);
}

.badge--bad{
  border-color: rgba(255,80,120,.35);
  background: rgba(255,80,120,.08);
}

.badge--soft{
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

@media (max-width: 920px){
  .topbar__status{ display:none; } /* optional: auf mobile ausblenden */
}

/* Fixed Background mit Crossfade */
.bgfx{
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bgfx__layer{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .7s ease, transform 1.2s ease;
}

/* leichter Dark Overlay, damit Text immer gut lesbar bleibt */
.bgfx::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 600px at 12% 10%, rgba(124,92,255,.10), transparent 60%),
    radial-gradient(900px 600px at 90% 30%, rgba(25,211,255,.08), transparent 55%),
    rgba(11,16,32,.82); /* war bei dir zu hell -> höher machen */
}


/* aktive Layer wirkt "näher" */
.bgfx__layer.is-active{
  opacity: 1;
  transform: scale(1.0);
}

/* optional: weniger Animation für Nutzer mit Reduced Motion */
@media (prefers-reduced-motion: reduce){
  .bgfx__layer{ transition:none; }
}

/* WICHTIG: Body-Hintergrund aus, damit bgfx sichtbar ist */
body{
  background: transparent !important;
}

/* bgfx muss ÜBER dem Body-Hintergrund liegen */
.bgfx{
  position: fixed;
  inset: 0;        
  pointer-events: none;
  overflow: hidden;
}

/* damit dein Content darüber liegt */
.topbar, main, footer{
  position: relative;
  z-index: 1;
}

/* Default Background Images (für alle Seiten) */
.bgfx__layer--a{ background-image: url("/assets/img/scroll1.jpg"); }
.bgfx__layer--b{ background-image: url("/assets/img/scroll2.jpg"); }

.tischplan{
  padding:16px;
}

.tischplan__link{
  display:block;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.tischplan__img{
  width:100%;
  height:auto;
  display:block;
}

.entry__images{
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* FESTER CONTAINER */
.entry__image{
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
}

/* BILD DARF NICHT MEHR WACHSEN */
.entry__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   Gästebuch Bilder
========================= */

.entry__images{
  display:flex;
  gap:8px;
  margin-top:10px;
  flex-wrap:wrap;
}

/* Klickbarer Thumbnail-Container */
.entry__thumb{
  width:80px;
  height:80px;
  flex:0 0 80px;
  border-radius:8px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
  display:block;
}

/* Thumbnail selbst */
.entry__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .2s ease;
}

/* Hover-Effekt */
.entry__thumb:hover img{
  transform: scale(1.05);
}

.modal{ position: fixed; inset:0; display:none; z-index: 9999; }
.modal.is-open{ display:block; }

.modal__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
}

.modal__card{
  position: relative;
  max-width: 520px;
  margin: 12vh auto 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(11,16,32,.72);
  box-shadow: 0 30px 120px rgba(0,0,0,.55);
  backdrop-filter: blur(12px);
}

.modal__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.modal__badge{
  font-weight:900;
  font-size:.85rem;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.modal__badge--live{
  border-color: rgba(25,211,255,.35);
  background: rgba(25,211,255,.10);
}

.modal__badge--soon{
  border-color: rgba(124,92,255,.35);
  background: rgba(124,92,255,.10);
}

.modal__close{
  width: 40px; height: 40px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(233,236,245,.92);
  cursor:pointer;
}

/* Root darf nicht selber einen Hintergrund drüber malen */
html, body{
  background: transparent !important;
}

/* bgfx MUSS hinter allem liegen */
.bgfx{
  position: fixed;
  inset: 0;
  z-index: -1;          /* <-- wichtig */
  pointer-events: none;
  overflow: hidden;
}

.eventhint{
  margin-top: 14px;
  max-width: 520px;                 /* wirkt gut im Hero */
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(11,16,32,.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 70px rgba(0,0,0,.38);
    position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
}

#event-hinweis .eventhint{
  width: 100%;
  max-width: 980px;   /* kannst du auf 520 lassen wenn du klein willst */
  margin: 0 auto;     /* zentriert im Container */
}

.eventhint__tag{
  display:inline-block;
  font-size:.82rem;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  margin-bottom:10px;
}

.eventhint__grid{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.eventhint__meta{
  min-width: 0;                     /* wichtig fürs saubere Wrapping */
}

.eventhint__title{
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.15;
  margin: 0 0 4px;
  word-break: normal;
  overflow-wrap: anywhere;          /* verhindert "t" alleine */
}

.eventhint__sub{
  line-height: 1.2;
  white-space: normal;
}

.eventhint__sep{
  margin: 0 8px;
  opacity: .6;
}

.btn--sm{
  padding: 9px 12px;
  font-size: .92rem;
  border-radius: 14px;
  white-space: nowrap;
}

/* wenn es eng wird -> Button unter Text */
@media (max-width: 520px){
  .eventhint{ max-width: 100%; }
  .eventhint__grid{ flex-direction: column; align-items:flex-start; }
}










