:root{
      --bg: #0b1220;
      --card: rgba(255,255,255,.12);
      --card2: rgba(255,255,255,.10);
      --text: #0b1220;
      --muted: rgba(255,255,255,.72);
      --brand: #0b5fff;
      --brand2:#00b7ff;
      --ok: #18b16c;
      --err: #e5484d;
      --ring: rgba(11,95,255,.25);
      --shadow: 0 18px 60px rgba(0,0,0,.28);
      --shadow2: 0 10px 28px rgba(0,0,0,.22);
      --radius: 18px;
      --radius2: 12px;
      --max: 1200px;
    }

    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0;
      font-family: "Raleway", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
      color: #fff;
      background:
        radial-gradient(1100px 700px at 10% 10%, rgba(0,183,255,.22), transparent 55%),
        radial-gradient(900px 600px at 90% 15%, rgba(11,95,255,.25), transparent 55%),
        linear-gradient(180deg, #081029 0%, #070a12 100%);
    }

    /* Subtle background image layer (keeps your original vibe, but cleaner) */
    body::before{
      content:"";
      position:fixed; inset:0;
      background: url("./img/wolken.avif") center/cover no-repeat fixed;
      opacity:.18;
      pointer-events:none;
      filter:saturate(1.1) contrast(1.05);
    }

    a{color:inherit}
    a:hover{opacity:.92}
    .container{max-width:var(--max); margin:0 auto; padding: 22px 18px;}
    .skip{
      position:absolute; left:-999px; top:auto;
      width:1px; height:1px; overflow:hidden;
    }
    .skip:focus{
      left:18px; top:18px;
      width:auto; height:auto; padding:10px 12px;
      background:var(--card); color:var(--text); border-radius:12px;
      box-shadow:var(--shadow2); z-index:9999;
    }

    /* Layout */
    .shell{
      display:grid;
      grid-template-columns: 360px 1fr;
      gap: 18px;
      align-items:start;
      max-width: calc(var(--max) + 180px);
      margin: 0 auto;
      padding: 18px;
    }
    @media (max-width: 980px){
      .shell{grid-template-columns: 1fr; padding: 14px;}
    }

    /* Sticky booking card */
    .aside{
      position:sticky; top:18px;
    }
    @media (max-width: 980px){
      .aside{position:relative; top:auto}
    }

    .card{
      background: var(--card);
      color: #fff;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow:hidden;
      border: 1px solid rgba(255,255,255,.35);
      backdrop-filter: blur(10px);
    }
    .card .pad{padding: 18px;}
    .card h2,.card h3{margin:0 0 10px}
    .small{font-size:.92rem; color: rgba(255,255,255,.75)}
    .hr{height:1px; background: rgba(255,255,255,.16); margin:14px 0}

    /* Topbar for mobile */
    .topbar{
      display:none;
      position:sticky; top:0; z-index:50;
      background: rgba(8,16,41,.75);
      backdrop-filter: blur(10px);
      border-bottom:1px solid rgba(255,255,255,.12);
    }
    .topbar-inner{
      display:flex; align-items:center; justify-content:space-between;
      gap:12px; padding: 12px 14px;
    }
    .brand{
      display:flex; gap:10px; align-items:center;
      font-weight:700;
    }
    .brand i{color: var(--brand2)}
    .btn{
      display:inline-flex; align-items:center; justify-content:center;
      gap:10px;
      padding: 11px 14px;
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,.18);
      background: rgba(255,255,255,.10);
      color:#fff;
      cursor:pointer;
      text-decoration:none;
      transition: transform .08s ease, background .15s ease, border-color .15s ease;
      user-select:none;
    }
    .btn:active{transform: translateY(1px)}
    .btn.primary{
      background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
      border-color: transparent;
      box-shadow: 0 12px 30px rgba(11,95,255,.35);
    }
    .btn.primary:hover{filter:brightness(1.02)}
    .btn.ghost{
      background: rgba(11,95,255,.08);
      border-color: rgba(11,95,255,.22);
      color: var(--brand);
    }
    .btn.block{width:100%}

    @media (max-width: 980px){
      .topbar{display:block;}
      .desktop-only{display:none !important;}
    }
    @media (min-width: 981px){
      .mobile-only{display:none !important;}
    }

    /* Language dropdown */
    .lang{
      position:relative;
    }
    .lang-menu{
      position:absolute; right:0; top: 48px;
      background: var(--card);
      color: var(--text);
      border-radius: 14px;
      border:1px solid rgba(0,0,0,.08);
      box-shadow: var(--shadow2);
      overflow:hidden;
      min-width: 200px;
      display:none;
      z-index: 20;
    }
    .lang-menu a{
      display:block; padding:10px 12px;
      text-decoration:none;
    }
    .lang-menu a:hover{background: rgba(11,95,255,.08)}
    .lang.open .lang-menu{display:block}

    /* Form */
    label{font-weight:600; font-size:.92rem; color: rgba(255,255,255,.92)}
    .field{margin: 10px 0 12px}
    .input, .textarea, select{
      width:100%;
      padding: 11px 12px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.20);
      outline:none;
      background: rgba(255,255,255,.10);
      color: #fff;
      font: inherit;
    }
    .input::placeholder, .textarea::placeholder{color: rgba(255,255,255,.70)}
    .textarea{min-height: 92px; resize: vertical}
    .input:focus, .textarea:focus, select:focus{
      box-shadow: 0 0 0 4px var(--ring);
      border-color: rgba(11,95,255,.5);
    }
    .grid-2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
    .grid-3{display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px}
    @media (max-width: 520px){
      .grid-2,.grid-3{grid-template-columns:1fr}
    }
    .check{
      display:flex; gap:10px; align-items:flex-start;
      font-size:.9rem; color: rgba(11,18,32,.85);
      margin-top: 10px;
    }
    .check input{margin-top: 3px}

    /* Main hero / slider */
    .main{
      display:flex; flex-direction:column; gap:18px;
    }
    .hero{
      border-radius: var(--radius);
      overflow:hidden;
      box-shadow: var(--shadow);
      border: 1px solid rgba(255,255,255,.25);
      background: rgba(255,255,255,.06);
      backdrop-filter: blur(10px);
    }
    .hero-top{
      display:flex; align-items:flex-end; justify-content:space-between;
      gap:12px;
      padding: 18px;
      border-bottom: 1px solid rgba(255,255,255,.12);
    }
    .hero-title{
      display:flex; flex-direction:column; gap:6px;
    }
    .hero-title h1{margin:0; font-size: clamp(1.25rem, 2.2vw, 1.9rem);}
    .pill{
      display:inline-flex; gap:8px; align-items:center;
      padding: 8px 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.10);
      border: 1px solid rgba(255,255,255,.14);
      color:#fff;
      font-size:.9rem;
      width: fit-content;
    }
    .pill i{color: var(--brand2)}
    .hero-actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}

    .slider{
      position:relative;
      aspect-ratio: 16/9;
      min-height: 320px;
      max-height: 560px;
      overflow:hidden;
    }
    @media (max-width: 520px){
      .slider{aspect-ratio: 4/3; min-height: 260px}
    }

    .slide{
      position:absolute; inset:0;
      opacity:0;
      transform: scale(1.02);
      transition: opacity .35s ease, transform .55s ease;
      display:flex;
      align-items:flex-end;
    }
    .slide.active{
      opacity:1;
      transform: scale(1.0);
    }
    .slide img{
      position:absolute; inset:0;
      width:100%; height:100%;
      object-fit:cover;
      filter: contrast(1.02) saturate(1.05);
    }
    .slide::after{
      content:"";
      position:absolute; inset:0;
      background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%);
    }
    .caption{
      position:relative;
      padding: 16px 16px 14px;
      width:100%;
      display:flex;
      justify-content:space-between;
      align-items:flex-end;
      gap:12px;
    }
    .caption .label{
      font-weight:700;
      font-size: 1.05rem;
      letter-spacing:.2px;
    }
    .caption .counter{
      font-size:.9rem;
      opacity:.9;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.16);
      backdrop-filter: blur(8px);
    }

    .nav{
      position:absolute; inset:0;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding: 0 10px;
      pointer-events:none;
    }
    .nav button{
      pointer-events:auto;
      width: 44px; height: 44px;
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,.20);
      background: rgba(0,0,0,.22);
      color:#fff;
      cursor:pointer;
      backdrop-filter: blur(8px);
      transition: transform .1s ease, background .15s ease;
    }
    .nav button:hover{background: rgba(0,0,0,.32)}
    .nav button:active{transform: translateY(1px)}
    .dots{
      display:flex;
      gap:8px;
      justify-content:center;
      padding: 12px 14px 16px;
      border-top: 1px solid rgba(255,255,255,.12);
    }
    .dot{
      width: 8px; height: 8px;
      border-radius: 999px;
      background: rgba(255,255,255,.35);
      border: 1px solid rgba(255,255,255,.18);
      cursor:pointer;
      transition: transform .12s ease, background .12s ease;
    }
    .dot[aria-current="true"]{
      background: #fff;
      transform: scale(1.15);
    }

    /* Sections */
    .section{
      border-radius: var(--radius);
      overflow:hidden;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.08);
      backdrop-filter: blur(10px);
      box-shadow: var(--shadow2);
    }
    .section .head{
      padding: 14px 16px;
      display:flex; align-items:center; justify-content:space-between;
      gap:12px;
      border-bottom: 1px solid rgba(255,255,255,.10);
    }
    .section .head h2{
      margin:0;
      font-size: 1.1rem;
      letter-spacing:.2px;
    }
    .section .body{
      padding: 16px;
      color: rgba(255,255,255,.92);
      line-height: 1.55;
    }

    details{
      border-radius: 16px;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.06);
      padding: 12px 14px;
      margin: 10px 0;
    }
    summary{
      cursor:pointer;
      list-style:none;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      font-weight:700;
    }
    summary::-webkit-details-marker{display:none}
    summary .chev{opacity:.9}
    details[open] summary .chev{transform: rotate(180deg)}
    .facts{
      display:grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap: 10px;
      margin-top: 12px;
    }
    @media (max-width: 820px){
      .facts{grid-template-columns: 1fr 1fr}
    }
    @media (max-width: 520px){
      .facts{grid-template-columns: 1fr}
    }
    .fact{
      background: rgba(255,255,255,.10);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 16px;
      padding: 12px 12px;
      display:flex; gap:10px; align-items:flex-start;
    }
    .fact i{color: var(--brand2); margin-top: 2px}
    .fact .k{font-weight:700}
    .fact .v{opacity:.95}

    /* Media blocks */
    .media{
      border-radius: 18px;
      overflow:hidden;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.06);
      margin-top: 12px;
    }
    .media iframe, .media video, .media img{display:block; width:100%}
    .media iframe{height: 360px}
    @media (max-width: 520px){
      .media iframe{height: 300px}
    }

    /* Table */
    table{
      width:100%;
      border-collapse: collapse;
      overflow:hidden;
      border-radius: 16px;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.06);
    }
    th, td{
      text-align:left;
      padding: 12px 12px;
      border-bottom: 1px solid rgba(255,255,255,.12);
      vertical-align: top;
    }
    thead th{
      background: rgba(11,95,255,.22);
      font-weight:800;
    }
    tbody tr:hover{background: rgba(255,255,255,.04)}
    .table-wrap{overflow:auto}

    /* Footer */
    .footer{
      padding: 18px 0 26px;
      opacity: .95;
      text-align:center;
    }
    .social{
      display:flex; justify-content:center; gap:10px; flex-wrap:wrap;
      margin-top: 10px;
    }
    .social a{
      width: 44px; height: 44px;
      display:inline-flex; align-items:center; justify-content:center;
      border-radius: 14px;
      background: rgba(255,255,255,.10);
      border: 1px solid rgba(255,255,255,.14);
      text-decoration:none;
    }

    /* Toast / notification */
    .toast{
      position:fixed;
      left:50%; top:18px;
      transform: translateX(-50%);
      padding: 12px 14px;
      border-radius: 14px;
      color:#fff;
      z-index:9999;
      box-shadow: var(--shadow2);
      opacity:0;
      transition: opacity .2s ease, transform .2s ease;
      min-width: min(520px, calc(100vw - 24px));
      border: 1px solid rgba(255,255,255,.18);
      backdrop-filter: blur(10px);
    }
    .toast.show{opacity:1; transform: translateX(-50%) translateY(0)}
    .toast.ok{background: rgba(24,177,108,.88)}
    .toast.err{background: rgba(229,72,77,.88)}

    
    /* Modal */
    #bookingModalBody{padding: 16px;}

    .modal{
      position:fixed; inset:0;
      background: rgba(0,0,0,.55);
      display:none;
      align-items:center; justify-content:center;
      padding: 18px;
      z-index:100;
    }
    .modal.open{display:flex}
    .modal-card{
      width: min(560px, 100%);
      background: var(--card);
      color: #fff;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow:hidden;
      border: 1px solid rgba(255,255,255,.35);
    }
    .modal-head{
      padding: 14px 16px;
      display:flex; align-items:center; justify-content:space-between;
      border-bottom: 1px solid rgba(11,18,32,.12);
    }
    .icon-btn{
      width: 40px; height: 40px;
      border-radius: 12px;
      border:1px solid rgba(11,18,32,.12);
      background: rgba(11,95,255,.08);
      cursor:pointer;
    }

    /* Quick links */
    .quicklinks{
      display:flex; gap:10px; flex-wrap:wrap;
      margin-top: 10px;
    }
    .quicklinks a{
      color: rgba(255,255,255,.95);
      text-decoration:none;
      padding: 10px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.12);
    }

    /* Back to top */
    #toTop{
      max-width: 100vw;

      position:fixed;
      right: 18px;
      bottom: 18px;
      width: 48px; height: 48px;
      border-radius: 16px;
      border: 1px solid rgba(255,255,255,.18);
      background: rgba(0,0,0,.25);
      color:#fff;
      cursor:pointer;
      display:none;
      z-index: 60;
      backdrop-filter: blur(8px);
    }
    #toTop:hover{background: rgba(0,0,0,.35)}
    /* Mobile navbar improvements */
    @media (max-width: 980px){
      .topbar-inner{flex-direction:column; align-items:stretch; gap:10px; padding: 10px 12px;}
      .topbar-row{display:flex; align-items:center; justify-content:space-between; gap:10px;}
      .topbar-actions{display:flex; gap:10px; align-items:center;}
      .topbar .btn{padding: 10px 12px; border-radius: 14px;}
      .topnav{
        display:flex;
        gap:10px;
        overflow:auto;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }
      .topnav::-webkit-scrollbar{display:none}
      .chip{
        display:inline-flex; align-items:center; gap:8px;
        padding: 10px 12px;
        border-radius: 999px;
        background: rgba(255,255,255,.10);
        border: 1px solid rgba(255,255,255,.14);
        color:#fff;
        text-decoration:none;
        white-space:nowrap;
        flex: 0 0 auto;
      }
      .chip.primary{
        background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
        border-color: transparent;
      }
    }

    /* Prevent horizontal scrolling */
    html, body {max-width: 100%; overflow-x: hidden;}
    img, video, iframe {max-width: 100%;}
    .shell, .main, .hero, .section {min-width: 0;}
    .topbar, .topbar-inner {min-width: 0;}
    .topnav {min-width: 0;}
    .table-wrap {max-width: 100%;}

