/*
Theme Name: Batteritjek Green (One-page)
Theme URI: https://example.com
Author: ChatGPT
Description: One-page landing theme for Batteritjek with sustainable/nature styling. Built for LocalWP preview.
Version: 1.5.0
License: GPL-2.0-or-later
Text Domain: batteritjek-green
*/

:root{
  /* Tuned to match the Batteritjek logo */
  --bg-top:#f1fbf2;
  --bg-mid:#ffffff;
  --ink:#0f172a;      /* slate-900 */
  --muted:#475569;    /* slate-600 */
  --muted2:#64748b;   /* slate-500 */
  --line:rgba(31,93,42,.14);
  --card:rgba(255,255,255,.72);
  --shadow:0 10px 30px rgba(2,6,23,.08);
  --shadow2:0 14px 40px rgba(2,6,23,.12);
  --r-xl:24px;
  --r-2xl:28px;
  --r-3xl:32px;
  --brand1:#4a9e4c; /* logo green */
  --brand2:#3d8f44; /* secondary green */
  --brand3:#1f5d2a; /* deep green */
  --amber:#b45309;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--ink);
  background:linear-gradient(180deg,var(--bg-top),var(--bg-mid) 45%, #fff);
}
img{max-width:100%;height:auto}
a{color:inherit}

/* Basic type reset so WP doesn't inject odd spacing */
h1,h2,h3,h4{margin:0}
p{margin:0}

/* Page (prevent WordPress block/theme spacing conflicts) */
main{display:block}

/* Layout */
.bc-container{max-width:1100px;margin:0 auto;padding:0 18px}
.bc-section{padding:72px 0}
@media (max-width:640px){.bc-section{padding:56px 0}}

/* --- Splash (ren indgang) --- */
.bc-splash{position:relative;min-height:100vh;display:grid;place-items:center;background:linear-gradient(180deg, rgba(241,251,242,.95) 0%, rgba(255,255,255,.97) 55%, rgba(255,255,255,1) 100%);overflow:hidden}
.bc-splash-inner{display:grid;place-items:center;padding:24px}
.bc-splash-logowrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;width:min(860px, 92vw)}
.bc-splash-logo{width:100%;height:auto;max-height:72vh;object-fit:contain;filter:drop-shadow(0 18px 42px rgba(2,44,34,.18));pointer-events:none}
.bc-splash-btn{z-index:3;display:inline-flex;align-items:center;justify-content:center;border-radius:22px;padding:16px 24px;font-weight:900;font-size:18px;letter-spacing:.7px;text-transform:uppercase;text-decoration:none;color:#fff;background:#72B443;border:1px solid rgba(255,255,255,.95);box-shadow:0 16px 40px rgba(2,44,34,.18)}
.bc-splash-btn:hover{filter:brightness(.95)}
.bc-splash-fade{pointer-events:none;position:absolute;left:0;right:0;bottom:0;height:140px;background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%)}

/* Gutenberg content area (optional extra blocks on the front page) */
.bc-editor{max-width:780px}
.bc-editor > *:first-child{margin-top:0}
.bc-editor > *:last-child{margin-bottom:0}
.bt-front-note{font-size:14px;color:var(--muted);background:rgba(255,255,255,.7);border:1px dashed rgba(6,95,70,.18);border-radius:16px;padding:12px 14px}

/* Header */
.bc-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.74);
  border-bottom:1px solid var(--line);
}
.bc-navrow{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:16px}
.bc-brand{display:flex;align-items:center;gap:12px;min-width:220px;text-decoration:none;color:inherit}
.bc-brand:focus{outline:none}
.bc-brand:focus-visible{box-shadow:0 0 0 4px rgba(13,148,136,.18);border-radius:18px}
.bc-logo{
  width:40px;height:40px;border-radius:14px;
  background:rgba(255,255,255,.75);
  border:1px solid var(--line);
  display:grid;place-items:center;
  box-shadow:0 10px 18px rgba(2,6,23,.10);
}
.bc-logo img{width:28px;height:28px;display:block}
.bc-brand small{display:block;color:var(--muted2);font-size:12px;margin-top:2px}
.bc-brand strong{display:block;line-height:1.1}
.bc-nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.bc-nav a{font-size:14px;color:rgba(15,23,42,.78);text-decoration:none}
.bc-nav a:hover{color:var(--brand3)}
.bc-header-cta{display:flex;align-items:center;gap:12px}
.bc-badge{
  display:none;
  gap:8px;align-items:center;
  font-size:12px;color:rgba(15,23,42,.68);
}
@media (min-width:640px){.bc-badge{display:flex}}
@media (max-width:900px){.bc-nav{display:none}}

