:root{
  --bg: #f5f7fb;
  --card: rgba(255,255,255,0.92);
  --text: #0f172a;
  --muted: rgba(15,23,42,0.70);
  --accent: #0b5cff;
  --border: rgba(15,23,42,0.14);
  --shadow: 0 16px 40px rgba(15,23,42,0.10);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(900px 600px at 15% 0%, rgba(14,165,233,0.10), transparent 60%),
              radial-gradient(800px 520px at 100% 10%, rgba(99,102,241,0.10), transparent 60%),
              var(--bg);
}
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1100px; margin:0 auto; padding: 22px; position:relative;}

/* soft photo background */
.watermark{
  position:fixed; inset:0; pointer-events:none;
  background:url('/assets/schloss-cappenberg.jpg') center/cover no-repeat;
  opacity:0.22;
  filter: blur(3px) saturate(0.9) contrast(1.05) brightness(1.05);
  transform: scale(1.04);
}
.overlay{
  position:fixed; inset:0; pointer-events:none;
  background: linear-gradient(180deg, rgba(246,248,251,0.60), rgba(246,248,251,0.92));
}

/* header */
.header{position:sticky; top:0; z-index:50; backdrop-filter: blur(10px);
  background: rgba(246,248,251,0.75);
  border-bottom: 1px solid var(--border);
}
.navbar{display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 14px 22px;}
.brand{display:flex; flex-direction:column; line-height:1.1}
.brand b{font-size:16px}
.brand span{font-size:12px; color:var(--muted)}
.navlinks{display:flex; gap:14px; align-items:center}
.navlinks a{color:var(--text); opacity:0.9}
.navlinks a:hover{opacity:1}

/* hamburger */
.hamburger{display:none; border:1px solid var(--border); background: rgba(255,255,255,0.85); color:var(--text);
  padding:10px 12px; border-radius:12px; cursor:pointer; box-shadow: 0 4px 18px rgba(15,23,42,0.06)}
.drawer{display:none; position:fixed; inset:0; z-index:80;}
.drawer .backdrop{position:absolute; inset:0; background: rgba(15,23,42,0.35);}
.drawer .panel{position:absolute; right:0; top:0; bottom:0; width:min(380px, 90vw);
  background: rgba(255,255,255,0.96);
  border-left:1px solid var(--border);
  padding: 18px;
}
.drawer a{display:block; padding:10px 12px; border-radius:12px; color:var(--text);}
.drawer a:hover{background: rgba(14,165,233,0.08); text-decoration:none}

@media (max-width: 860px){
  .navlinks{display:none}
  .hamburger{display:inline-flex}
}

/* hero */
.hero{padding: 30px 0 10px 0}
.hero h1{margin:0; font-size:44px; letter-spacing:-0.03em; line-height:1.06}
.hero p{margin:14px 0 0; color:var(--muted); max-width: 75ch; font-size:16px; line-height:1.55}

/* sections */
.section{
  margin-top: 20px;
  padding: 18px;
  border:1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.section h2{margin:0 0 10px; font-size: 18px; letter-spacing: -0.01em}

/* events */
.controls{display:flex; flex-wrap:wrap; gap:10px; margin: 12px 0 8px}
select, input[type="search"]{
  background: rgba(255,255,255,0.96);
  border:1px solid var(--border);
  color:var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  outline:none;
  box-shadow: 0 6px 16px rgba(15,23,42,0.05);
}
.table{width:100%; border-collapse: collapse; margin-top: 10px;}
.table th, .table td{padding: 10px; border-bottom: 1px solid rgba(15,23,42,0.10); vertical-align: top;}
.table th{color: var(--muted); font-weight: 700; text-align:left;}
.pill{display:inline-block; padding: 4px 8px; border-radius: 999px;
  border:1px solid rgba(14,165,233,0.25);
  background: rgba(14,165,233,0.10);
  color: rgba(2,132,199,0.95);
  font-size: 12px;
}

.footer{margin: 22px 0 40px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; color:var(--muted);}
.small{font-size:12px; color:var(--muted)}

.notice{
  background: rgba(14,165,233,0.08);
  border:1px solid rgba(14,165,233,0.22);
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(15,23,42,0.90)
}

.btnrow{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.btn{display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius: 12px; font-weight:700; letter-spacing:-0.01em; border:1px solid var(--border); box-shadow: 0 10px 20px rgba(15,23,42,0.06)}
.btn.primary{background: var(--accent); color:white; border-color: rgba(11,92,255,0.25)}
.btn.primary:hover{text-decoration:none; filter: brightness(0.98)}
.btn.ghost{background: rgba(255,255,255,0.92); color: var(--text)}
.btn.ghost:hover{text-decoration:none; background: rgba(255,255,255,0.98)}

.kpi{display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px; background: rgba(11,92,255,0.10); border:1px solid rgba(11,92,255,0.18); color: rgba(9,70,190,0.95); font-weight:700; font-size:12px}

/* --- Design pass inspired by technologiewerkstatt.de (clean, bold hero) --- */
:root{
  --accent: #0b5cff;
  --bg: #f5f7fb;
  --shadow: 0 16px 40px rgba(15,23,42,0.10);
}
.hero h1{font-size:44px; letter-spacing:-0.03em; line-height:1.06}
.hero p{font-size:16px; line-height:1.55}
.btnrow{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.btn{display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:12px; font-weight:700; letter-spacing:-0.01em; border:1px solid var(--border); box-shadow: 0 10px 20px rgba(15,23,42,0.06)}
.btn.primary{background: var(--accent); color:white; border-color: rgba(11,92,255,0.25)}
.btn.ghost{background: rgba(255,255,255,0.92); color: var(--text)}
.kpi{display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px; background: rgba(11,92,255,0.10); border:1px solid rgba(11,92,255,0.18); color: rgba(9,70,190,0.95); font-weight:700; font-size:12px}
