:root{
  --bg:#0b0f14;
  --panel:#0f1620;
  --card:#111b27;
  --text:#e8eef6;
  --muted:#a9b6c7;
  --line:rgba(255,255,255,.08);
  --accent:#7dd3fc;
  --accent2:#a78bfa;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1100px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

html{
  background: var(--panel);
}

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: radial-gradient(1200px 700px at 20% -10%, rgba(125,211,252,.18), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(167,139,250,.12), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

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

.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.section{padding:42px 0}

.site-header{
  height: 72px;      
  position: sticky; top:0; z-index:50;
  background: rgba(11,15,20,.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}

/*
.brand{
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--text);
  font-size: 18px;
}
.brand span{color: var(--accent)}
*/

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo{
  max-height: 45px;             /* ← använd max-height */
  width: auto;
  height: auto;
  display: block;
}

.nav{display:flex; gap:14px; flex-wrap:wrap}
.nav a{
  color: var(--muted);
  padding:8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.nav a.active, .nav a:hover{
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.03);
}

.hero{padding:52px 0 24px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
}
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
}

h1{font-size:42px; line-height:1.1; margin:0 0 14px}
@media (max-width: 600px){ h1{font-size:34px} }

.lead{color:var(--muted); font-size: 17px; margin: 0 0 18px}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.card.highlight{
  background: radial-gradient(800px 250px at 10% 10%, rgba(125,211,252,.10), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
}

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

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor:pointer;
}
.btn.primary{
  border-color: rgba(125,211,252,.30);
  background: linear-gradient(90deg, rgba(125,211,252,.18), rgba(167,139,250,.14));
}
.btn:hover{transform: translateY(-1px)}
.cta-row{display:flex; gap:10px; flex-wrap:wrap; margin: 0 0 14px}

.pill-row{display:flex; gap:8px; flex-wrap:wrap}
.pill{
  color: var(--muted);
  border:1px solid var(--line);
  padding:6px 10px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255,255,255,.02);
}

.clean-list{list-style:none; padding:0; margin: 10px 0 0}
.clean-list li{padding:9px 0; border-top: 1px solid var(--line)}
.clean-list li:first-child{border-top:0}

.muted{color:var(--muted)}
.small{font-size: 13px}

.site-footer{
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.footer-inner{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}

/* Booking layout */
.booking-layout{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
}
@media (max-width: 900px){
  .booking-layout{grid-template-columns:1fr}
}

.calendar-header{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin-bottom: 12px;
}
.kicker{font-size: 12px; letter-spacing:.12em; text-transform: uppercase; color: var(--muted)}
.month-title{font-size: 18px; font-weight: 650}

.icon-btn{
  width: 40px; height: 40px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor:pointer;
}

.calendar-grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:8px;
}
.day-name{
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 6px 4px;
}
.day{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding:10px;
  min-height: 52px;
  cursor:pointer;
  position: relative;
}
.day.disabled{
  opacity: .35;
  cursor: default;
}
.day.selected{
  outline: 2px solid rgba(125,211,252,.35);
}
.badge{
  position:absolute;
  right:10px;
  top:10px;
  font-size: 10px;
  color: var(--text); 
  background: rgba(125,211,252,.16);
  border:1px solid rgba(125,211,252,.25);
  padding:2px 8px;
  border-radius: 999px;
}

.times{margin-top: 14px}
.h3{margin: 0 0 10px; font-size: 18px}
.time-slots{
  display:flex; flex-wrap:wrap; gap:8px;
}
.slot{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  border-radius: 999px;
  padding:8px 12px;
  cursor:pointer;
  font-size: 14px;
}
.slot.selected{
  border-color: rgba(125,211,252,.35);
  background: rgba(125,211,252,.12);
}

.form{display:flex; flex-direction:column; gap:12px}
label{display:flex; flex-direction:column; gap:7px; color: var(--muted); font-size: 14px}
input,textarea{
  border:1px solid var(--line);
  border-radius: 14px;
  padding:10px 12px;
  background: rgba(5,8,12,.35);
  color: var(--text);
  outline: none;
}
input:focus, textarea:focus{border-color: rgba(125,211,252,.35)}
.notice{
  border:1px solid var(--line);
  border-radius: 14px;
  padding:12px;
  margin-bottom: 12px;
  background: rgba(255,255,255,.02);
}
.price-list{margin-top: 8px}
.price-row{
  display:flex; justify-content:space-between;
  padding:10px 0;
  border-top:1px solid var(--line);
}
.price-row:first-child{border-top:0}

.contact-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}

