:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --panel: #ffffff;
  --panel-soft: #fbfbf9;
  --line: rgba(20, 20, 20, 0.08);
  --text: #161616;
  --muted: rgba(22, 22, 22, 0.72);
  --muted-2: rgba(22, 22, 22, 0.5);

  --kidz: #8e6aa8;
  --steg-1: #b86a5c;
  --steg-2: #b88442;
  --steg-3: #7f8f57;
  --musikal: #5f7ea8;
  --senior: #5f8e86;
  --vuxen: #8f6b60;

  --max: 1280px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

/* HEADER */

/* Inner page nav */
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  line-height: 1.2;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: #fff;
}

.site-header {
  position: relative;
  background:
    linear-gradient(rgba(10,10,10,0.28), rgba(10,10,10,0.42)),
    url('../images/hero-bg.png') center/cover no-repeat;
  overflow: visible;
}

.site-header:not(.site-header-home) {
  padding-bottom: 100px;
}

.kurs-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 0 20px;
}

.header-wave {
  display: block;
  width: 100%;
  line-height: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}

.header-wave svg {
  display: block;
  width: 100%;
  height: 100px;
}

.site-header-home {
  min-height: 470px;
}

.site-header-home::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -72px;
  height: 142px;
  background: #ffffff;
  border-top-left-radius: 64% 100%;
  border-top-right-radius: 36% 100%;
  transform: rotate(-1.1deg);
  z-index: 0;
}

.header-home-inner {
  position: relative;
  z-index: 2;
  padding: 18px 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.hero-brand-logo {
  width: min(1040px, 92vw);
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.18));
}

.hero-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-menu-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  color: #ffffff;
  font-weight: 800;
  backdrop-filter: blur(10px);
  transition: 0.2s ease;
  position: relative;
  z-index: 1;
}

.nav-dropdown.hero-menu-item:hover {
  z-index: 20;
}

.hero-menu-item:hover {
  background: rgba(255,255,255,0.18);
}

/* HERO */

.hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.90), rgba(255,255,255,0.96)),
    url('../images/hero-bg.png') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.92), rgba(255,255,255,0.72));
}

/* Inner page hero — clean white */
.hero-course {
  background: #ffffff;
  min-height: auto;
  border-bottom: 1px solid var(--line);
}

.hero-course .hero-overlay {
  background: none;
}

.hero-course .hero-content {
  padding: 56px 0 52px;
}

.hero-course .hero-content h1 {
  color: #111;
  text-shadow: none;
}

.hero-course .hero-content p {
  color: #555;
}

.hero-course .eyebrow {
  color: #999;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 72px;
  max-width: 860px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
  color: #7c7c7c;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.1;
}

.hero-text,
.section-head p,
.panel p,
.faq-list p,
.cta-box p {
  color: var(--muted);
}

.hero-text {
  max-width: 760px;
  font-size: 19px;
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-kurs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-chip {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  border-radius: 10px;
  padding: 7px 16px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}

.hero-chip:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.hero-chip--kidz    { background: var(--kidz); }
.hero-chip--steg1   { background: var(--steg-1); }
.hero-chip--steg2   { background: var(--steg-2); }
.hero-chip--steg3   { background: var(--steg-3); }
.hero-chip--vuxen   { background: var(--vuxen); }
.hero-chip--musikal { background: var(--musikal); }
.hero-chip--senior  { background: var(--senior); }

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn-primary {
  background: #111111;
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid rgba(20,20,20,0.12);
  color: var(--text);
  background: #ffffff;
}

/* LAYOUT */

.section {
  padding: 92px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head.center {
  text-align: center;
}

.intro-grid,
.two-col {
  display: grid;
  gap: 22px;
}

.intro-grid-two {
  grid-template-columns: 1fr 1fr;
}

.two-col {
  grid-template-columns: 1fr 1fr;
}

.panel,
.cta-box,
.faq-list details {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
}

.graphic-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(12,3,30,0.76) 0%, rgba(26,9,54,0.80) 100%),
    url('../images/hero-bg.png') center/cover no-repeat;
  border-color: rgba(255,255,255,0.08);
}

.graphic-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
}

.graphic-panel,
.graphic-panel h2,
.graphic-panel h3 {
  color: #ffffff;
}

.graphic-panel .section-kicker {
  color: rgba(255,255,255,0.5);
  text-shadow: none;
}

