:root{
  --bg:#0b1220;
  --card:rgba(255,255,255,.08);
  --card2:rgba(255,255,255,.06);
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.72);
  --accent:#6ee7ff;
  --accent2:#a78bfa;
  --danger:#ff6b6b;
  --ok:#43f08a;
  --border:rgba(255,255,255,.14);
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background: var(--bg);
}

a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}

.container{
  width:min(1100px, calc(100% - 32px));
  margin:0 auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:30;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.72);
  border-bottom:1px solid var(--border);
}

.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{display:flex;align-items:center;gap:10px}
.logo{font-size:22px}
.brand-title{font-weight:700}

.nav{display:flex;gap:16px;align-items:center}
.nav a{color:var(--text);opacity:.92}
.nav a:hover{opacity:1}

.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
  border-radius:12px;
  padding:8px 10px;
}

@media (max-width: 820px){
  .nav{display:none; position:absolute; right:16px; top:62px; flex-direction:column; padding:12px; background:rgba(11,18,32,.95); border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow)}
  .nav.is-open{display:flex}
  .nav-toggle{display:inline-block}
}

.hero{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--border);
}

.hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:.18;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.05);
}

.hero-content{
  position:relative;
  padding:64px 0 44px;
}

h1{font-size: clamp(30px, 4vw, 54px); margin:0 0 10px}
.lead{font-size: 18px; color:var(--muted); margin:0 0 20px; max-width: 60ch}

.hero-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin:20px 0 18px;
}
@media (max-width: 820px){
  .hero-cards{grid-template-columns:1fr}
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px 14px;
  box-shadow: 0 10px 35px rgba(0,0,0,.25);
}
.card-title{color:var(--muted); font-size:13px}
.card-value{font-size:18px; margin-top:6px}

.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top: 6px}
.hint{margin-top:14px; color:var(--muted); font-size:13px}

.section{padding:54px 0}
.section-alt{
  background: transparent;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
h2{font-size: 28px; margin:0 0 14px}
h3{margin:0 0 10px}
.small{font-size:13px}
.muted{color:var(--muted)}

.grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:16px;
}
@media (max-width: 980px){
  .grid{grid-template-columns:1fr}
}

.panel{
  background:var(--card2);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.panel ul{margin:10px 0 0; padding-left: 18px; color:var(--muted)}
.panel li{margin:6px 0}

.image-row{
  margin-top:16px;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
}
.image-row img{display:block; width:100%; height:auto}

.map-wrap{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  background: rgba(0,0,0,.15);
  box-shadow: var(--shadow);
}
.map-wrap iframe{
  width:100%;
  height: 480px;
  border:0;
}
@media (max-width: 820px){
  .map-wrap iframe{height: 360px}
}
.map-actions{margin-top:12px}

.btn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding:10px 14px;
  border-radius: 14px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:600;
}
.btn:hover{filter:brightness(1.06)}
.btn-primary{
  background: linear-gradient(135deg, rgba(110,231,255,.26), rgba(167,139,250,.26));
  border-color: rgba(110,231,255,.38);
}
.btn-secondary{
  background: rgba(255,255,255,.06);
}
.btn-ghost{
  background: transparent;
}

.footer{
  padding:22px 0;
  border-top:1px solid var(--border);
  background: rgba(0,0,0,.12);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items:center;
}
@media (max-width: 820px){
  .footer-grid{grid-template-columns:1fr}
}

.flash{
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
}
.flash.success{border-color: rgba(67,240,138,.35)}
.flash.error{border-color: rgba(255,107,107,.35)}

.notice{
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
}
.notice.warn{border-color: rgba(255,107,107,.35)}

.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index: 80;
	  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal.is-open{display:block}
.modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
}
.modal-dialog{
  position:relative;
  width:min(760px, calc(100% - 32px));
  margin: 60px auto;
  background: rgba(11,18,32,.98);
  border:1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow:hidden;
	  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
}
@media (max-width: 820px){
  .modal-dialog{
    margin: 8px auto;
    max-height: calc(100dvh - 16px);
  }
	
}
.modal-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:16px 16px;
  border-bottom:1px solid var(--border);
}
.modal-title{font-weight:800; font-size:18px}
.modal-subtitle{color:var(--muted); font-size:13px; margin-top:4px}
.icon-btn{
  background: transparent;
  border:1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 6px 10px;
  cursor:pointer;
}
.modal-body{
	padding:16px;
	overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-footer{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding: 0 16px 16px;
}

.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 820px){
  .form-grid{grid-template-columns:1fr}
}
label span{display:block; font-size:13px; color:var(--muted); margin-bottom:6px}
input, textarea{
  width:100%;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  padding:10px 12px;
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(110,231,255,.45)}
.col-span-2{grid-column: span 2}
@media (max-width: 820px){
  .col-span-2{grid-column:auto}
}
.checkbox{display:flex; gap:10px; align-items:flex-start}
.checkbox input{width:auto; margin-top:4px}
.hp{position:absolute; left:-9999px; top:-9999px; opacity:0; height:0; width:0}

.no-scroll{overflow:hidden}

.legal h1{font-size:34px}
.legal h2{margin-top:22px}
.legal p, .legal li{color: var(--muted); line-height:1.6}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;

  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(110,231,255,.18), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(167,139,250,.18), transparent 55%),
    var(--bg);
}

/* Stand-Tabelle */

.table-wrap{
  margin-top:20px;
  overflow-x:auto;
  border-radius:18px;
  border:1px solid var(--border);
  backdrop-filter: blur(8px);
}

.stands-table{
  width:100%;
  border-collapse:collapse;
  min-width:700px;
}

.stands-table thead{
  background:rgba(255,255,255,.06);
}

.stands-table th{
  text-align:left;
  padding:14px 16px;
  font-weight:700;
  border-bottom:1px solid var(--border);
}

.stands-table td{
  padding:14px 16px;
  vertical-align:top;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.stands-table tr:hover{
  background:rgba(255,255,255,.04);
}

.stands-table td:nth-child(1){
  width:220px;
  font-weight:600;
}

.stands-table td:nth-child(2){
  width:320px;
}

.stands-table td:nth-child(3){
  width:260px;
  color:var(--muted);
}
.pager{
  margin-top:14px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.pager-info{
  color: var(--muted);
  font-size: 13px;
}

.is-disabled{
  opacity: .45;
  pointer-events: none;
}
/* Slide-out PayPal Button (rechts) */
.slideout-paypal{
  position: fixed;
  right: 0;
  top: 55%;
  transform: translateY(-50%) translateX(110px); /* versteckt Text */
  z-index: 60;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 16px 0 0 16px;

  border: 1px solid var(--border);
  background: rgba(255,255,255,.08);
  color: var(--text);

  text-decoration: none;
  box-shadow: var(--shadow);

  transition: transform .2s ease, filter .2s ease;
}

.slideout-paypal:hover,
.slideout-paypal:focus-visible{
  transform: translateY(-50%) translateX(0); /* fährt raus */
  filter: brightness(1.08);
}

.slideout-icon{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 18px;
}

.slideout-text{
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  padding-right: 6px;
}

/* Mobile: etwas weniger weit verstecken, damit man es leichter trifft */
@media (max-width: 820px){

  .slideout-paypal{
    position: fixed;
    right: 0;
    top: 60%;
    transform: translateY(-50%) translateX(24px); /* weniger versteckt */
    padding: 8px 10px;
  }

  .slideout-text{
    font-size: 13px;
  }

  .slideout-icon{
    width: 30px;
    height: 30px;
  }

  .slideout-paypal:hover,
  .slideout-paypal:focus-visible{
    transform: translateY(-50%) translateX(0);
  }

}

.coffee-icon path:nth-child(4),
.coffee-icon path:nth-child(5){
  animation: steam 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes steam{
  0% { transform: translateY(0px); opacity: .8; }
  50% { transform: translateY(-2px); opacity: 1; }
  100% { transform: translateY(0px); opacity: .8; }
}