/* =====================================================
   BJØRKELANGEN MINILAGER – MAIN STYLESHEET
   ===================================================== */

:root {
  --primary:       #1a3550;
  --primary-dark:  #122540;
  --primary-light: #2a4e6e;
  --accent:        #f08c00;
  --accent-dark:   #d67a00;
  --accent-light:  #ff9f1a;
  --success:       #27ae60;
  --danger:        #e74c3c;
  --text:          #2d3748;
  --text-light:    #718096;
  --bg:            #f7f9fc;
  --bg-dark:       #edf2f7;
  --white:         #ffffff;
  --border:        #e2e8f0;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:        0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 25px rgba(0,0,0,.1), 0 4px 10px rgba(0,0,0,.07);
  --radius:        8px;
  --radius-lg:     16px;
  --transition:    .2s ease;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --admin-bar-h:   48px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.is-admin { padding-top: var(--admin-bar-h); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 700; color: var(--primary); }

/* CONTAINER */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ===================== ADMIN TOPBAR ===================== */
.admin-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--admin-bar-h);
  background: var(--primary-dark);
  color: var(--white);
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.admin-topbar-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.25rem;
  gap: 1rem;
  max-width: 1600px;
  margin: 0 auto;
}
.admin-topbar-logo { font-weight: 700; font-size: .85rem; white-space: nowrap; margin-right: auto; }
.admin-topbar-links { display: flex; align-items: center; gap: .5rem; flex-wrap: nowrap; }
.admin-topbar-links a {
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  padding: .3rem .7rem;
  border-radius: 4px;
  white-space: nowrap;
  transition: all var(--transition);
}
.admin-topbar-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.btn-topbar { background: var(--accent) !important; color: var(--white) !important; font-weight: 600; }
.btn-topbar:hover { background: var(--accent-dark) !important; }
.btn-logout { background: rgba(231,76,60,.7) !important; }
.btn-logout:hover { background: var(--danger) !important; }
.admin-topbar-toggle { display: none; background: none; border: none; color: white; font-size: 1.25rem; cursor: pointer; margin-left: auto; }
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--danger); color: white;
  font-size: .65rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  margin-left: 4px; line-height: 1;
}

/* ===================== SITE HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.is-admin .site-header { top: var(--admin-bar-h); }
.header-inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 1.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 44px; height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  letter-spacing: -.5px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-size: 1rem; font-weight: 700; color: var(--primary); }
.logo-sub  { font-size: .7rem; font-weight: 500; color: var(--text-light); text-transform: uppercase; letter-spacing: .05em; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: .25rem; }
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: block;
  padding: .5rem .85rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--accent);
  background: rgba(240,140,0,.07);
}
.main-nav .arrow { font-size: .65rem; margin-left: 2px; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
  padding: .5rem 0;
}
.dropdown a { padding: .6rem 1.25rem; border-radius: 0; }
.dropdown a:hover { background: var(--bg); }

.header-cta { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.header-user { font-size: .8rem; color: var(--text-light); white-space: nowrap; }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
  flex-shrink: 0;
}
.mobile-menu-toggle span {
  display: block; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
  width: 100%;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-lg  { padding: .8rem 1.8rem; font-size: 1rem; }
.btn-sm  { padding: .4rem 1rem; font-size: .82rem; }
.btn-xs  { padding: .3rem .7rem; font-size: .75rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240,140,0,.35);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--bg);
  color: var(--primary-dark);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: var(--white);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 85vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,53,80,.92) 0%, rgba(26,53,80,.65) 100%);
}
.hero .container { position: relative; z-index: 1; padding: 6rem 1.25rem 8rem; }
.hero-content { max-width: 700px; }
.hero-title { margin-bottom: 1.25rem; }
.hero-title h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  font-weight: 800;
}
.hero-title .highlight { color: var(--accent-light); }
.hero-text { margin-bottom: 2rem; }
.hero-text p { font-size: 1.15rem; color: rgba(255,255,255,.85); line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-bg-edit-btn {
  position: absolute;
  bottom: 100px; right: 1.5rem;
  z-index: 10;
  background: rgba(0,0,0,.5);
  color: white;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  padding: .4rem .8rem;
  font-size: .75rem;
  cursor: pointer;
  transition: background var(--transition);
}
.hero-bg-edit-btn:hover { background: rgba(0,0,0,.7); }

/* ===================== FEATURES ===================== */
.features-section {
  background: var(--bg);
  padding: 4rem 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: .5rem; }
.feature-card p { font-size: .875rem; color: var(--text-light); }

