:root{
  /* === Sage Theme (Medical Clean Beauty) === */
  --bg0:#EEF3F1;                 /* Page background */
  --bg1:#EEF3F1;                 /* keep same for clean look */

  --card:#FFFFFF;                /* Cards white */
  --card2:#FFFFFF;

  --border:#D6E2DC;              /* Lines, dividers, borders */

  --text:#10201A;                /* Dark text */
  --muted:rgba(16,32,26,.65);    /* Muted text */

  --accent:#8FA89B;              /* Primary Sage Green */
  --accent2:#6F8F82;             /* Darker Sage (hover) */

  --shadow: 0 10px 26px rgba(22, 40, 32, .08);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  font: 15px/1.5 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(1200px 700px at 20% 20%, rgba(46,229,157,.20), transparent 60%),
  radial-gradient(900px 600px at 80% 10%, rgba(58,160,255,.16), transparent 55%),
  linear-gradient(180deg, var(--bg0), var(--bg1));
}

a{color:inherit;text-decoration:none}

.bb-page-wrapper{min-height: calc(100vh - 120px); padding: 28px 16px 60px;}
.container{max-width:1120px;margin:0 auto;padding:0 18px}
.page{padding:26px 0 60px}

.bg{position:fixed;inset:0;pointer-events:none;z-index:-1}
.bg-glow{
  position:absolute; width:520px; height:520px; left:-120px; top:-120px;
  background: radial-gradient(circle, rgba(46,229,157,.20), transparent 60%);
  filter: blur(2px);
}
.bg-glow.two{
  left:auto; right:-180px; top:-160px;
  width:620px; height:620px;
  background: radial-gradient(circle, rgba(58,160,255,.18), transparent 60%);
}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:30;
  background: rgba(8,11,20,.62);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-row{
  height:64px;
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
}
.brand{display:flex;align-items:center;gap:10px}
.brand-dot{
  width:12px;height:12px;border-radius:99px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow: 0 0 0 6px rgba(46,229,157,.08);
}
.brand-name{font-weight:800;letter-spacing:.2px}

.nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.nav-pill{
  padding:8px 12px;border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  transition: transform .06s ease, background .12s ease;
}
.nav-pill:hover{transform: translateY(-1px); background: rgba(255,255,255,.08)}
.nav-pill-strong{
  border-color: rgba(46,229,157,.35);
  box-shadow: 0 0 0 4px rgba(46,229,157,.10) inset;
}
.nav-chip{
  padding:8px 12px;border-radius:999px;
  background: rgba(46,229,157,.10);
  border:1px solid rgba(46,229,157,.25);
  color: rgba(255,255,255,.92);
  font-size: 13px;
}
.nav-sep{width:1px;height:26px;background:rgba(255,255,255,.10);margin:0 4px}

/* Common */
.muted{color:var(--muted)}
.hr{height:1px;background:rgba(255,255,255,.10);margin:14px 0}
h1{font-size:40px;line-height:1.12;margin:10px 0 10px}
h2{font-size:26px;margin:0 0 10px}
p{margin:8px 0}
.lead{font-size:16px;color:rgba(255,255,255,.78)}

.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 10px;border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

/* Layout */
.grid{display:grid;gap:16px}
.grid-2{grid-template-columns: 1.1fr .9fr}
.grid-3{grid-template-columns: repeat(3, 1fr)}
@media (max-width: 980px){
  h1{font-size:32px}
  .grid-2,.grid-3{grid-template-columns: 1fr}
  .nav{justify-content:flex-start}
}

/* Cards */
.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card-soft{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
}
.card-title{font-weight:800;font-size:16px}
.card-actions{display:flex;gap:10px;flex-wrap:wrap}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;
  padding:10px 14px;border-radius:12px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.92);
  cursor:pointer;
  transition: transform .06s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.10)}
.btn-primary{
  background: rgba(46,229,157,.14);
  border-color: rgba(46,229,157,.35);
}

/* Hero */
.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:start;
  margin-top: 6px;
}
@media (max-width: 980px){
  .hero{grid-template-columns:1fr}
}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:14px;
}
@media (max-width: 560px){
  .stats{grid-template-columns:1fr}
}
.stat{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 12px;
}
.stat-top{font-weight:900;font-size:18px}