/* --- Custom DB calendar (no Google iframe) --- */
.calendar-wrap{max-width:100%}
.cal-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.cal-title{font-weight:800;letter-spacing:.2px}
.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;max-width:100%}
.cal-dow{font-size:.85rem;opacity:.85;text-align:center;padding:6px 0}
.cal-day{
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  min-height:54px;
  padding:8px 8px;
  display:flex;
  flex-direction:column;
  gap:6px;
  overflow:hidden;
}
.cal-day .n{font-weight:800}
.cal-day.muted{opacity:.35}
.cal-day.booked{background:rgba(229,72,77,.18); border-color:rgba(229,72,77,.35)}
.cal-day.today{box-shadow:0 0 0 4px var(--ring)}
.cal-day:hover{background:rgba(255,255,255,.10)}

/* avoid horizontal scroll on edge cases */
html, body { max-width:100%; overflow-x:hidden; }
/* ====== DB Kalender (Google-Style Month View) ====== */
.hmcal { width:100%; max-width:100%; }
.hmcal-top { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 10px; }
.hmcal-title { font-weight:900; letter-spacing:.2px; }

.hmcal-grid{
  display:grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  overflow:hidden;
  background: rgba(255,255,255,.04);
}

.hmcal-dow{
  padding:10px 8px;
  text-align:center;
  font-weight:800;
  font-size:.9rem;
  opacity:.9;
  background: rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.10);
}

