/* ===== Grund ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f8fafc; /* LJUST istället för svart */
  color: #1e293b;
  line-height: 1.6;
}

/* ===== Container ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header (behåll mörk) ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0f172a;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.logo strong {
  color: #60a5fa;
}

.logo-icon {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.nav-links a:hover {
  color: #60a5fa;
}

/* ===== Site switcher ===== */
.site-switcher {
  padding: 10px 0 14px;
  display: flex;
  gap: 10px;
}

.site-switcher a {
  padding: 6px 12px;
  border-radius: 999px;
  background: #1e293b;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-switcher a:hover {
  background: #60a5fa;
  color: #fff;
}

/* ===== Hero (ljus!) ===== */
.hero {
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  color: #0f172a;
}

.lead {
  max-width: 800px;
  margin: 20px auto;
  color: #334155;
}

.sub {
  color: #64748b;
}

/* ===== Badges ===== */
.hero-badges {
  margin-top: 20px;
}

.badge {
  display: inline-block;
  padding: 8px 12px;
  background: #e2e8f0;
  border-radius: 999px;
  margin: 5px;
  font-size: 0.9rem;
}

/* ===== Sektioner ===== */
section {
  padding: 60px 0;
}

.choice-section {
  background: #ffffff;
}

#verksamheter {
  background: #f1f5f9;
}

#kompetens {
  background: #ffffff;
}

#om {
  background: #f1f5f9;
}

#kontakt {
  background: #ffffff;
}

h2 {
  text-align: center;
  margin-bottom: 10px;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #64748b;
}

/* ===== Grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== Cards ===== */
.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #60a5fa;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card h3 {
  margin-top: 12px;
}

.card p {
  color: #475569;
}

.card ul {
  padding-left: 18px;
}

.card ul li {
  margin-bottom: 6px;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.card a:hover {
  text-decoration: underline;
}

/* ===== Ikon ===== */
.icon-circle {
  width: 42px;
  height: 42px;
  background: #60a5fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}

/* ===== Skills ===== */
.skills {
  max-width: 700px;
  margin: auto;
}

.skills li {
  margin-bottom: 8px;
}

/* ===== Quote ===== */
.quote {
  text-align: center;
  font-style: italic;
  margin-top: 20px;
  color: #2563eb;
}

/* ===== Kontakt ===== */
.contact-card {
  text-align: center;
  background: #f1f5f9;
  padding: 20px;
  border-radius: 10px;
}

/* ===== Footer ===== */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  text-align: center;
  padding: 20px;
}

/* ===== Responsiv ===== */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}