.steps{margin:12px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.steps li{display:flex;gap:12px;align-items:flex-start}
.step-nr{
  width:28px;height:28px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background: rgba(46,229,157,.12);
  border:1px solid rgba(46,229,157,.25);
  font-weight:900;
}
.step-title{font-weight:800}

/* Sections */
.section{margin-top:18px}
.section-head{margin-bottom:12px}
.icon{font-size:22px;margin-bottom:8px}

/* Lists */
.list{margin:10px 0 0;padding-left:18px;color:rgba(255,255,255,.80)}
.list li{margin:6px 0}

/* CTA */
.cta{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:16px;
  align-items:stretch;
}
@media (max-width: 980px){
  .cta{grid-template-columns:1fr}
}
.cta-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.cta-box{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.demo{margin-top:10px;display:grid;gap:10px}
.demo-row{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap}
.demo-label{font-weight:800}
.demo-value{color:rgba(255,255,255,.75)}

/* Page head */
.page-head{margin-top:8px;margin-bottom:14px}

/* Quick links */
.quick{display:grid;gap:10px;margin-top:10px}
.quick-item{
  display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;
  padding:12px;border-radius:14px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.quick-title{font-weight:900}

/* Footer */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:18px 0 24px;
  background: rgba(8,11,20,.35);
}
.footer-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

.hero-small {
  margin-bottom: 24px;
}

.service-card h3,
.service-admin h3 {
  margin-bottom: 6px;
}

.service-card .btn {
  margin-top: 12px;
}

.badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
}

.badge.green {
  background: rgba(0,255,150,.15);
  color: #4ade80;
}

.badge.gray {
  background: rgba(255,255,255,.08);
  color: #aaa;
}

.row.between {
  display: flex;
  justify-content: space-between;
}

.row.center {
  align-items: center;
}

.full {
  width: 100%;
}
/* ===== Step F: Customer dashboard cards ===== */

.page-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.page-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.booking-card{
  position:relative;
  overflow:hidden;
}
.booking-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.booking-date{
  font-size:18px;
  font-weight:800;
  letter-spacing:-0.2px;
}
.booking-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.booking-body{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.booking-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
}
.booking-k{
  color:rgba(255,255,255,0.7);
}
.booking-v{
  text-align:right;
}

.booking-metrics{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:4px;
}
.metric{
  padding:10px 12px;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:14px;
  background:rgba(255,255,255,0.06);
}
.metric-k{
  font-size:12px;
  color:rgba(255,255,255,0.7);
}
.metric-v{
  font-weight:800;
  margin-top:2px;
}

.booking-note{
  margin-top:2px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:14px;
  background:rgba(255,255,255,0.04);
}

.booking-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* Visual state accents */
.booking-upcoming::before,
.booking-past::before,
.booking-canceled::before{
  content:"";
  position:absolute;
  left:-40px;
  top:-40px;
  width:120px;
  height:120px;
  border-radius:999px;
  filter:blur(0px);
  opacity:0.35;
}
.booking-upcoming::before{ background:rgba(34,197,94,0.55); }   /* green */
.booking-past::before{ background:rgba(148,163,184,0.55); }     /* gray */
.booking-canceled::before{ background:rgba(239,68,68,0.55); }   /* red */

@media (max-width: 780px){
  .grid.grid-2{ grid-template-columns: 1fr !important; }
  .booking-v{ text-align:left; }
  .booking-row{ flex-direction:column; }
}

/* ===== Meine Termine – Kunden (FINAL) ===== */

.inline-form{ display:inline; margin:0; }

/* Grid: auf Desktop 2 Spalten, mobil 1 */
.bookings-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:16px;
}
@media (max-width: 980px){
  .bookings-grid{ grid-template-columns:1fr; }
}

/* Card */
.booking-card{
  position:relative;
  overflow:hidden;
  padding:16px;
}

/* Dezenter Farbakzent je Status (nicht zu knallig) */
.booking-card::before{
  content:"";
  position:absolute;
  left:-60px;
  top:-60px;
  width:160px;
  height:160px;
  border-radius:999px;
  opacity:.35;
  pointer-events:none;
}

.booking-card-upcoming::before{ background: rgba(255,193,7,.55); }  /* gelb */
.booking-card-done::before{ background: rgba(40,167,69,.55); }      /* grün */
.booking-card-canceled::before{ background: rgba(220,53,69,.55); }  /* rot */

/* Header */
.booking-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.booking-date{
  font-weight:900;
  font-size:18px;
  letter-spacing:-0.2px;
}
.booking-header-right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
}
.booking-label{
  font-size:12px;
  opacity:.65;
}

/* Status Pills */
.status{
  padding:6px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  border:1px solid rgba(255,255,255,.12);
}
.status-upcoming{
  background: rgba(255,193,7,.14);
  color: #ffc107;
  border-color: rgba(255,193,7,.35);
}
.status-done{
  background: rgba(40,167,69,.14);
  color: #28a745;
  border-color: rgba(40,167,69,.35);
}
.status-canceled{
  background: rgba(220,53,69,.14);
  color: #dc3545;
  border-color: rgba(220,53,69,.35);
}

/* Boxes (Studio/Service/Dauer/Preis) */
.booking-info-boxes{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
@media (max-width: 900px){
  .booking-info-boxes{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){
  .booking-info-boxes{ grid-template-columns: 1fr; }
}

.info-box{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 10px 12px;
}
.info-label{
  font-size:12px;
  opacity:.70;
  margin-bottom:4px;
}
.info-value{
  font-weight:900;
  font-size:14px;
}

/* Actions */
.booking-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-start;
}

/* ===== Step F – Clean Customer Bookings (OVERRIDES) ===== */

/* Entfernt die Glow-Kugeln, die deine Cards grün färben */
.booking-upcoming::before,
.booking-past::before,
.booking-canceled::before{
  display:none !important;
  content:none !important;
}

/* Booking Card: sauberer Look, keine farbige Fläche im unteren Bereich */
.booking-card{
  position:relative;
  overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.05));
}

/* dezente farbige Linie links statt riesiger Glow */
.booking-card-upcoming{ border-left: 4px solid rgba(255,193,7,.75); }
.booking-card-done{ border-left: 4px solid rgba(40,167,69,.75); }
.booking-card-canceled{ border-left: 4px solid rgba(220,53,69,.75); }

/* Header */
.booking-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.booking-date-big{
  font-size:18px;
  font-weight:900;
  letter-spacing:-0.2px;
}

/* Status Pills */
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  white-space:nowrap;
}
.pill-danger{
  background: rgba(220,53,69,.16);
  border-color: rgba(220,53,69,.35);
  color: #ff6b7a;
}
.pill-warning{
  background: rgba(255,193,7,.16);
  border-color: rgba(255,193,7,.35);
  color: #ffd15a;
}
.pill-success{
  background: rgba(40,167,69,.16);
  border-color: rgba(40,167,69,.35);
  color: #58e38a;
}

/* Info Tiles: klar getrennt + Label als Chip */
.info-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
@media (max-width: 900px){
  .info-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){
  .info-grid{ grid-template-columns: 1fr; }
}

.info-tile{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
}
.info-chip{
  display:inline-flex;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
  margin-bottom:8px;
}
.info-main{
  font-size:14px;
  font-weight:900;
  line-height:1.25;
}