.hmcal-cell{
  min-height:92px;
  padding:8px;
  border-right:1px solid rgba(255,255,255,.10);
  border-bottom:1px solid rgba(255,255,255,.10);
  position:relative;
  background: rgba(255,255,255,.03);
}
.hmcal-cell:nth-child(7n){ border-right:none; }

.hmcal-num{
  font-weight:900;
  font-size:.95rem;
  opacity:.95;
}
.hmcal-cell.out { opacity:.35; background: rgba(255,255,255,.02); }

.hmcal-cell.today{
  box-shadow: inset 0 0 0 2px rgba(58,160,255,.55);
}

.hmcal-lanes{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.hmcal-event{
  height:18px;
  border-radius:6px;
  background: rgba(229,72,77,.65);
  border:1px solid rgba(229,72,77,.65);
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
  position:relative;
  overflow:hidden;
}

.hmcal-event::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(255,255,255,.18), transparent 60%);
  opacity:.45;
}

.hmcal-event[data-tip]:hover::before{
  content: attr(data-tip);
  position:absolute;
  left:8px; top:-34px;
  padding:6px 10px;
  border-radius:10px;
  background: rgba(11,18,32,.95);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-size:.85rem;
  white-space:nowrap;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

/* Mobile: etwas kompakter */
@media(max-width: 700px){
  .hmcal-cell{ min-height:78px; padding:6px; }
  .hmcal-event{ height:16px; }
}
/* ====== DB Kalender (Google-Style Month View mit Event-Balken) ====== */
.hmcal-top { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 10px; }
.hmcal-title { font-weight:900; letter-spacing:.2px; }

.hmcal-grid{
  display:grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  overflow:hidden;
  background: rgba(255,255,255,.04);
}

.hmcal-dow{
  padding:10px 8px;
  text-align:center;
  font-weight:800;
  font-size:.9rem;
  opacity:.9;
  background: rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.10);
}

