/*
 * ════════════════════════════════════════════
 *   CLARITY ONLINE AB
 *   Förtroende driver affärer
 * ────────────────────────────────────────────
 *   Stylesheet – handkodad med omsorg
 *   info@clarityonline.se
 *   www.clarityonline.se
 *   © 2025 Clarity Online AB
 * ════════════════════════════════════════════
 */

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

:root {
  --dark-green: #0F2325;
  --mid-green: #556B63;
  --coral: #D4A7A0;
  --beige: #F3ECE6;
  --gold: #CBA15A;
  --white: #ffffff;
  --gray: #666;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark-green);
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* VISUALLY HIDDEN (screen-reader only) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* SKIP LINK (accessibility) */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--dark-green);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* FOCUS STYLES (keyboard navigation) */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; }
.btn-primary {
  background: var(--dark-green);
  color: var(--white);
}
.btn-secondary {
  background: transparent;
  color: var(--dark-green);
  border: 2px solid var(--dark-green);
}
.btn-coral {
  background: var(--coral);
  color: var(--dark-green);
}

/* HEADER */
.header {
  background: var(--white);
  border-bottom: 1px solid #e8e0d8;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-right nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Scroll margin – hindrar sticky header från att täcka sektioner */
section[id] {
  scroll-margin-top: 80px;
}
.nav-link {
  text-decoration: none;
  color: var(--dark-green);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.nav-link:hover { color: var(--gold); }

/* LANGUAGE SWITCHER */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.lang-active {
  color: var(--dark-green);
  font-weight: 700;
}
.lang-divider {
  color: #ccc;
  font-weight: 300;
}
.lang-option {
  color: var(--mid-green);
  text-decoration: none;
  transition: opacity 0.2s;
}
.lang-option:hover { opacity: 0.7; }
.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--dark-green);
  letter-spacing: 1px;
  white-space: nowrap;
  text-decoration: none;
  flex: 1;
}
/* HERO */
.hero {
  background: var(--beige);
  padding: 80px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--mid-green);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--dark-green);
}
.hero-text h1 em {
  color: var(--mid-green);
  font-style: italic;
}
.hero-sub {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1500 / 800;
  border-radius: 12px;
  display: block;
}
/* SERVICES */
.services {
  padding: 80px 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--beige);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}
.service-icon {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--mid-green);
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-green);
}
.service-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

/* BUDSKAP */
.message {
  background: var(--dark-green);
  padding: 64px 0;
  color: var(--white);
}
.message-inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.message-icon {
  font-size: 36px;
  flex-shrink: 0;
}
.message h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.message p {
  font-size: 15px;
  opacity: 0.8;
  line-height: 1.8;
}

/* FOOTER */
.footer {
  background: var(--dark-green);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* KONTAKT */
.contact-section {
  background: var(--beige);
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--dark-green);
  margin-bottom: 10px;
}
.section-header p {
  font-size: 15px;
  color: var(--gray);
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.contact-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--mid-green);
}
.contact-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-card-row strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 6px;
}
.contact-card-row p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}
.contact-card-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card-links a {
  font-size: 16px;
  color: var(--dark-green);
  text-decoration: none;
  font-weight: 500;
}
.contact-card-links a:hover { color: var(--mid-green); }
.whatsapp-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--mid-green);
  margin-left: 8px;
}


/* PAGE HERO */
.page-hero {
  background: var(--beige);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: var(--dark-green);
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 16px;
  color: var(--gray);
}


/* VÄRDERINGAR */
.values-section {
  background: var(--beige);
  padding: 64px 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.value-card {
  padding: 28px 16px;
}
.value-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-green);
  letter-spacing: 1px;
}