/* Action Row */
.booking-actions-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.booking-actions-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
}

/* ===== Fix: Meine Termine sauber + kein "grünes Fluten" ===== */

/* Entfernt die alten Farb-Blobs falls vorhanden */
.booking-upcoming::before,
.booking-past::before,
.booking-canceled::before{
  content: none !important;
}

/* Booking Card ohne "komische" Hintergründe */
.booking-card-clean{
  background: var(--card);
}

/* Tiles Layout */
.booking-tiles{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}

@media (max-width: 900px){
  .booking-tiles{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){
  .booking-tiles{ grid-template-columns: 1fr; }
}


/* ================================
   Meine Termine (Customer) – FINAL
   konfliktfrei durch mb-* Klassen
   ================================ */

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

/* Card */
.mb-card{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
}

/* Top Row */
.mb-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.mb-date{
  font-size:16px;
  font-weight:900;
  letter-spacing:-0.2px;
}
.mb-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
}
.mb-pill{
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
}

/* Status Pills */
.mb-status{
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.2px;
  white-space:nowrap;
}
.mb-status-upcoming{
  background: rgba(255,193,7,.18);
  border:1px solid rgba(255,193,7,.40);
  color:#ffc107;
}
.mb-status-done{
  background: rgba(40,167,69,.18);
  border:1px solid rgba(40,167,69,.40);
  color:#28a745;
}
.mb-status-canceled{
  background: rgba(220,53,69,.18);
  border:1px solid rgba(220,53,69,.40);
  color:#ff5a6a;
}

/* Tiles: klare Kästchen statt grüne Fläche */
.mb-tiles{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
@media (max-width: 900px){
  .mb-tiles{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){
  .mb-tiles{ grid-template-columns: 1fr; }
}

.mb-tile{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12); /* neutral – NICHT grün */
}

.mb-label{
  display:inline-flex;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.2px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
  margin-bottom:8px;
}

.mb-value{
  font-size:14px;
  font-weight:900;
  line-height:1.25;
}

/* Actions */
.mb-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.mb-actions-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
}

/* ===== Modern Book Search (Doctolib-style) ===== */

.alert{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  margin-bottom:14px;
}
.alert-danger{
  border-color: rgba(239,68,68,.35);
  background: rgba(239,68,68,.10);
}

.field label{
  display:block;
  font-weight:800;
  margin-bottom:8px;
}

.field input,
.field select,
.field textarea,
.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.92);
  outline:none;
}
.field textarea{min-height:110px; resize:vertical;}

.stack{display:flex; flex-direction:column; gap:14px;}

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.book-search{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:flex-start;
}

.segmented{
  display:inline-flex;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  border-radius:999px;
  padding:4px;
}

.seg-btn{
  border:0;
  background: transparent;
  color: rgba(255,255,255,.78);
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  font-weight:900;
}
.seg-btn.is-active{
  background: rgba(46,229,157,.14);
  border:1px solid rgba(46,229,157,.30);
  color: rgba(255,255,255,.92);
}

.autocomplete{
  flex:1;
  min-width:280px;
  position:relative;
}

.suggest{
  position:absolute;
  left:0;
  right:0;
  top:54px;
  z-index:40;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(8,11,20,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 50px rgba(0,0,0,.45);
}

.suggest-item{
  width:100%;
  text-align:left;
  border:0;
  background: transparent;
  color: rgba(255,255,255,.92);
  padding:12px 14px;
  cursor:pointer;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.suggest-item:hover{
  background: rgba(255,255,255,.06);
}

.suggest-title{
  font-weight:900;
  letter-spacing:.1px;
}
.suggest-sub{
  font-size:13px;
  margin-top:4px;
  color: rgba(255,255,255,.70);
}
/* ======================================================
   Doctolib-Search (Book Page) – konfliktfrei (bb-*)
   ====================================================== */

.bb-search-wrap{
  max-width: 720px;
}

.bb-search{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;

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

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 44px rgba(0,0,0,.28);

  backdrop-filter: blur(10px);
}

.bb-search-icon{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;

  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.bb-search-input{
  width:100%;
  border:0;
  outline:none;

  background: transparent;
  color: rgba(255,255,255,.92);

  font-size: 15px;
  padding: 10px 4px;
}

.bb-search-input::placeholder{
  color: rgba(255,255,255,.55);
}

.bb-search-hint{
  margin-top:10px;
  font-size: 13px;
}

/* Dropdown */
.bb-suggest{
  position:absolute;
  left:0;
  right:0;
  top: calc(100% + 10px);
  z-index: 60;

  border-radius: 18px;
  overflow:hidden;

  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8,11,20,.92);
  backdrop-filter: blur(14px);

  box-shadow: 0 22px 70px rgba(0,0,0,.55);
}

/* Suggest row */
.bb-suggest-item{
  width:100%;
  text-align:left;

  border:0;
  background: transparent;
  color: rgba(255,255,255,.92);

  padding: 12px 14px;

  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;

  cursor:pointer;

  border-bottom: 1px solid rgba(255,255,255,.08);
}

.bb-suggest-item:last-child{
  border-bottom:0;
}

.bb-suggest-item:hover,
.bb-suggest-item.is-active{
  background: rgba(255,255,255,.06);
}

/* Left block with icon + text */
.bb-suggest-left{
  display:flex;
  gap: 10px;
}

.bb-suggest-icon{
  width:34px;
  height:34px;
  border-radius: 12px;

  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);

  flex: 0 0 auto;
  margin-top:2px;
}

.bb-suggest-title{
  font-weight: 900;
  letter-spacing: .1px;
  line-height: 1.2;
}

.bb-suggest-sub{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255,255,255,.68);
  line-height: 1.35;
}