.hmcal-cell{
  min-height:92px;
  padding:8px;
  border-right:1px solid rgba(255,255,255,.10);
  border-bottom:1px solid rgba(255,255,255,.10);
  position:relative;
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.hmcal-cell:nth-child(7n){ border-right:none; }
.hmcal-cell.out { opacity:.35; background: rgba(255,255,255,.02); }

.hmcal-num{ font-weight:900; font-size:.95rem; opacity:.95; }
.hmcal-cell.today{ box-shadow: inset 0 0 0 2px rgba(58,160,255,.55); }

.hmcal-lanes{ margin-top:8px; display:flex; flex-direction:column; gap:6px; }

.hmcal-event{
  height:18px;
  border-radius:6px;
  background: rgba(229,72,77,.65);
  border:1px solid rgba(229,72,77,.65);
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
  position:relative;
  overflow:hidden;
}

.hmcal-event::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(255,255,255,.18), transparent 60%);
  opacity:.45;
}

.hmcal-event[data-tip]:hover::before{
  content: attr(data-tip);
  position:absolute;
  left:8px; top:-34px;
  padding:6px 10px;
  border-radius:10px;
  background: rgba(11,18,32,.95);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-size:.85rem;
  white-space:nowrap;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

@media(max-width:700px){
  .hmcal-cell{ min-height:78px; padding:6px; }
  .hmcal-event{ height:16px; }
}
/* Week events row: make grid rows stable so long bookings render full-width */
.hmcal-week-events{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: 18px;          /* <- wichtig */
  row-gap: 6px;
  padding: 0 6px 10px;
  min-height: 24px;              /* <- wichtig: sichtbar auch bei 1 lane */
  align-content: start;
}
/* Kalender: Wochen-Overlay für Event-Balken */
.hmcal-week-events{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: 18px;
  row-gap: 6px;
  padding: 0 6px 10px;
  min-height: 24px;
  align-content: start;
}

.hmcal-eventbar{
  height: 18px;
  border-radius: 6px;
  background: rgba(229,72,77,.65);
  border: 1px solid rgba(229,72,77,.65);
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
  position: relative;
  overflow: hidden;
}

.hmcal-eventbar::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(255,255,255,.18), transparent 60%);
  opacity:.45;
}