/* KORT-KOMPONENTER */
.cards-section {
  padding: 64px 0;
  background: var(--white);
}
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.kort {
  border-radius: 16px;
  padding: 36px 28px;
}
.kort-dark {
  background: var(--dark-green);
  color: var(--white);
}
.kort-light {
  background: var(--white);
  color: var(--dark-green);
  border: 1px solid #e8e0d8;
}
.kort-coral {
  background: var(--coral);
  color: var(--dark-green);
}
.kort-icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.kort h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 10px;
}
.kort p {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.85;
}
.kort-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 24px;
}

/* PAKET ROW */
.paket-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.paket-monthly {
  font-size: 13px;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  margin-top: 16px;
}
.paket-card.primary .paket-monthly {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.paket-card.secondary .paket-monthly {
  background: rgba(15,35,37,0.1);
  color: var(--dark-green);
}
.paket-why {
  background: var(--beige);
  border-radius: 12px;
  padding: 32px 24px;
}
.paket-why h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--dark-green);
}
.why-list {
  list-style: none;
  font-size: 13px;
  color: var(--gray);
  line-height: 2.2;
}
.why-list li::before {
  content: "✓ ";
  color: var(--mid-green);
  font-weight: 700;
}

/* FOOTER */
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 40px;
  padding: 60px 24px 40px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.footer-tagline {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 16px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
}
.footer-col h3 {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  line-height: 2.2;
  text-align: left;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}
.footer-col-compliance p::before {
  content: "—";
  color: var(--gold);
  margin-right: 8px;
}
.footer-col .btn {
  white-space: nowrap;
  font-size: 11px;
  padding: 12px 20px;
}
.footer-org {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}


/* PAKET */
.paket-section {
  padding: 80px 0;
  background: var(--white);
}
.paket-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  text-align: center;
  color: var(--dark-green);
  margin-bottom: 48px;
}
.paket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}
.paket-card {
  border-radius: 12px;
  padding: 40px 32px;
  position: relative;
}
.paket-card.primary {
  background: var(--dark-green);
  color: var(--white);
}
.paket-card.secondary {
  background: var(--coral);
  color: var(--dark-green);
}
.paket-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.7;
}
.paket-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 8px;
}
.paket-price {
  font-size: 32px;
  font-weight: 700;
  margin: 20px 0 4px;
}
.paket-price span {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.7;
}
.paket-desc {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 24px;
  line-height: 1.6;
}
.paket-list {
  list-style: none;
  font-size: 13px;
  line-height: 2;
  margin-bottom: 32px;
}
.paket-list li::before {
  content: "✓ ";
  font-weight: 700;
}

/* ABOUT TEASER (startsidan) */
.about-teaser {
  background: var(--beige);
  padding: 72px 0;
}
.about-teaser-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid-green);
  margin-bottom: 20px;
}
.about-teaser h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dark-green);
  margin-bottom: 16px;
  line-height: 1.3;
}
.about-teaser p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 32px;
}

/* MARSTRAND TEASER */
.marstrand-teaser {
  background: var(--dark-green);
  padding: 72px 0;
  text-align: center;
}
.marstrand-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  white-space: nowrap;
}
.marstrand-teaser h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 38px);
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
}
.marstrand-teaser h2 em {
  color: var(--gold);
  font-style: italic;
}
.marstrand-teaser p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* RESPONSIV */
/* Nav: göm textlänk + sekundärknapp under 960px – behåll BOKA-knappen */
@media (max-width: 960px) {
  .header-right .nav-link { display: none; }
  .header-right .btn-secondary { display: none; }
}

/* Surfplatta och under: layout-justeringar */
@media (max-width: 768px) {
  .hero-inner,
  .contact-grid,
  .paket-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-text h1 { font-size: 28px; }
  .marstrand-eyebrow { white-space: normal; }
  .about-teaser p { max-width: 100%; }
  .marstrand-teaser p { max-width: 100%; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card-row { grid-template-columns: 1fr; }
  .cards-row { grid-template-columns: 1fr; }
  .paket-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* Mobil: göm hela navigationen */
@media (max-width: 600px) {
  .header-right nav { display: none; }
  .header-right { gap: 12px; }
}