/* Right chip (Service/Studio) */
.bb-suggest-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 6px 10px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: .2px;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.86);

  margin-top: 2px;
}

/* Steps on book page */
.bb-step{
  padding: 14px 0;
}

.bb-step-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 10px;
}

.bb-step-nr{
  width:28px;
  height:28px;
  border-radius: 10px;

  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(46,229,157,.12);
  border: 1px solid rgba(46,229,157,.25);
  font-weight: 900;
}

.bb-step-title{
  font-weight: 900;
}

/* ===== Tables (Admin/Studio) ===== */
.table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
.table th,
.table td{
  padding:10px 10px;
  border-bottom:1px solid rgba(255,255,255,.10);
  text-align:left;
  vertical-align:middle;
}
.table th{
  color: rgba(255,255,255,.78);
  font-weight:900;
  font-size:12px;
  letter-spacing:.2px;
  text-transform:uppercase;
}

.btn-small{
  padding:8px 10px;
  border-radius:12px;
  font-size:13px;
}
.inline-form{ display:inline; margin:0; }

/* ===== Slot Grid (Doctolib style light) ===== */
.slot-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
  margin-top: 10px;
}
@media (max-width: 900px){
  .slot-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px){
  .slot-grid{ grid-template-columns: repeat(2, 1fr); }
}

.slot{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  cursor:pointer;
  font-weight:900;
  transition: transform .06s ease, background .12s ease;
}
.slot:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
}
/* ===== Slots UI (Studio Public) ===== */
.slots-box{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 12px;
}

.slots-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.slot-btn{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  padding:10px 12px;
  border-radius: 12px;
  cursor:pointer;
  font-weight:900;
}

.slot-btn:hover{
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
}

.slot-btn.is-active{
  background: rgba(46,229,157,.14);
  border-color: rgba(46,229,157,.35);
}

/* Datum Navigation (← / →) */
.date-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.date-btn {
  padding: 6px 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 16px;
}

.date-btn:hover {
  background: rgba(255,255,255,0.15);
}

/* ==========================================
   SAGE THEME OVERRIDES (safe & minimal)
   ========================================== */

/* Global background (statt dunkler Glows) */
body{
  background: linear-gradient(180deg, var(--bg0), var(--bg1)) !important;
  color: var(--text) !important;
}

/* Glows deaktivieren (sonst sieht man noch das alte Neon) */
.bg, .bg-glow{ display:none !important; }

/* Topbar sauber/hell */
.topbar{
  background: rgba(238,243,241,.78) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: blur(10px);
}

/* Links in Sage */
a{ color: var(--accent); }
a:hover{ color: var(--accent2); }

/* Cards clean */
.card{
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow) !important;
}

/* Trennlinien */
.hr,
.nav-sep,
.table th,
.table td{
  border-color: var(--border) !important;
}
.hr{ background: var(--border) !important; }