.hmcal-eventbar[data-tip]:hover::before{
  content: attr(data-tip);
  position:absolute;
  left:8px; top:-34px;
  padding:6px 10px;
  border-radius:10px;
  background: rgba(11,18,32,.95);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-size:.85rem;
  white-space:nowrap;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
/* ========== Huis-Meeuw Kalender FIX (Grid stabil) ========== */
.hmcal-grid{
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-flow: row;            /* WICHTIG: nicht column */
  gap: 0;                         /* falls du vorher gap hattest */
}

.hmcal-dow{
  padding: 10px 8px;
  font-weight: 800;
  opacity: .9;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.hmcal-cell{
  position: relative;
  min-height: 86px;               /* Höhe der Tageszelle */
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}

.hmcal-cell:nth-child(7n){
  border-right: 0;                /* letzte Spalte ohne rechte Linie */
}

.hmcal-cell.out{
  opacity: .45;
}

.hmcal-cell.today{
  outline: 2px solid rgba(11,95,255,.55);
  outline-offset: -2px;
  background: rgba(11,95,255,.08);
}

.hmcal-num{
  position: absolute;
  top: 10px;
  left: 10px;
  font-weight: 800;
  font-size: 14px;
  opacity: .95;
}

/* Event-Row nach jeder Woche (spannt über 7 Spalten) */
.hmcal-week-events{
  grid-column: 1 / -1;            /* volle Breite */
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: 18px;
  row-gap: 6px;
  padding: 6px 8px 10px;
  min-height: 24px;               /* damit 1 Buchung sichtbar bleibt */
  align-content: start;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.06);
}

/* Balken */
.hmcal-eventbar{
  height: 18px;
  border-radius: 6px;
  background: rgba(229,72,77,.65);
  border: 1px solid rgba(229,72,77,.65);
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
  position: relative;
  overflow: hidden;
}

.hmcal-eventbar::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(255,255,255,.18), transparent 60%);
  opacity:.45;
}