/* Buttons */
.bc-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border:1px solid transparent;
  padding:11px 14px;border-radius:18px;
  text-decoration:none;font-weight:650;
  background:linear-gradient(90deg,var(--brand1),var(--brand2));
  color:#fff;box-shadow:0 10px 18px rgba(74,158,76,.18);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.bc-btn:hover{transform:translateY(-1px);filter:saturate(1.05);box-shadow:0 14px 26px rgba(74,158,76,.22)}
.bc-btn:active{transform:translateY(0)}
.bc-btn-outline{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(6,95,70,.18);
  color:rgba(15,23,42,.88);
  box-shadow:none;
}
.bc-btn-outline:hover{box-shadow:0 12px 22px rgba(2,6,23,.08)}
.bc-btn-outline.is-active{
  background:linear-gradient(90deg,var(--brand1),var(--brand2));
  border-color:transparent;
  color:#fff;
  box-shadow:0 10px 18px rgba(74,158,76,.18);
}

/* Hero */
.bc-hero{position:relative;overflow:hidden}
.bc-hero::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,var(--bg-top),#fff 70%);
  z-index:-3;
}
.bc-blob{position:absolute;filter:blur(42px);opacity:.75;border-radius:999px;z-index:-2}
.bc-blob.a{width:320px;height:320px;left:-120px;top:-90px;background:rgba(74,158,76,.26)}
.bc-blob.b{width:360px;height:360px;right:-140px;top:-110px;background:rgba(61,143,68,.22)}
.bc-blob.c{width:420px;height:420px;left:35%;bottom:-210px;background:rgba(31,93,42,.16)}

.bc-grid2{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center}
@media (max-width:980px){.bc-grid2{grid-template-columns:1fr;gap:18px}}

.bc-pill{
  display:inline-flex;align-items:center;gap:10px;
  padding:6px 12px;border-radius:999px;
  background:#022c22;color:#d1fae5;
  font-size:12px;font-weight:650;
  letter-spacing:.02em;
  box-shadow:0 10px 18px rgba(2,6,23,.12);
}
.bc-h1{font-size:44px;line-height:1.08;margin:16px 0 0;letter-spacing:-.02em}
@media (max-width:640px){.bc-h1{font-size:34px}}
.bc-lead{margin:16px 0 0;color:rgba(71,85,105,.95);line-height:1.7}
.bc-actions{margin-top:18px;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.bc-link{font-size:14px;color:rgba(15,23,42,.78)}
.bc-link:hover{color:var(--brand3)}

.bc-stats{margin-top:18px;display:grid;grid-template-columns:repeat(3, minmax(0,1fr));gap:10px}
@media (max-width:520px){.bc-stats{grid-template-columns:1fr 1fr}}
.bc-chip{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;border-radius:18px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(6,95,70,.12);
  box-shadow:0 10px 18px rgba(2,6,23,.06);
  font-size:14px;color:rgba(15,23,42,.85)
}

.bc-tags{margin-top:14px;display:flex;gap:8px;flex-wrap:wrap}
.bc-tag{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.72);border:1px solid rgba(6,95,70,.12);font-size:12px;color:rgba(15,23,42,.72)}

/* Cards */
.bc-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r-3xl);
  box-shadow:var(--shadow);
  backdrop-filter: blur(10px);
}
.bc-card:hover{box-shadow:var(--shadow2)}
.bc-card-pad{padding:22px}

/* Wide card helper (used for contact form when the aside box is removed) */
.bc-card--wide{max-width:920px;margin:0 auto}
.bc-card h3,.bc-card h4{margin:0}
.bc-card p{margin:0;color:rgba(71,85,105,.95)}