/* Inputs clean */
.field input,
.field select,
.field textarea,
.input{
  background: #fff !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
.field input::placeholder,
.field textarea::placeholder{
  color: rgba(16,32,26,.45) !important;
}

/* Navigation Pills */
.nav-pill{
  background: #fff !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
.nav-pill:hover{
  background: rgba(143,168,155,.10) !important;
}

/* Primary CTA / Buttons in Sage */
.btn-primary,
.btn.nav-pill-strong{
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #FFFFFF !important; /* Text auf Grün immer weiß */
}
.btn-primary:hover,
.btn.nav-pill-strong:hover{
  background: var(--accent2) !important;
  border-color: var(--accent2) !important;
  color:#FFFFFF !important;
}

/* Standard Buttons neutral hell */
.btn{
  background: #fff !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
.btn:hover{
  background: rgba(143,168,155,.12) !important;
  border-color: rgba(143,168,155,.55) !important;
}

/* Pills / Status */
.pill-success,
.mb-status-done{
  background: rgba(143,168,155,.18) !important;
  border-color: rgba(143,168,155,.45) !important;
  color: var(--accent2) !important;
}

/* Slot Buttons (Studio Public) */
.slot-btn.is-active{
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color:#fff !important;
}
.slot-btn:hover{
  background: rgba(143,168,155,.18) !important;
  border-color: rgba(143,168,155,.55) !important;
}

/* ================================
   FIX: User-Badge Lesbarkeit
   ================================ */

/* Eingeloggter User (Topbar Chip) */
.nav-chip {
  background: #E6F0EC;              /* sehr helles Sage */
  border: 1px solid #D6E2DC;        /* Sage Border */
  color: #2F4F45;                   /* dunkles Grün → gut lesbar */
  font-weight: 700;
}

/* Optional: Hover */
.nav-chip:hover {
  background: #DDEAE4;
}

/* Rolle (customer / studio) – falls extra Text */
.nav-chip small,
.nav-chip span {
  color: #4F6F63;
}

/* ================================
   Sage Theme – Light Overrides (append-only)
   (Wenn nicht gefällt: Block löschen)
   ================================ */

:root{
  --accent:#8FA89B;        /* Sage Green */
  --accentHover:#6F8F82;   /* Darker Sage */
  --surface:#EEF3F1;       /* Very light sage background */
  --line:#D6E2DC;          /* borders / dividers */
  --textDark:#17201c;      /* readable dark text */
  --mutedDark:#55625c;
}

/* General text + backgrounds (keine harte Umstellung, nur lesbarer) */
body{
  color: var(--textDark);
}
.muted{ color: var(--mutedDark); }
.hr{ background: var(--line); }

/* Cards: sauber hell */
.card{
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* Links/Icons/CTA in Sage */
a{ color: var(--accent); }
a:hover{ color: var(--accentHover); }

/* Buttons */
.btn{
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--textDark);
}
.btn:hover{
  background: var(--surface);
  border-color: var(--line);
}

.btn-primary{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff; /* Text auf grün immer weiß */
}
.btn-primary:hover{
  background: var(--accentHover);
  border-color: var(--accentHover);
  color:#fff;
}

/* Nav/User Chip oben: besser sichtbar */
.nav-chip{
  background: rgba(143,168,155,.18);
  border: 1px solid rgba(143,168,155,.35);
  color: var(--textDark);
}
.nav-pill-strong{
  border-color: rgba(143,168,155,.55);
  box-shadow: 0 0 0 4px rgba(143,168,155,.15) inset;
}

/* Inputs */
.field input,
.field select,
.field textarea,
.input{
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--textDark);
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.input:focus{
  border-color: rgba(143,168,155,.70);
  box-shadow: 0 0 0 4px rgba(143,168,155,.18);
}

/* Tables */
.table th,
.table td{
  border-bottom: 1px solid var(--line);
}
.table th{
  color: var(--mutedDark);
}

/* ===== WICHTIG: Slot-Buttons (Booking Page) sollen NICHT "disabled" aussehen ===== */
.slots-box{
  border: 1px solid var(--line);
  background: #ffffff;
}

.slot-btn{
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--textDark);
  transition: transform .06s ease, background .12s ease, border-color .12s ease;
}
.slot-btn:hover{
  background: var(--surface);
  border-color: rgba(143,168,155,.55);
  transform: translateY(-1px);
}
.slot-btn.is-active{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Slot-Grid (falls du beide Varianten nutzt) */
.slot{
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--textDark);
}
.slot:hover{
  background: var(--surface);
  border-color: rgba(143,168,155,.55);
}
/* ======================================================
   FIXES für Light/Sage Theme:
   1) Suche (/book): Text + Placeholder sichtbar
   2) Meine Termine (/my-bookings): Tiles/Kästchen klarer
   ====================================================== */

/* ---------- 1) Suche / Inputs allgemein ---------- */

/* Standard Inputs (falls irgendwo Text "weiß" bleibt) */
.field input,
.field select,
.field textarea,
.input{
  color: #1f2a24 !important;                 /* dunkel lesbar */
  background: #FFFFFF !important;
  border-color: #D6E2DC !important;
}

.field input::placeholder,
.field textarea::placeholder,
.input::placeholder{
  color: rgba(31,42,36,.55) !important;      /* sichtbar */
}

/* Doctolib-Search Input (/book) */
.bb-search-input{
  color: #1f2a24 !important;
}
.bb-search-input::placeholder{
  color: rgba(31,42,36,.55) !important;
}

/* Falls deine alte "autocomplete" Search noch irgendwo genutzt wird */
.autocomplete input{
  color:#1f2a24 !important;
}
.autocomplete input::placeholder{
  color: rgba(31,42,36,.55) !important;
}

/* Dropdown Vorschläge: Text dunkel auf hell */
.bb-suggest,
.suggest{
  background: #FFFFFF !important;
  border-color: #D6E2DC !important;
}
.bb-suggest-item,
.suggest-item{
  color: #1f2a24 !important;
}
.bb-suggest-sub,
.suggest-sub{
  color: rgba(31,42,36,.70) !important;
}
.bb-suggest-item:hover,
.bb-suggest-item.is-active,
.suggest-item:hover{
  background: #EEF3F1 !important;
}

/* ---------- 2) Meine Termine – Tiles/Kästchen klarer ---------- */

.mb-card{
  background: #FFFFFF !important;
  border-color: #D6E2DC !important;
}

.mb-tile{
  background: #EEF3F1 !important;            /* sehr helles Sage */
  border: 1px solid #D6E2DC !important;      /* klare Trennung */
  box-shadow: 0 6px 18px rgba(0,0,0,.06);     /* ganz subtil */
}

.mb-label{
  background: #FFFFFF !important;
  border-color: #D6E2DC !important;
  color: #6F8F82 !important;                 /* dunkleres Sage */
}

.mb-value{
  color: #1f2a24 !important;
}

/* Optional: Buttons in "Meine Termine" etwas klarer im Light Theme */
.mb-actions .btn,
.mb-actions-right .btn{
  background: #FFFFFF !important;
  border-color: #D6E2DC !important;
  color: #1f2a24 !important;
}
.mb-actions .btn:hover,
.mb-actions-right .btn:hover{
  background: #EEF3F1 !important;
}
/* ======================================================
   SOFT SAGE LOOK – weniger Weiß, mehr Ruhe
   ====================================================== */

/* Seiten-Hintergrund leicht Sage (statt rein weiß) */
body{
  background: linear-gradient(
          180deg,
          #EEF3F1 0%,
          #E8EFEC 100%
  ) !important;
}

/* Haupt-Cards (Meine Termine, Buchen, Studio) */
.card,
.mb-card{
  background: #F4F8F6 !important;      /* sehr helles Sage */
  border: 1px solid #D6E2DC !important;
}

/* Termin-Kästchen (Studio / Service / Dauer / Preis) */
.mb-tile{
  background: #EEF3F1 !important;      /* Sage statt weiß */
  border: 1px solid #D6E2DC !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
}

/* Labels in Kästchen */
.mb-label{
  background: #E3ECE8 !important;      /* dunkleres Sage */
  border-color: #C7D8D0 !important;
  color: #6F8F82 !important;
}

/* Werte/Text */
.mb-value{
  color: #1f2a24 !important;
}

/* Status-Pills */
.mb-status-upcoming{
  background: #EAF2EE !important;
  border-color: #8FA89B !important;
  color: #6F8F82 !important;
}

.mb-status-done{
  background: #E3EFE9 !important;
  border-color: #7FA08F !important;
  color: #557C6C !important;
}

.mb-status-canceled{
  background: #F6EAEA !important;
  border-color: #E2BABA !important;
  color: #B85C5C !important;
}

/* Buttons ruhiger */
.btn{
  background: #FFFFFF !important;
  border-color: #D6E2DC !important;
  color: #1f2a24 !important;
}
.btn:hover{
  background: #EEF3F1 !important;
}

/* Primäre Buttons (CTA) */
.btn-primary{
  background: #8FA89B !important;
  border-color: #8FA89B !important;
  color: #FFFFFF !important;
}
.btn-primary:hover{
  background: #6F8F82 !important;
}
/* ======================================================
   FIX: Texte im Light/Sage Theme lesbar machen
   (Home + überall wo noch "weiß" aus dem Darkmode kommt)
   ====================================================== */

/* Standard-Textfarben */
body{
  color: #1f2a24 !important;
}

/* Muted Texte (z.B. Beschreibungen, kleine Infos) */
.muted,
.lead,
p,
li,
.small,
.footer,
.footer *{
  color: rgba(31,42,36,.72) !important;
}

/* Überschriften */
h1,h2,h3,h4,h5{
  color:#14201b !important;
}

/* Cards / Boxen: Text sicher dunkel */
.card,
.card *,
.cta-box,
.cta-box *,
.quick-item,
.quick-item *,
.stat,
.stat *,
.table,
.table *{
  color:#1f2a24;
}

/* Tabellen-Header nicht mehr hell */
.table th{
  color: rgba(31,42,36,.65) !important;
}

/* Pills/Nav-Chips im Light-Mode lesbar */
.nav-chip{
  background: #E3ECE8 !important;
  border-color: #C7D8D0 !important;
  color: #1f2a24 !important;
}

/* Badge-Farben (falls noch alte grün/weiß Kombis drin sind) */
.badge{
  color: rgba(31,42,36,.75) !important;
  border-color: #D6E2DC !important;
}
/* Logo in Topbar größer */
.topbar-row{
  height: 100px;              /* vorher 64px -> mehr Platz */
}

.brand-logo{
  height: 72px;              /* <<< DAS ist die Logo-Größe */
  width: auto;
  display: block;
  object-fit: contain;
}

/* optional: wenn Logo in einem "Pill/Chip" liegt */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
/* Secondary Link-Button (Ghost) */
.btn-ghost{
  background: transparent;
  border-color: rgba(143,168,155,.45); /* sage border */
  color: #6F8F82; /* darker sage */
}
.btn-ghost:hover{
  background: rgba(143,168,155,.10);
  border-color: rgba(143,168,155,.65);
}

/* Hero: Buttons nicht zu “wuchtig” */
.hero-actions .btn{
  min-width: 170px;
}
/* ===== Home – How it works Card ===== */

.how-card{
  background: #EEF3F1;
  border: 1px solid #D6E2DC;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.how-step{
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: #35524A;
}

.how-dot{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #8FA89B;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
/* Meine Termine Cover */
.bb-cover-bookings{
  background-image:
          linear-gradient(rgba(245,248,247,.72), rgba(245,248,247,.72)),
          url("/static/img/my-bookings-cover.png");
}

/* ===== STATUS BADGES (GLOBAL) ===== */
.bb-status{
  display:inline-flex !important;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.3px;
  line-height:1;
  background:#eee;
}

.bb-status-dot{
  width:10px;
  height:10px;
  border-radius:50%;
}

/* ROT – STORNIERT */
.bb-status--canceled{
  background:#fee2e2 !important;
  color:#7f1d1d !important;
  border:1px solid #dc2626 !important;
}
.bb-status--canceled .bb-status-dot{
  background:#dc2626 !important;
}

/* BLAU – BEVORSTEHEND */
.bb-status--pending{
  background:#dbeafe !important;
  color:#1e3a8a !important;
  border:1px solid #3b82f6 !important;
}
.bb-status--pending .bb-status-dot{
  background:#3b82f6 !important;
}

/* GRÜN – ABGESCHLOSSEN */
.bb-status--completed{
  background:#dcfce7 !important;
  color:#14532d !important;
  border:1px solid #22c55e !important;
}
.bb-status--completed .bb-status-dot{
  background:#22c55e !important;
}



/* === GutachterBook Light Overrides (no cover images) === */
.topbar{
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--border);
}
.nav-pill{
  background: rgba(0,0,0,.03);
  border:1px solid rgba(0,0,0,.06);
}
.nav-pill:hover{ background: rgba(0,0,0,.05); }
.nav-pill-strong{
  border-color: rgba(46,107,230,.28);
  box-shadow: 0 0 0 4px rgba(46,107,230,.10) inset;
}
.nav-chip{
  background: rgba(46,107,230,.10);
  border:1px solid rgba(46,107,230,.18);
  color: var(--text);
}
.nav-sep{ background: rgba(0,0,0,.08); }

.btn{
  background: rgba(0,0,0,.03);
  border:1px solid rgba(0,0,0,.08);
  color: var(--text);
}
.btn:hover{ background: rgba(0,0,0,.05); }
.btn-primary{
  background: linear-gradient(135deg, rgba(46,107,230,.92), rgba(18,86,204,.92));
  border-color: rgba(46,107,230,.35);
  color: #fff;
}

.hr{ background: var(--border); }
.lead{ color: var(--muted); }
.badge{
  background: rgba(0,0,0,.03);
  border:1px solid rgba(0,0,0,.06);
  color: var(--muted);
}

.list{ color: var(--text); }
.booking-k{ color: var(--muted); }

.footer{
  background: rgba(255,255,255,.55);
  border-top:1px solid var(--border);
}
/* ==========================================
   Studio Dashboard (Premium) – dash-*
   append-only, bricht nichts
   ========================================== */

.dash-wrap{max-width:1120px;margin:0 auto;}
.dash-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:start}
@media (max-width: 980px){ .dash-hero{grid-template-columns:1fr;} }

.dash-kicker{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.2px;
  background: rgba(143,168,155,.18);
  border: 1px solid rgba(143,168,155,.35);
  color: #35524A;
}

.dash-title{margin:10px 0 6px;font-size:34px;line-height:1.1}
.dash-sub{max-width:560px}

.dash-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

.dash-kpis{display:grid;grid-template-columns:1fr;gap:10px}
@media (min-width: 980px){ .dash-kpis{grid-template-columns:1fr;} }

.dash-kpi{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 12px;
  background: rgba(143,168,155,.10);
}
.dash-kpi-label{font-size:12px;font-weight:900;color:#35524A;letter-spacing:.2px;text-transform:uppercase}
.dash-kpi-value{margin-top:6px;font-size:18px;font-weight:900;color:#10201A}
.dash-kpi-hint{margin-top:4px;font-size:12px}

.dash-grid{
  margin-top:16px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}
@media (max-width: 980px){
  .dash-grid{grid-template-columns:1fr}
}

.dash-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}

.dash-quick{display:grid;gap:10px;margin-top:12px}
.dash-quick-item{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:14px;border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease;
}
.dash-quick-item:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.07);
  background: #F4F8F6;
}
.dash-quick-title{font-weight:900;margin-bottom:4px}
.dash-arrow{font-weight:900;opacity:.6}

