:root{
  --bg:#0b1a2a;
  --panel:#0f2842;
  --brand:#196ec4;
  --brand2:#49c0ff;
  --text:#eaf2ff;
  --muted:#a9c0de;
  --ok:#2ecc71;
  --bad:#ff5b6e;
  --line:rgba(255,255,255,.12);
  --shadow: 0 14px 40px rgba(0,0,0,.35);
  --r:18px;
  --pad:18px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:var(--font);
  background:
    radial-gradient(900px 600px at 75% 25%, rgba(73,192,255,.22), transparent 60%),
    radial-gradient(900px 600px at 15% 60%, rgba(25,110,196,.22), transparent 60%),
    linear-gradient(180deg, #050b12, var(--bg));
  color:var(--text);
}
.wrap{
  max-width:1050px;
  margin:0 auto;
  padding:34px 18px 60px;
}
.header{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:18px;
}
.logo{
  width:96px;height:96px;
  border-radius:24px;
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow);
  display:grid;place-items:center;
  overflow:hidden;
}
.logo img{width:100%;height:100%;object-fit:cover}
.h-title{
  line-height:1.05;
}
.h-title h1{
  margin:0;
  font-size:34px;
  letter-spacing:.4px;
}
.h-title p{
  margin:8px 0 0;
  color:var(--muted);
}
.grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:16px;
  margin-top:16px;
}
@media (max-width: 860px){
  .grid{grid-template-columns:1fr}
}

.card{
  background: linear-gradient(180deg, rgba(15,40,66,.92), rgba(10,26,42,.92));
  border:1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: var(--pad);
}
.card h2{
  margin:0 0 10px;
  font-size:18px;
  letter-spacing:.2px;
}
.small{
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:10px;
}
.slot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.slot .left{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.15);
}
.badge.free{border-color: rgba(46,204,113,.35); color: #c8ffe0}
.badge.booked{border-color: rgba(255,91,110,.35); color: #ffd1d7}

.btn{
  cursor:pointer;
  border:none;
  border-radius: 14px;
  padding:10px 14px;
  font-weight:700;
  color:#07121f;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
}
.btn:disabled{opacity:.45; cursor:not-allowed}
.btn.secondary{
  background: transparent;
  color: var(--text);
  border:1px solid var(--line);
}

.row{display:flex; gap:10px; flex-wrap:wrap}
.field{display:flex; flex-direction:column; gap:6px; margin:10px 0}
input{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}
input::placeholder{color:rgba(234,242,255,.45)}
hr{border:none;border-top:1px solid var(--line); margin:14px 0}

.toast{
  margin-top:10px;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.20);
}
.toast.ok{border-color: rgba(46,204,113,.35)}
.toast.bad{border-color: rgba(255,91,110,.35)}
a{color: #9ad8ff}
.code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding:2px 6px;
  border-radius: 10px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
}

.yt-preview {
  display: block;
  max-width: 960px;          /* <<< HIER die Größe */
  margin: 14px auto 24px;    /* oben etwas Luft, mittig zentriert */
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.yt-preview:hover {
  transform: scale(1.01);
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
}

.yt-preview img {
  width: 100%;
  display: block;
}