.xselectionText{
  margin-top: 6px;
  white-space: pre-line; /* gör \n till nya rader */
}

.selectionText{ white-space: normal; }

.selectionHeader{
  margin-top: 2px;
  font-weight: 600;
}

.selectionList{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.selectionRow{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.clearAllBtn{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  border-radius: 12px;
  cursor: pointer;
  line-height: 1;
}

.dayClearBtn{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);              /* ikonfärg */
  border-radius: 12px;
  cursor: pointer;
}

.dayClearBtn:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.dayClearBtn svg{
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;            /* ärv färg */
}


.clearAllWrap{
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.clearAllBtn{
  padding: 10px 12px;
}

/* Mobil: ersätt siffra-badge med färgprick (sparar plats) */
@media (max-width: 900px){
  .contact-grid{grid-template-columns:1fr}
}

/* Mobil: ersätt siffra-badge med färgprick (sparar plats) */
@media (max-width: 600px){
    
  .badge{
    padding: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    right: 7px;
    top: 7px;
    background: rgba(125,211,252,.70);
    border: 1px solid rgba(125,211,252,.85);
    color: transparent;        /* göm texten */
    overflow: hidden;
    text-indent: -9999px;      /* extra säkert */
  }
}


/* =========================
   Light theme (toggle via: <body class="theme-light">)
   ========================= */
body.theme-light{
  --bg: #f7f8fb;
  --panel: rgba(255,255,255,.78);
  --card: #ffffff;
  --text: #0b1220;
  --muted: #4b5b70;
  --line: rgba(10,18,32,.12);
  --accent: #d01000;   /* matchar logons röda ton */
  --accent2: #0ea5e9;  /* sval sekundäraccent */
  --shadow: 0 10px 30px rgba(15,23,42,.10);
}

/* Bakgrund */
body.theme-light{
  background:
    radial-gradient(1200px 700px at 18% -10%, rgba(208,16,0,.06), transparent 60%),
    radial-gradient(900px 600px at 92% 0%, rgba(14,165,233,.08), transparent 55%),
    var(--bg);
}

/* Header */
body.theme-light .site-header{
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
body.theme-light .nav a.active,
body.theme-light .nav a:hover{
  background: rgba(10,18,32,.04);
  border-color: var(--line);
}

/* Cards */
body.theme-light .card{
  background: var(--card);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
body.theme-light .card.highlight{
  background:
    radial-gradient(800px 250px at 10% 10%, rgba(208,16,0,.06), transparent 60%),
    var(--card);
}

/* Buttons */
body.theme-light .btn{
  background: rgba(255,255,255,.75);
  border-color: var(--line);
  color: var(--text);
}
body.theme-light .btn.primary{
  border-color: rgba(208,16,0,.25);
  /* background: linear-gradient(90deg, rgba(208,16,0,.10), rgba(14,165,233,.10)); */
  background: linear-gradient(90deg, rgba(208,16,0,.10), rgba(208,16,0,.3));
  /* background: rgba(208,16,0,.10);    */
}

/* Inputs */
body.theme-light input,
body.theme-light textarea{
  background: rgba(255,255,255,.92);
  border-color: var(--line);
  color: var(--text);
}
body.theme-light input:focus,
body.theme-light textarea:focus{
  border-color: rgba(208,16,0,.25);
}

/* Kalender */
body.theme-light .day{
  background: rgba(255,255,255,.85);
  border-color: var(--line);
}
body.theme-light .day.selected{
  outline: 2px solid rgba(208,16,0,.22);
}
body.theme-light .badge{
  color: var(--text);
  background: rgba(208,16,0,.10);
  border-color: rgba(208,16,0,.20);
}

/* Tids-slots */
body.theme-light .slot{
  background: rgba(255,255,255,.85);
  border-color: var(--line);
}
body.theme-light .slot.selected{
  border-color: rgba(208,16,0,.25);
  background: rgba(208,16,0,.10);
}

/* Notice */
body.theme-light .notice{
  background: rgba(255,255,255,.85);
  border-color: var(--line);
}

/* Footer */
body.theme-light .site-footer{
  border-top: 1px solid var(--line);
}

/* Rensa-knappar i urvalet */
body.theme-light .dayClearBtn,
body.theme-light .clearAllBtn{
  background: rgba(255,255,255,.85);
  border-color: var(--line);
}
body.theme-light .clearAllBtn:hover,
body.theme-light .dayClearBtn:hover{
  background: rgba(208,16,0,.08);
  border-color: rgba(208,16,0,.20);
  color: var(--text);
}