.dash-checklist{display:grid;gap:8px;margin-top:12px}
.dash-check{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:800;
  color:#1f2a24;
}

.page-center {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.card-form {
  width: 100%;
  max-width: 900px;   /* 👈 macht es groß & hochwertig */
}
.studio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.gallery-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}
/* =========================
   FIX: Studio Carousel Clicks
   ========================= */

.bb-studio-hero{
  padding:0;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.bb-studio-hero .card{
  overflow: visible;
}
.bb-carousel{
  position: relative;
  width: 100%;
  height: 420px;          /* feste Höhe statt aspect-ratio */
  max-height: 420px;
  overflow: hidden;
  border-radius: 20px;
}

.bb-car-btn{
  z-index: 30;
}

.bb-hero-meta{
  position: relative;
  z-index: 10;
}
.bb-car-track{
  position: relative;
  width: 100%;
  height: 100%;
}

.bb-car-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;

  opacity:0;
  transform: scale(1.015);
  transition:
          opacity .45s cubic-bezier(.4,0,.2,1),
          transform .6s cubic-bezier(.4,0,.2,1);

  will-change: opacity, transform;
  backface-visibility: hidden;
}

.bb-car-img.is-active{
  opacity:1;
  transform: scale(1);
  z-index:2;
}

.bb-car-btn{
  pointer-events: auto;
}
/* ====================================
   GLOBAL DESIGN UPGRADE – PROFESSIONAL
==================================== */