.hmcal-eventbar[data-tip]:hover::before{
  content: attr(data-tip);
  position:absolute;
  left:8px; top:-34px;
  padding:6px 10px;
  border-radius:10px;
  background: rgba(11,18,32,.95);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-size:.85rem;
  white-space:nowrap;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}


/* ======================
   LIGHT MODE (toggle)
   ====================== */
html[data-theme="light"] body{
  color: #0b1220;
  background:
    radial-gradient(1100px 700px at 10% 10%, rgba(0,183,255,.18), transparent 55%),
    radial-gradient(900px 600px at 90% 15%, rgba(11,95,255,.18), transparent 55%),
    linear-gradient(180deg, #f6f8ff 0%, #eef2ff 100%);
}
html[data-theme="light"] body::before{
  opacity: .10;
  filter: saturate(1.0) contrast(1.0);
}
html[data-theme="light"] .card,
html[data-theme="light"] .section,
html[data-theme="light"] .hero,
html[data-theme="light"] details,
html[data-theme="light"] table,
html[data-theme="light"] .modal-card,
html[data-theme="light"] .lang-menu{
  background: rgba(255,255,255,.72) !important;
  color: #0b1220 !important;
  border-color: rgba(0,0,0,.10) !important;
}
html[data-theme="light"] .hr{background: rgba(0,0,0,.10) !important;}
html[data-theme="light"] .small{color: rgba(11,18,32,.70) !important;}
html[data-theme="light"] label{color: rgba(11,18,32,.90) !important;}
html[data-theme="light"] .pill,
html[data-theme="light"] .quicklinks a,
html[data-theme="light"] .social a,
html[data-theme="light"] .chip{
  background: rgba(11,18,32,.06) !important;
  border-color: rgba(11,18,32,.10) !important;
  color: #0b1220 !important;
}
html[data-theme="light"] .btn{
  background: rgba(11,18,32,.06) !important;
  border-color: rgba(11,18,32,.12) !important;
  color:#0b1220 !important;
}
html[data-theme="light"] .btn.primary{
  color:#fff !important;
  border-color: transparent !important;
}
html[data-theme="light"] .nav button{
  background: rgba(255,255,255,.55) !important;
  border-color: rgba(0,0,0,.12) !important;
  color:#0b1220 !important;
}
html[data-theme="light"] thead th{
  background: rgba(11,95,255,.14) !important;
}
html[data-theme="light"] th, 
html[data-theme="light"] td{
  border-bottom-color: rgba(0,0,0,.08) !important;
}
html[data-theme="light"] tbody tr:hover{background: rgba(11,18,32,.04) !important;}
html[data-theme="light"] .topbar{
  background: rgba(246,248,255,.82) !important;
  border-bottom-color: rgba(0,0,0,.10) !important;
}
html[data-theme="light"] .input, 
html[data-theme="light"] .textarea, 
html[data-theme="light"] select{
  background: rgba(255,255,255,.92) !important;
  border-color: rgba(0,0,0,.14) !important;
  color:#0b1220 !important;
}
html[data-theme="light"] .input::placeholder,
html[data-theme="light"] .textarea::placeholder{color: rgba(11,18,32,.55) !important;}
html[data-theme="light"] .check{color: rgba(11,18,32,.80) !important;}
html[data-theme="light"] .icon-btn{
  background: rgba(11,95,255,.10) !important;
  border-color: rgba(0,0,0,.12) !important;
}
html[data-theme="light"] .toast{
  border-color: rgba(0,0,0,.10) !important;
}