.graphic-panel h2,
.graphic-panel h3 {
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

.graphic-panel p:not(.section-kicker) {
  color: rgba(255,255,255,0.72);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.graphic-panel .btn-primary {
  background: #ffffff;
  color: #111111;
}

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

.info-grid .panel {
  border-radius: var(--radius-md);
  padding: 24px;
}

.dark-section {
  background: #faf9f6;
}

/* STAT CARDS */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.stat-card {
  background: #f7f6f3;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #111;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: #777;
  font-weight: 500;
}

/* MYCLUB PAGE */

.myclub-hero {
  text-align: center;
}

.myclub-logo-hero {
  display: inline-flex;
  align-items: center;
  font-size: 52px;
  font-weight: 500;
  color: #111;
  letter-spacing: -0.03em;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  padding: 16px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.myclub-arc-hero {
  display: inline-block;
  width: 46px;
  height: 46px;
  border: 6px solid #4a8ab8;
  border-radius: 50%;
  border-right-color: transparent;
  transform: rotate(-40deg);
  margin: 0 2px;
  flex-shrink: 0;
}

.myclub-logo-card {
  font-size: 28px !important;
  width: 100%;
  justify-content: center;
}

.myclub-feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1;
}

.myclub-steps {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: steps;
}

.myclub-steps li {
  counter-increment: steps;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}

.myclub-steps li::before {
  content: counter(steps);
  background: rgba(255,255,255,0.2);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.myclub-steps--dark li {
  color: #333;
}

.myclub-steps--dark li::before {
  background: #111;
  color: #fff;
}

/* AVGIFTER */

.avgift-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.avgift-card--fritids {
  background: #f9f7ff;
  border-color: rgba(100,60,200,0.12);
}

.avgift-card-logo {
  flex-shrink: 0;
  width: 120px;
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}

.avgift-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.avgift-logo--fritids {
  border-radius: 10px;
}

.avgift-card-body {
  flex: 1;
}

.avgift-card-body h2 {
  margin-top: 4px;
  margin-bottom: 12px;
}

.avgift-card-body p {
  margin-bottom: 10px;
  color: #444;
  line-height: 1.7;
}

.avgift-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.avgift-list li {
  padding-left: 20px;
  position: relative;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
}

.avgift-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  top: 2px;
}

.avgift-btn {
  margin-top: 16px;
  display: inline-flex;
}

/* SOMMARTEATERN I ÖJA — GOLD SECTION */

.oja-wave-top,
.oja-wave-bottom {
  display: block;
  width: 100%;
  line-height: 0;
  margin: 0;
}

.oja-wave-top svg,
.oja-wave-bottom svg {
  display: block;
  width: 100%;
  height: 70px;
}

.oja-section {
  background: #F2A900;
  padding-top: 0;
  padding-bottom: 0;
}

.oja-section .section-head h2,
.oja-section .section-head p {
  color: #1a0c00;
}

.oja-kicker {
  color: rgba(80, 40, 0, 0.65) !important;
}

.ensemble-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin: 32px 0 36px;
  aspect-ratio: 16/7;
  background: rgba(0,0,0,0.15);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 78% 94%, 55% 89%, 32% 96%, 10% 90%, 0 94%);
}

.ensemble-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.oja-stat-grid {
  margin-bottom: 0;
}

.oja-stat-card {
  background: rgba(255,255,255,0.35) !important;
  border-color: rgba(255,255,255,0.5) !important;
}

.oja-stat-card .stat-number {
  color: #1a0c00;
}

.oja-stat-card .stat-label {
  color: rgba(40,20,0,0.7);
}

.oja-panel {
  background: rgba(255,255,255,0.35) !important;
  border-color: rgba(255,255,255,0.5) !important;
}

.oja-panel h2,
.oja-panel p {
  color: #1a0c00;
}

/* TICKET BANNER */

.ticket-banner-section {
  padding-top: 16px;
  padding-bottom: 0;
}

.ticket-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background:
    linear-gradient(135deg, rgba(120,60,0,0.82) 0%, rgba(80,20,0,0.88) 100%),
    url('../images/hero-bg.png') center/cover no-repeat;
  border: 1px solid rgba(255,180,60,0.25);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}

.ticket-banner::before {
  content: "🎟";
  position: absolute;
  right: 200px;
  top: 50%;
  transform: translateY(-50%) rotate(-15deg);
  font-size: 120px;
  opacity: 0.07;
  pointer-events: none;
  line-height: 1;
}

.ticket-banner-text {
  flex: 1;
}