/* Hintergrund ruhiger & cleaner */
body{
  background:#f4f6f5;
}

/* Allgemeine Cards schöner */
.bb-inner-card,
.card,
.section-card{
  background:#ffffff;
  border-radius:20px;
  box-shadow:0 20px 60px rgba(0,0,0,0.05);
  border:none;
}

/* Mehr Abstand zwischen Sections */
.bb-page-wrapper{
  padding-top:40px;
  padding-bottom:60px;
}

/* Footer cleaner */
.footer{
  margin-top:60px;
  opacity:.7;
}
/* ====================================
   NAVBAR UPGRADE
==================================== */

.topbar{
  background:rgba(255,255,255,.75);
  backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(0,0,0,.05);
}

.nav-pill{
  transition:all .2s ease;
}

.nav-pill:hover{
  background:rgba(0,0,0,.04);
}

.nav-pill-strong{
  background:#6f8f84;
  color:white !important;
  border-radius:999px;
  padding:8px 16px;
}
.brand-name{
  font-weight:700;
  letter-spacing:-0.3px;
}

.brand-dot{
  width:10px;
  height:10px;
  background:#6f8f84;
  border-radius:50%;
}
/* =========================
   Premium Filter Bar
========================= */

.bb-filter{
  background:#ffffff;
  border-radius:20px;
  padding:22px;
  box-shadow:0 10px 40px rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.04);
}

.bb-filter-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap:18px;
  align-items:end;
}

@media (max-width: 980px){
  .bb-filter-grid{
    grid-template-columns:1fr;
  }
}

.bb-filter .field label{
  font-size:12px;
  font-weight:600;
  color:#6f7a74;
  margin-bottom:6px;
}

.bb-filter input,
.bb-filter select{
  height:46px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  padding:0 14px;
  font-size:14px;
  transition:.2s ease;
  background:#fafafa;
}

.bb-filter input:focus,
.bb-filter select:focus{
  border-color:#1f3d2b;
  background:#fff;
  box-shadow:0 0 0 3px rgba(31,61,43,.08);
}

.bb-actions .btn-primary{
  height:46px;
  padding:0 26px;
  border-radius:12px;
  font-weight:600;
  box-shadow:0 8px 24px rgba(31,61,43,.25);
}
.bb-result-title{
  font-size:16px;
  font-weight:600;
  color:#1f3d2b;
}
.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 80px 20px;
}

.legal-page h1 {
  font-size: 32px;
  margin-bottom: 30px;
}

.legal-page h2 {
  margin-top: 30px;
  font-size: 20px;
}

.legal-page p {
  color: #555;
  line-height: 1.6;
}
.site-footer {
  margin-top: 100px;
  padding: 30px 40px;
  border-top: 1px solid rgba(0,0,0,.06);
  background: #fafafa;
}

.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #1f3d2b;
}
/* ================================
   SAFARI FIX – CAROUSEL LAYER BUG
   ================================ */