/* ===================== ABOUT ===================== */
.about-section { padding: 5rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text .section-heading h2 { font-size: 2rem; margin-bottom: 1rem; }
.about-body p, .about-body ul { margin-bottom: 1rem; color: var(--text-light); line-height: 1.8; }
.about-body a { color: var(--accent); }
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder { border-radius: var(--radius-lg); overflow: hidden; }
.image-placeholder svg { width: 100%; display: block; }
.img-replace-btn {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,.6); color: white;
  border: none; border-radius: var(--radius);
  padding: .3rem .6rem; font-size: .75rem; cursor: pointer;
  opacity: 0; transition: opacity var(--transition);
}
.about-image:hover .img-replace-btn { opacity: 1; }

/* ===================== STORAGE TYPES ===================== */
.storage-types-section { background: var(--bg); padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; margin-bottom: .75rem; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }
.storage-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.storage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: all var(--transition);
}
.storage-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); }
.storage-card-alt {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.storage-card-alt h3, .storage-card-alt p { color: rgba(255,255,255,.9); }
.storage-card-icon { font-size: 3rem; margin-bottom: 1rem; }
.storage-card h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.storage-card > p { color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.7; }
.storage-card-alt > p { color: rgba(255,255,255,.75); }
.storage-features { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.storage-features li { font-size: .9rem; color: var(--text-light); }
.storage-card-alt .storage-features li { color: rgba(255,255,255,.8); }

/* ===================== CTA BANNER ===================== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 5rem 0;
}
.cta-inner { text-align: center; }
.cta-inner h2 { font-size: 2.25rem; color: var(--white); margin-bottom: .75rem; }
.cta-inner p { color: rgba(255,255,255,.88); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===================== CONTENT SECTION ===================== */
.content-section { padding: 4rem 0; }
.content-section:nth-of-type(even) { background: var(--bg); }

/* ===================== PAGE HERO ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  padding: 4rem 0;
  color: white;
}
.page-hero-sm { padding: 2.5rem 0; }
.page-hero h1 { color: white; font-size: clamp(1.75rem, 4vw, 2.75rem); margin-top: .5rem; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,.5); }

/* ===================== PAGE CONTENT ===================== */
.page-content { padding: 3.5rem 0 4rem; }

/* ===================== FILTER TABS ===================== */
.filter-tabs { display: flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.filter-tab {
  padding: .5rem 1.2rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  border: 2px solid var(--border);
  color: var(--text-light);
  background: var(--white);
  transition: all var(--transition);
}
.filter-tab.active, .filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(240,140,0,.07);
}

/* ===================== UNITS GRID ===================== */
.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.unit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.unit-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); transform: translateY(-2px); }
.unit-unavailable { opacity: .7; }
.unit-card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem .75rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.unit-type-badge {
  font-size: .75rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 50px;
}
.badge-temp  { background: rgba(41,182,246,.15); color: #0369a1; }
.badge-ntemp { background: rgba(234,179,8,.15);  color: #854d0e; }
.unit-status {
  font-size: .75rem; font-weight: 700;
  padding: .2rem .6rem; border-radius: 50px;
}
.status-available { background: rgba(39,174,96,.15); color: var(--success); }
.status-taken     { background: rgba(231,76,60,.12);  color: var(--danger); }
.unit-name  { font-size: 1.1rem; padding: 1rem 1.25rem .25rem; color: var(--primary); }
.unit-size  { padding: 0 1.25rem .5rem; }
.size-value { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.unit-desc  { font-size: .85rem; color: var(--text-light); padding: 0 1.25rem .75rem; }
.unit-location { font-size: .8rem; color: var(--text-light); padding: 0 1.25rem .75rem; }
.unit-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.unit-price { display: flex; align-items: baseline; gap: .3rem; }
.price-amount { font-size: 1.15rem; font-weight: 700; color: var(--primary); }
.price-period { font-size: .75rem; color: var(--text-light); }

/* ===================== PRICING TABLE ===================== */
.pricing-category-title { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--primary); }
.pricing-table-wrap { overflow-x: auto; margin-bottom: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.pricing-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pricing-table th {
  background: var(--primary); color: white;
  padding: .8rem 1rem; text-align: left; font-weight: 600;
}
.pricing-table th:first-child { border-radius: var(--radius) 0 0 0; }
.pricing-table th:last-child  { border-radius: 0 var(--radius) 0 0; }
.pricing-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: var(--bg); }
.pricing-table .row-unavailable td { color: var(--text-light); }
.price-cell { font-weight: 600; color: var(--accent); }
.pricing-note { background: var(--bg); border-left: 4px solid var(--accent); padding: 1rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin-top: 1rem; font-size: .9rem; }
.pricing-note p { margin: 0; }

/* ===================== EMPTY STATE ===================== */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.empty-state p { color: var(--text-light); margin-bottom: 1.5rem; }

/* ===================== CONTACT PAGE ===================== */
.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; margin-top: 2rem; }
.contact-form-wrap {}
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  padding: .7rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240,140,0,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.contact-info-card h3 { font-size: 1rem; margin-bottom: .75rem; }
.contact-info-card p { font-size: .875rem; color: var(--text-light); line-height: 1.6; }

/* ===================== ALERTS ===================== */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: .9rem;
  border: 1px solid;
}
.alert-success { background: rgba(39,174,96,.1);  border-color: rgba(39,174,96,.3);  color: #1a6b3c; }
.alert-error   { background: rgba(231,76,60,.1);  border-color: rgba(231,76,60,.3);  color: #9b2335; }

/* ===================== CONTACT LIST ===================== */
.contact-list { display: flex; flex-direction: column; gap: .65rem; }
.contact-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .875rem; color: var(--text-light);
}
.contact-list li svg { flex-shrink: 0; margin-top: 2px; }
.contact-list a { color: var(--text-light); }
.contact-list a:hover { color: var(--accent); }

/* ===================== TWO COL LAYOUT ===================== */
.content-two-col { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; }
.content-narrow { max-width: 780px; }
.intro-text { font-size: 1.05rem; color: var(--text-light); line-height: 1.8; margin-bottom: 2rem; border-left: 4px solid var(--accent); padding-left: 1.25rem; }
.intro-text p { margin: 0; }

/* ===================== SIDEBAR ===================== */
.sidebar-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.sidebar-card h4 { font-size: .95rem; margin-bottom: .75rem; color: var(--primary); }
.sidebar-card p  { font-size: .85rem; color: var(--text-light); margin-bottom: .75rem; }
.sidebar-card-cta { background: var(--primary); border-color: var(--primary); }
.sidebar-card-cta h4, .sidebar-card-cta p { color: rgba(255,255,255,.9); }

/* ===================== RICH CONTENT ===================== */
.rich-content { line-height: 1.8; }
.rich-content h1, .rich-content h2, .rich-content h3,
.rich-content h4, .rich-content h5, .rich-content h6 {
  margin: 1.5em 0 .5em; color: var(--primary);
}
.rich-content h2 { font-size: 1.6rem; }
.rich-content h3 { font-size: 1.25rem; }
.rich-content p  { margin-bottom: 1rem; color: var(--text); }
.rich-content ul, .rich-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.rich-content li { margin-bottom: .4rem; color: var(--text-light); }
.rich-content ul { list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content a  { color: var(--accent); text-decoration: underline; }
.rich-content strong { font-weight: 600; color: var(--text); }
.rich-content em { font-style: italic; }
.rich-content img { border-radius: var(--radius); max-width: 100%; height: auto; margin: 1rem 0; }
.rich-content img.float-left  { float: left;  margin: .5rem 1.5rem 1rem 0; }
.rich-content img.float-right { float: right; margin: .5rem 0 1rem 1.5rem; }
.rich-content img.align-center { display: block; margin: 1rem auto; }
.rich-content::after { content: ''; display: table; clear: both; }
.rich-content blockquote {
  border-left: 4px solid var(--accent);
  padding: .75rem 1.25rem;
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-light);
}
.rich-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.rich-content table th { background: var(--primary); color: white; padding: .6rem 1rem; text-align: left; }
.rich-content table td { padding: .6rem 1rem; border-bottom: 1px solid var(--border); }
.rich-content table tr:hover td { background: var(--bg); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.75); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-brand .logo-mark { background: var(--accent); }
.footer-brand .logo-main, .footer-brand .logo-sub { color: white; }
.footer-brand p { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.social-links { display: flex; gap: .5rem; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  transition: all var(--transition);
}
.social-link:hover { background: var(--accent); color: white; }
.site-footer h4 { color: white; font-size: .9rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .05em; }
.site-footer ul { display: flex; flex-direction: column; gap: .5rem; }
.site-footer ul li a { font-size: .875rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.site-footer ul li a:hover { color: var(--accent); }
.site-footer .contact-list li { color: rgba(255,255,255,.65); }
.site-footer .contact-list a { color: rgba(255,255,255,.65); }
.site-footer .contact-list a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-bottom-links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom-links a { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }
.edit-link {
  font-size: .8rem !important;
  color: rgba(255,255,255,.6) !important;
  border: 1px solid rgba(255,255,255,.2);
  padding: .2rem .6rem;
  border-radius: 4px;
}
.edit-link:hover { background: rgba(255,255,255,.1) !important; color: white !important; }
.edit-link-subtle { opacity: .4; font-size: .75rem !important; }

/* ===================== ADMIN ACTIONS ===================== */
.admin-actions-box { text-align: center; margin-top: 2rem; padding: 1rem; border: 2px dashed var(--border); border-radius: var(--radius-lg); }

/* ===================== MOBILE OVERLAY ===================== */
.mobile-menu-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 998;
}
.mobile-menu-overlay.active { display: block; }

/* ===================== VAT NOTICE ===================== */
.vat-notice {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: .9rem;
  color: #78350f;
  line-height: 1.6;
}
.vat-notice-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .05rem; }
.vat-notice strong { color: #92400e; }
.inkl-mva {
  font-size: .68rem;
  font-weight: 600;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 3px;
  padding: .05rem .35rem;
  vertical-align: middle;
  white-space: nowrap;
}
.calc-result small {
  display: block;
  font-size: .65rem;
  font-weight: 500;
  color: #92400e;
  margin-top: .1rem;
}

/* ===================== RATE CARDS ===================== */
.rate-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.rate-card {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.rate-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.rate-card-icon { font-size: 2.25rem; flex-shrink: 0; }
.rate-card-info { flex: 1; min-width: 0; }
.rate-card-info h3 { font-size: .95rem; margin-bottom: .2rem; }
.rate-card-info p  { font-size: .78rem; color: var(--text-light); line-height: 1.4; margin: 0; }
.rate-card-price { text-align: right; flex-shrink: 0; }
.rate-value { display: block; font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.rate-unit  { display: block; font-size: .72rem; color: var(--text-light); margin-top: .15rem; }
.rate-card-temp      { border-color: rgba(41,182,246,.3); }
.rate-card-temp .rate-value { color: #0369a1; }
.rate-card-ntemp     { border-color: rgba(234,179,8,.3); }
.rate-card-ntemp .rate-value { color: #854d0e; }
.rate-card-container { border-color: rgba(100,116,139,.3); }
.rate-card-container .rate-value { color: var(--primary); }

/* ===================== PRICE CALCULATOR ===================== */
.price-calculator {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
}
.price-calculator h2 { font-size: 1.1rem; margin-bottom: .35rem; }
.price-calculator p  { font-size: .875rem; color: var(--text-light); margin-bottom: 1rem; }
.calc-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.calc-row select, .calc-row input {
  padding: .55rem .9rem; border: 2px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: .9rem; background: var(--white);
  transition: border-color var(--transition);
}
.calc-row select:focus, .calc-row input:focus { outline: none; border-color: var(--accent); }
.calc-row select { min-width: 200px; }
.calc-size-wrap { display: flex; align-items: center; gap: .4rem; font-size: .9rem; color: var(--text-light); }
.calc-size-wrap input { width: 80px; text-align: center; }
.calc-result {
  font-size: 1.4rem; font-weight: 800; color: var(--accent);
  background: var(--white); border: 2px solid var(--accent);
  border-radius: var(--radius); padding: .4rem 1rem;
  min-width: 160px; text-align: center;
}

/* Price formula in unit cards */
.price-formula { font-size: .72rem; color: var(--text-light); margin-top: .15rem; }
.formula-cell  { font-size: .8rem; color: var(--text-light); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { max-width: 480px; }
  .content-two-col { grid-template-columns: 1fr; }
  .content-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}

@media (max-width: 768px) {
  body.is-admin { padding-top: var(--admin-bar-h); }
  .admin-topbar-links { display: none; flex-direction: column; position: absolute; top: var(--admin-bar-h); left: 0; right: 0; background: var(--primary-dark); padding: .5rem 1rem 1rem; z-index: 9998; }
  .admin-topbar-links.open { display: flex; }
  .admin-topbar-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 0; right: -100%; bottom: 0;
    width: min(300px, 85vw);
    background: var(--white);
    z-index: 999;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    transition: right .3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,.15);
  }
  .main-nav.mobile-open { right: 0; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); }
  .main-nav a { padding: .85rem .5rem; font-size: 1rem; border-radius: 0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 .5rem 1rem; }
  .dropdown a { font-size: .9rem; }

  .mobile-menu-toggle { display: flex; }
  .header-cta .btn-outline { display: none; }
  .header-user { display: none; }

  .hero { min-height: 70vh; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .storage-cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .content-sidebar { grid-template-columns: 1fr; }
  .units-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .header-inner { gap: .75rem; }
  .logo-text { display: none; }
}