.ticket-banner-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,180,60,0.85);
  margin: 0 0 10px;
  text-shadow: none;
}

.ticket-banner h2 {
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  margin: 0 0 10px;
}

.ticket-banner p:not(.ticket-banner-label) {
  color: rgba(255,255,255,0.72);
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
  margin: 0;
  max-width: 600px;
}

.ticket-btn {
  flex-shrink: 0;
  background: rgba(255,180,60,1);
  color: #1a0800;
  font-weight: 800;
  font-size: 15px;
  padding: 0 28px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.2s ease;
  white-space: nowrap;
}

.ticket-btn:hover {
  background: #ffd06a;
  transform: translateY(-1px);
}

/* FAQ / CTA / FOOTER */

.slim {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0 20px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  padding: 0 0 18px;
  margin: 0;
}

.cta-section {
  padding-top: 30px;
}

.cta-box {
  background: #ffffff;
  border-radius: 32px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer {
  background: linear-gradient(160deg, #0e0421 0%, #1c0938 55%, #0b0319 100%);
  color: #fff;
  overflow: hidden;
}

.footer-wave {
  display: block;
  width: 100%;
  line-height: 0;
  margin-bottom: -2px;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.5fr;
  gap: 48px;
  padding: 36px 0 56px;
}

.footer-logo {
  width: 110px;
  display: block;
  margin-bottom: 20px;
}

.footer-address {
  font-style: normal;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.85;
  margin: 0 0 16px;
}

.footer-address-note {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-contact {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.85;
  margin: 0;
}

.footer-contact strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 2px;
}

.footer-nav-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  margin: 0 0 8px;
}

.footer-nav a,
.site-footer a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-nav a:hover,
.site-footer a:hover {
  color: #fff;
}

.footer-partners {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-partner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 16px;
}

.partner-logo {
  width: 72px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255,255,255,0.04);
}

.partner-logo--myclub {
  background: transparent;
}

.myclub-logo-text {
  display: inline-flex;
  align-items: center;
  font-size: 21px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
  line-height: 1;
  flex-shrink: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.myclub-arc {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #4a8ab8;
  border-radius: 50%;
  border-right-color: transparent;
  transform: rotate(-40deg);
  margin: 0 1px;
  flex-shrink: 0;
}

.partner-heading {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin: 0 0 4px;
}

.footer-partner p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.55;
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.22);
  margin: 0;
  text-align: center;
}

/* NAV DROPDOWN */

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 1;
}

.nav-dropdown:hover {
  z-index: 10;
}

/* Osynlig brygga som täcker glapet mellan knapp och dropdown */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 16px;
}

.dropdown-toggle {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
}

.hero-menu-item .dropdown-toggle {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.dropdown-toggle:hover,
.nav-dropdown:hover .dropdown-toggle {
  color: #fff;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #1c0938;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 10px;
  min-width: 180px;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75) !important;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a.dropdown-active {
  background: rgba(255,255,255,0.08);
  color: #fff !important;
}

.dropdown-menu a.dropdown-active {
  background: rgba(255,255,255,0.12);
}

/* KURS PAGE */

.kurs-fakta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: #fff;
  box-shadow: var(--shadow);
}

.kurs-fakta-panel h3 {
  margin-bottom: 20px;
  font-size: 20px;
  color: #111;
}

.kurs-fakta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kurs-fakta-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.kurs-fakta-list li:last-child {
  border-bottom: none;
}

.kurs-fakta-label {
  font-weight: 700;
  color: #555;
  flex-shrink: 0;
}

.kurs-fakta-value {
  color: #111;
  text-align: right;
}

.kurs-mal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.kurs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.kurs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.kurs-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.kurs-grid--one {
  grid-template-columns: 1fr;
  max-width: 540px;
}