.bb-carousel{
  position: relative;
  z-index: 5;
  isolation: isolate;              /* 🔥 wichtig */
  transform: translateZ(0);        /* 🔥 GPU layer */
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.bb-car-track{
  position: relative;
  z-index: 1;
}

.bb-hero-meta{
  position: relative;
  z-index: 20;                     /* über Carousel */
}
/* =========================
   Logout Button – Danger Style (NAV ONLY)
========================= */

.nav-logout {
  margin-left: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #b4232c;
  color: white !important;
  font-weight: 600;
  border: 1px solid #b4232c;
  transition: all 0.2s ease;
}

.nav-logout:hover {
  background: #8f1c23;
  border-color: #8f1c23;
  box-shadow: 0 8px 20px rgba(180, 35, 44, .25);
}


/* ==============================
   BUTTON SYSTEM
============================== */

.btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-small {
  padding: 6px 12px;
  font-size: 13px;
}

/* Primary */

.btn-primary {
  background: #5c7c6f;
  border: 1px solid #5c7c6f;
  color: white;
}

.btn-primary:hover {
  background: #4b665b;
  border-color: #4b665b;
}


/* Secondary */

.btn-secondary {
  background: #f2f2f2;
  border: 1px solid #ddd;
  color: #333;
}

.btn-secondary:hover {
  background: #e6e6e6;
}

/* ==============================
   KPI DASHBOARD
============================== */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.kpi-card {
  background: white;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.kpi-number {
  font-size: 30px;
  font-weight: 700;
}

.kpi-label {
  font-size: 14px;
  opacity: 0.6;
}


/* ==============================
   BADGES
============================== */

.badge-green {
  background: #e8f5e9;
  color: #1b5e20;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.badge-red {
  background: #fdecea;
  color: #b02a37;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.badge-blue {
  background: #e3f2fd;
  color: #0d47a1;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.badge-gray {
  background: #f0f0f0;
  color: #555;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}


/* ==============================
   TABLE HOVER
============================== */

.table-row:hover {
  background: rgba(0,0,0,0.03);
  transition: 0.2s ease;
}
/* ======================================================
   GLOBAL BUTTON SYSTEM – FINAL CLEAN VERSION
   ====================================================== */

/* Base Button */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 16px;
  border-radius:999px;
  font-weight:600;
  border:1px solid #D6E2DC;
  background:#ffffff;
  color:#1f2a24;
  cursor:pointer;
  transition:all .2s ease;
}

.btn:hover{
  background:#EEF3F1;
  transform:translateY(-1px);
}

/* Small */
.btn-small{
  padding:6px 12px;
  font-size:13px;
}

/* Primary */
.btn-primary{
  background:#5c7c6f;
  border-color:#5c7c6f;
  color:#ffffff;
}

.btn-primary:hover{
  background:#4b665b;
  border-color:#4b665b;
}

/* Danger (DELETE etc) */
.btn-danger{
  background:#b4232c;
  border-color:#b4232c;
  color:#ffffff;
}

.btn-danger:hover{
  background:#8f1c23;
  border-color:#8f1c23;
}

/* Logout (NAV ONLY) */
.nav-logout{
  margin-left:20px;
  padding:8px 16px;
  border-radius:999px;
  background:#b4232c;
  color:#ffffff !important;
  font-weight:600;
  border:1px solid #b4232c;
  transition:all .2s ease;
}

.nav-logout:hover{
  background:#8f1c23;
  border-color:#8f1c23;
}
/* =========================
   MOBILE NAV FIX
========================= */

.nav-burger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 900px) {

  .nav-burger {
    display: block;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    z-index: 999;
  }

  .nav-pill,
  .nav-logout,
  .nav-chip {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .nav.is-open {
    display: flex;
  }
}
@media (max-width: 900px){

  .topbar-row{
    height: 70px !important;
  }

  .brand-name{
    font-size: 16px;
  }

  .nav{
    top: 70px !important;
  }

}
@media (max-width: 900px){

  .hero{
    grid-template-columns: 1fr !important;
  }

  h1{
    font-size: 28px !important;
    line-height: 1.2;
  }

  .hero-actions{
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn{
    width: 100%;
  }

  .stats{
    grid-template-columns: 1fr;
  }

}
@media (max-width: 480px){

  body{
    font-size: 14px;
  }

  h1{
    font-size: 24px !important;
  }

}
/* =====================================================
   MOBILE FIX – Desktop bleibt unberührt
   ===================================================== */

@media (max-width: 900px){

  /* Container enger & sauber */
  .app-container{
    padding: 30px 18px 60px 18px !important;
  }

  /* Hero komplett untereinander */
  .hero{
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  h1{
    font-size: 28px !important;
    line-height: 1.25 !important;
    text-align: center;
  }

  .lead{
    text-align:center;
    font-size: 15px;
  }

  .hero-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn{
    width:100%;
  }

  .stats{
    grid-template-columns:1fr !important;
    text-align:center;
  }

  /* Schnellbuchungs-Card */
  .how-card,
  .cta-box,
  .card{
    padding:22px !important;
    border-radius:20px !important;
  }

  /* Section spacing */
  .section{
    margin-top:50px !important;
  }

  /* Footer schöner */
  .footer-inner{
    flex-direction:column;
    gap:12px;
    text-align:center;
  }

}
@media (max-width: 768px){
  h1{
    font-size:28px;
    line-height:1.2;
  }
}
@media (max-width: 768px){
  .stats{
    grid-template-columns:1fr;
    gap:16px;
    text-align:center;
  }
}
/* ===== FIX: Mobile Click Overlay Bug ===== */

.hero,
.hero * {
  position: relative;
  z-index: 2;
}

.hero::before,
.hero::after {
  pointer-events: none !important;
}

.bb-studio-hero,
.bb-carousel,
.bg,
.bg-glow {
  pointer-events: none !important;
}