.bc-cardhead{padding:22px 22px 0}
.bc-cardtitle{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bc-cardtitle span{font-weight:750;font-size:18px}

.bc-sep{height:1px;background:var(--line);margin:14px 0}

/* Toggle */
.bc-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bc-toggle-col{display:flex;flex-direction:column;gap:2px}
.bc-toggle-col small{color:var(--muted2);font-size:12px}
.bc-switch{display:inline-flex;align-items:center;gap:10px}

.bc-switch input{position:absolute;opacity:0;pointer-events:none}
.bc-slider{
  width:54px;height:30px;border-radius:999px;
  background:rgba(2,44,34,.18);
  border:1px solid rgba(6,95,70,.18);
  position:relative;cursor:pointer;
  transition: background .2s ease;
}
.bc-slider::after{
  content:"";
  width:24px;height:24px;border-radius:999px;
  background:#fff;position:absolute;top:50%;left:3px;transform:translateY(-50%);
  box-shadow:0 8px 16px rgba(2,6,23,.18);
  transition:left .2s ease;
}
.bc-switch input:checked + .bc-slider{background:linear-gradient(90deg,var(--brand1),var(--brand2))}
.bc-switch input:checked + .bc-slider::after{left:26px}

/* Customer mode switching */
.bc-stack{display:block}
html[data-customer="private"] .bc-stack-dealer{display:none}
html[data-customer="dealer"] .bc-stack-private{display:none}

/* Feature list */
.bc-feature{display:flex;gap:14px;align-items:flex-start}
.bc-ic{
  width:40px;height:40px;border-radius:18px;
  background:rgba(255,255,255,.74);
  border:1px solid rgba(6,95,70,.12);
  display:grid;place-items:center;
  box-shadow:0 10px 18px rgba(2,6,23,.06);
}
.bc-ic svg{width:20px;height:20px;color:#064e3b}
.bc-feature p{font-size:14px;line-height:1.6;color:rgba(71,85,105,.95)}
.bc-feature h4{font-size:15px;font-weight:750;margin:0 0 6px;color:rgba(15,23,42,.95)}

/* Section headings */
.bc-center{text-align:center}
.bc-h2{font-size:30px;letter-spacing:-.01em;margin:0;color:rgba(15,23,42,.96)}
.bc-sub{margin:10px 0 0;color:rgba(71,85,105,.95)}

/* Grid cards */
.bc-grid4{display:grid;grid-template-columns:repeat(4, minmax(0,1fr));gap:16px}
@media (max-width:980px){.bc-grid4{grid-template-columns:repeat(2, minmax(0,1fr))}}
@media (max-width:520px){.bc-grid4{grid-template-columns:1fr}}

.bc-step-ic{
  width:42px;height:42px;border-radius:18px;
  background:linear-gradient(135deg,var(--brand3),var(--brand2));
  color:#fff;display:grid;place-items:center;
  box-shadow:0 12px 22px rgba(2,6,23,.18);
  margin-bottom:14px;
}

/* Pricing */
.bc-grid2a{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:980px){.bc-grid2a{grid-template-columns:1fr}}
.bc-price{font-size:44px;font-weight:850;letter-spacing:-.02em;margin:0;color:rgba(15,23,42,.96)}
.bc-price small, .bc-price span{font-weight:500;color:rgba(100,116,139,.95);font-size:16px}
.bc-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.bc-list li{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:rgba(15,23,42,.8)}

/* Coverage */
.bc-grid2b{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
@media (max-width:980px){.bc-grid2b{grid-template-columns:1fr}}
.bc-mapbox{border-radius:22px;border:1px solid rgba(6,95,70,.12);background:linear-gradient(135deg,#fff,#ecfdf5);aspect-ratio:16/10;display:grid;place-items:center;padding:18px;text-align:center}

/* Why battery certificate */
.bc-why{padding-top:24px}
.bc-whyhead{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap}
.bc-whyhead p{color:rgba(71,85,105,.95);max-width:68ch;line-height:1.7}
.bc-whygrid{display:grid;grid-template-columns:repeat(3, minmax(0,1fr));gap:16px;margin-top:18px}
@media (max-width:980px){.bc-whygrid{grid-template-columns:1fr;}}
.bc-whycard{border-radius:var(--r-3xl);border:1px solid var(--line);background:rgba(255,255,255,.72);backdrop-filter: blur(10px);box-shadow:var(--shadow);padding:20px}
.bc-whycard:hover{box-shadow:var(--shadow2)}
.bc-whyicon{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:rgba(74,158,76,.14);border:1px solid rgba(31,93,42,.14);margin-bottom:10px;font-size:18px}
.bc-whycard h3{font-size:16px;margin:0 0 6px}
.bc-whycard p{color:rgba(71,85,105,.95);line-height:1.65;font-size:14px}
.bc-whycta{margin-top:14px;display:flex;align-items:center;gap:10px}

/* B2B flow steps */
.bc-b2bflow{border-radius:var(--r-3xl)}
.bc-steps{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.bc-steps li{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding:10px 12px;border:1px solid rgba(6,95,70,.12);border-radius:18px;background:rgba(255,255,255,.74)}
.bc-steps li::before{content:counter(step);counter-increment:step;display:grid;place-items:center;width:30px;height:30px;border-radius:12px;background:rgba(74,158,76,.14);border:1px solid rgba(31,93,42,.16);font-weight:850;color:rgba(31,93,42,.95)}
.bc-steps{counter-reset:step}
.bc-steps strong{display:block;font-size:14px;margin:1px 0 2px}
.bc-steps span{display:block;font-size:13px;line-height:1.6;color:rgba(71,85,105,.95)}

/* Prose page (info pages) */
.bc-prose{max-width:78ch}
.bc-prose h1{font-size:36px;letter-spacing:-.02em;line-height:1.12}
@media (max-width:640px){.bc-prose h1{font-size:30px}}
.bc-prose h2{font-size:20px;margin-top:22px}
.bc-prose p{margin-top:10px;color:rgba(71,85,105,.95);line-height:1.8}
.bc-prose ul{margin:10px 0 0;padding-left:18px;color:rgba(71,85,105,.95);line-height:1.8}
.bc-prose li{margin:6px 0}

/* Stat highlights on info pages */
.bc-statgrid{margin:18px 0 10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:900px){.bc-statgrid{grid-template-columns:1fr;}}
.bc-stat{background:rgba(255,255,255,.78);border:1px solid rgba(6,95,70,.14);border-radius:22px;padding:16px 16px 14px;box-shadow:0 12px 22px rgba(2,6,23,.06)}
.bc-stat__big{font-size:34px;line-height:1;letter-spacing:-.02em;font-weight:850;color:#064e3b}
.bc-stat__title{margin-top:8px;font-weight:750;color:rgba(15,23,42,.92)}
.bc-stat__note{margin-top:6px;font-size:13px;line-height:1.55;color:rgba(71,85,105,.95)}
.bc-callout{margin-top:16px;border-radius:18px;border:1px solid rgba(31,93,42,.16);background:rgba(241,251,242,.85);padding:14px 14px}
.bc-callout strong{color:rgba(31,93,42,.98)}

/* FAQ */
.bc-gridfaq{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:900px){.bc-gridfaq{grid-template-columns:1fr}}

/* Contact */
.bc-alert{
  border-radius:16px;
  padding:14px 14px;
  margin:0 0 16px;
  border:1px solid rgba(6,95,70,.18);
  background:rgba(236,253,245,.75);
  color:rgba(15,23,42,.95);
}
.bc-alert-info strong{color:rgba(6,78,59,.98)}
.bc-alert-warn{
  border-color:rgba(180,83,9,.25);
  background:rgba(255,251,235,.92);
}
.bc-form{display:grid;gap:14px}
.bc-row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:700px){.bc-row2{grid-template-columns:1fr}}
.bc-input, .bc-textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(6,95,70,.14);
  background:rgba(255,255,255,.78);
  padding:11px 12px;
  font-size:14px;
  outline:none;
}
.bc-input:focus, .bc-textarea:focus{border-color:rgba(13,148,136,.5);box-shadow:0 0 0 4px rgba(13,148,136,.15)}
.bc-textarea{min-height:110px;resize:vertical}
.bc-label{font-size:13px;color:rgba(15,23,42,.86);font-weight:650;margin-bottom:6px;display:block}
.bc-terms{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:rgba(15,23,42,.78)}

/* Footer */
.bc-footer{border-top:1px solid var(--line);background:rgba(255,255,255,.72);backdrop-filter: blur(10px)}
.bc-footgrid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:18px;padding:38px 0}
@media (max-width:900px){.bc-footgrid{grid-template-columns:1fr 1fr;}}
@media (max-width:520px){.bc-footgrid{grid-template-columns:1fr;}}
.bc-foot h4{margin:0 0 10px;font-size:14px}
.bc-foot a{text-decoration:none;color:rgba(71,85,105,.95)}
.bc-foot a:hover{color:var(--brand3)}
.bc-foot p, .bc-foot li{color:rgba(71,85,105,.95);font-size:14px;line-height:1.6}
.bc-foot ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}

/* Admin bar offset */
body.admin-bar .bc-header{top:32px}
@media (max-width:782px){body.admin-bar .bc-header{top:46px}}


/* Info page: simple calculation block */
.bc-card__in{padding:18px 18px}
.bc-calcgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:10px}
@media (max-width:900px){.bc-calcgrid{grid-template-columns:1fr}}
.bc-calcitem{border:1px solid var(--line);background:rgba(255,255,255,.7);border-radius:18px;padding:12px 12px}
.bc-calcitem__a{font-size:13px;color:var(--muted);font-weight:650}
.bc-calcitem__b{font-size:20px;font-weight:800;margin-top:4px;color:var(--ink)}
.bc-calcitem__c{font-size:12px;color:var(--muted);margin-top:2px}


/* Single-column grid helper */
.bc-grid1{display:grid;grid-template-columns:1fr;gap:18px;}


/* Legal / policy page */
.bc-legal h1{font-size:34px;line-height:1.15;letter-spacing:-0.02em;}
.bc-legal h2{margin-top:18px;font-size:20px;}
.bc-legal p{line-height:1.7;}
.bc-legal ul{padding-left:20px;}
.bc-legal li{margin:6px 0;}
.bc-legal .bc-callout{margin-top:16px;}