.kurs-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.kurs-card-header {
  padding: 18px 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.kurs-card--steg1 .kurs-card-header {
  background: var(--steg-1);
}

.kurs-card--steg2 .kurs-card-header {
  background: var(--steg-2);
}

.kurs-card--steg3 .kurs-card-header {
  background: var(--steg-3);
}

.kurs-card--vuxen .kurs-card-header {
  background: var(--vuxen);
}

.kurs-card--musikal .kurs-card-header {
  background: var(--musikal);
}

.kurs-card--senior .kurs-card-header {
  background: var(--senior);
}

.kurs-card--kidz .kurs-card-header {
  background: var(--kidz);
}

.kurs-card-dag {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.kurs-card-tid {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.01em;
}

.kurs-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.kurs-card-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.kurs-card-info-item {
  background: #f9f8f6;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kurs-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: #aaa;
}

.kurs-card-value {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.kurs-card-ledare,
.kurs-card-forestallning {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 14px;
  color: #444;
}

.kurs-card-ledare .kurs-card-label,
.kurs-card-forestallning .kurs-card-label {
  color: #aaa;
}

.kurs-card-forestallning strong {
  color: #111;
  font-size: 15px;
}

.kurs-card-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .intro-grid-two,
  .two-col,
  .course-grid {
    grid-template-columns: 1fr;
  }

  .schedule-grid-5 {
    grid-template-columns: 70px repeat(4, minmax(220px, 1fr));
    min-width: 1080px;
  }

  .schedule-simple {
    overflow-x: auto;
    padding-bottom: 8px;
  }
}

@media (max-width: 820px) {
  .site-header-home {
    min-height: 340px;
  }

  .site-header-home::after {
    bottom: -40px;
    height: 80px;
  }

  .header-home-inner {
    padding: 14px 0 82px;
  }

  .hero-brand-logo {
    width: min(620px, 92vw);
    max-height: 260px;
  }

  .hero-menu {
    gap: 10px;
  }

  .hero-menu-item {
    min-height: 48px;
    padding: 0 18px;
  }

  .cta-box,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 20px), var(--max));
  }

  .site-header-home {
    min-height: 280px;
  }

  .site-header-home::after {
    bottom: -26px;
    height: 52px;
    left: -5%;
    right: -5%;
  }

  .header-home-inner {
    padding: 10px 0 54px;
  }

  .hero-brand-logo {
    width: min(460px, 90vw);
    max-height: 200px;
  }

  .hero-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 360px;
  }

  .hero-menu-item {
    width: 100%;
    text-align: center;
    padding: 0 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 60px 0 48px;
  }

  h1 {
    font-size: 40px;
    line-height: 0.98;
  }

  h2 {
    font-size: 32px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .panel,
  .cta-box {
    padding: 20px;
  }

  .section {
    padding: 64px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 0 44px;
  }

  .footer-wave svg {
    height: 50px;
  }

  /* ── NAV (kurs- och ledarsidor) ── */
  .nav-wrap {
    flex-wrap: wrap;
    gap: 6px 0;
    padding: 12px 0;
  }
  .site-nav {
    flex-wrap: wrap;
    gap: 4px 14px;
    width: 100%;
  }
  .site-nav > a,
  .nav-dropdown > .dropdown-toggle {
    font-size: 13px;
  }
  .dropdown-menu {
    left: 0;
    transform: none;
  }

  /* ── TICKET BANNER ── */
  .ticket-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 20px;
  }
  .ticket-btn {
    width: 100%;
    justify-content: center;
  }
  .ticket-banner::before {
    display: none;
  }

  /* ── KURS GRIDS ── */
  .kurs-grid,
  .kurs-grid--three {
    grid-template-columns: 1fr;
  }

  /* ── STAT GRID ── */
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── SECTION HEAD ── */
  .section-head {
    text-align: center;
  }

  /* ── KURS FAKTA ── */
  .kurs-fakta-panel {
    padding: 20px;
  }

  /* ── KURS HERO ── */
  .kurs-hero-content {
    padding: 20px 0 8px;
  }
  .kurs-hero-content h1 {
    font-size: 36px;
  }
  .kurs-hero-content > p {
    font-size: 16px;
    max-width: 100%;
  }

  /* ── CHIPS PÅ STARTSIDAN ── */
  .hero-kurs-chips {
    gap: 6px;
  }
  .hero-chip {
    font-size: 12px;
    padding: 6px 13px;
  }

  /* ── LEDARE GRID ── */
  .ledare-grid {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)) !important;
    gap: 14px !important;
    margin-top: 28px !important;
  }

  /* ── CTA KONTAKT ── */
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== POSTER-SCHEMA, REN VERSION ===== */

.schedule-simple,
.schedule-wrapper,
.schedule-board {
  display: none;
}

.poster-schedule {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr 0.9fr 1.05fr;
  gap: 22px;
  align-items: end;
}

.poster-day {
  position: relative;
  min-height: 650px;
  padding: 18px;
  border-radius: 28px;
  overflow: visible;
  background:
    linear-gradient(rgba(39, 20, 79, 0.74), rgba(39, 20, 79, 0.74)),
    url('../images/hero-bg.png') center/cover no-repeat;
  box-shadow: var(--shadow);
}

.poster-day-title {
  margin: 0 0 16px;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.poster-card {
  position: absolute;
  border-radius: 24px;
  padding: 12px 14px;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(0,0,0,0.16);
  border: 4px solid rgba(255,255,255,0.92);
  transition: transform 0.2s ease;
}

.poster-card:hover {
  transform: translateY(-2px);
}

.poster-card h4 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1;
  color: #ffffff;
  font-weight: 900;
}

.poster-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
  color: rgba(255,255,255,0.96);
  font-weight: 600;
}

.poster-card .leaders {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.25;
  color: rgba(255,255,255,0.92);
}

.poster-card .schedule-badge {
  display: none;
}

/* Färger */
.poster-card.card-kidz { background: var(--kidz); }
.poster-card.card-steg-1 { background: var(--steg-1); }
.poster-card.card-steg-2 { background: var(--steg-2); }
.poster-card.card-steg-3 { background: var(--steg-3); }
.poster-card.card-musikal { background: var(--musikal); }
.poster-card.card-senior { background: var(--senior); }
.poster-card.card-vuxen { background: var(--vuxen); }
.poster-card.card-sang { background: #6b6b6b; }

/* Gemensamma höjdlinjer */
:root {
  --y-1100: 78px;
  --y-1615: 150px;
  --y-1630: 165px;
  --y-1700: 195px;
  --y-1730: 255px;
  --y-1745: 270px;
  --y-1845: 360px;
  --y-1900: 375px;
}

/* Måndag */
.p-m-steg1 { top: var(--y-1630); left: 24px; width: 118px; height: 98px; }
.p-m-steg2 { top: var(--y-1730); left: 24px; width: 118px; height: 106px; }
.p-m-steg3 { top: var(--y-1845); left: 24px; width: 118px; height: 106px; }
.p-m-musikal-gul { top: var(--y-1730); right: 24px; width: 140px; height: 118px; }
.p-m-musikal-lila { top: var(--y-1900); right: 24px; width: 140px; height: 118px; }

/* Tisdag */
.p-t-senior { top: -86px; left: 50%; transform: translateX(-50%); width: 132px; height: 112px; z-index: 3; }
.p-t-sang1 { top: var(--y-1615); left: 24px; width: 110px; height: 58px; }
.p-t-steg1 { top: var(--y-1630); left: 140px; width: 120px; height: 98px; }
.p-t-vuxen-a { top: var(--y-1700); left: 24px; width: 124px; height: 108px; }
.p-t-kidz { top: var(--y-1700); left: 266px; width: 118px; height: 58px; }
.p-t-sang2 { top: var(--y-1700); right: 24px; width: 110px; height: 58px; }
.p-t-steg3 { top: var(--y-1730); left: 140px; width: 120px; height: 112px; }
.p-t-vuxen-b { top: var(--y-1745); right: 24px; width: 128px; height: 116px; }
.p-t-steg2 { top: var(--y-1900); left: 140px; width: 120px; height: 96px; }

/* Onsdag */
.p-o-steg1 { top: var(--y-1630); left: 24px; right: 24px; height: 98px; }
.p-o-steg2 { top: var(--y-1730); left: 24px; right: 24px; height: 106px; }
.p-o-steg3 { top: var(--y-1845); left: 24px; right: 24px; height: 106px; }

/* Torsdag */
.p-to-steg1 { top: var(--y-1745); left: 24px; width: 132px; height: 82px; }
.p-to-steg2 { top: var(--y-1845); left: 24px; width: 132px; height: 92px; }
.p-to-musikal { top: var(--y-1700); right: 24px; width: 132px; height: 226px; }

@media (max-width: 1200px) {
  .poster-schedule {
    grid-template-columns: 1fr 1fr;
  }

  .poster-day {
    min-height: 650px;
  }
}

@media (max-width: 700px) {
  .poster-schedule {
    grid-template-columns: 1fr;
  }

  .poster-day {
    min-height: 620px;
  }

  .p-t-senior {
    top: 24px;
  }
}
/* ===== STABILT SCHEMA UTAN ÖVERLAPP ===== */

.poster-schedule,
.schedule-simple,
.schedule-wrapper,
.schedule-board {
  display: none;
}

.schedule-columns {
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.9fr 1fr;
  gap: 22px;
  align-items: start;
}

.day-panel {
  background:
    linear-gradient(rgba(39, 20, 79, 0.74), rgba(39, 20, 79, 0.74)),
    url('../images/hero-bg.png') center/cover no-repeat;
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.day-panel-wide {
  padding-top: 18px;
}

.day-panel-title {
  margin: 0 0 16px;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.day-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1px;
  gap: 12px;
  min-height: 560px;
  align-items: start;
}

.day-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.day-card {
  border-radius: 24px;
  padding: 12px 14px;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(0,0,0,0.16);
  border: 4px solid rgba(255,255,255,0.92);
  transition: transform 0.2s ease;
  overflow: hidden;
  min-width: 0;
}

.day-card:hover {
  transform: translateY(-2px);
}

.day-card h4 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1;
  color: #ffffff;
  font-weight: 900;
}

.day-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
  color: rgba(255,255,255,0.96);
  font-weight: 600;
}

.day-card .leaders {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.25;
  color: rgba(255,255,255,0.92);
}

/* Kolumner */
.col-1 { grid-column: 1 / 2; }
.col-2 { grid-column: 2 / 3; }
.col-3 { grid-column: 3 / 4; }
.col-1-2 { grid-column: 1 / -1; }

/* Färger */
.day-card.card-kidz { background: var(--kidz); }
.day-card.card-steg-1 { background: var(--steg-1); }
.day-card.card-steg-2 { background: var(--steg-2); }
.day-card.card-steg-3 { background: var(--steg-3); }
.day-card.card-musikal { background: var(--musikal); }
.day-card.card-senior { background: var(--senior); }
.day-card.card-vuxen { background: var(--vuxen); }
.day-card.card-sang { background: #6b6b6b; }

@media (max-width: 1200px) {
  .schedule-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .schedule-columns {
    grid-template-columns: 1fr;
  }

  .day-grid,
  .day-grid-3 {
    grid-template-columns: 1fr;
    min-height: auto;
    grid-auto-rows: auto;
  }

  .day-card,
  .col-1,
  .col-2,
  .col-3,
  .col-1-2 {
    grid-column: 1 / -1;
    grid-row: auto !important;
  }
}

/* ===== KURSSCHEMA ===== */

.week-schedule {
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.9fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.ks-day {
  background:
    linear-gradient(rgba(39, 20, 79, 0.74), rgba(39, 20, 79, 0.74)),
    url('../images/hero-bg.png') center/cover no-repeat;
  border-radius: 20px;
  padding: 12px 10px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ks-day-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
}

.ks-dots {
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  margin: 5px 0 4px;
  letter-spacing: 0.05em;
}

.ks-daytime-card {
  flex-shrink: 0;
}

/* Evening wrapper: time axis + columns */
.ks-ev-wrap {
  display: flex;
  gap: 5px;
  flex: 1;
}

.ks-axis {
  width: 22px;
  flex-shrink: 0;
  position: relative;
}

.ks-hlbl {
  position: absolute;
  font-size: 8px;
  font-weight: 600;
  color: rgba(255,255,255,0.28);
  line-height: 1;
  right: 0;
  text-align: right;
  letter-spacing: -0.01em;
}

.ks-cols-wrap {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.ks-hline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.1);
  pointer-events: none;
}

.ks-cols {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 4px;
}

.ks-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  flex-shrink: 1;
}

.ks-card {
  display: block;
  border-radius: 7px;
  padding: 4px 6px;
  border: 1.5px solid rgba(255,255,255,0.7);
  text-decoration: none;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
  width: 100%;
  transition: opacity 0.15s;
}

.ks-card:hover { opacity: 0.82; }

.ks-t {
  font-size: 9px;
  color: rgba(255,255,255,0.8);
  display: block;
  margin-bottom: 1px;
  line-height: 1.2;
}

.ks-n {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  display: block;
  line-height: 1.2;
}

.ks-l {
  font-size: 9px;
  color: rgba(255,255,255,0.72);
  display: block;
  margin-top: 2px;
  line-height: 1.25;
}

.ks-steg1   { background: var(--steg-1); }
.ks-steg2   { background: var(--steg-2); }
.ks-steg3   { background: var(--steg-3); }
.ks-musikal { background: var(--musikal); }
.ks-senior  { background: var(--senior); }
.ks-vuxen   { background: var(--vuxen); }
.ks-kidz    { background: var(--kidz); }
.ks-sang    { background: #6b6b6b; }

@media (max-width: 1200px) {
  .week-schedule {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .week-schedule {
    grid-template-columns: 1fr;
  }
}
