/* ==========================================================
   Bo Skafte – guitarist & musikpædagog
   ========================================================== */
:root {
  --ink: #161615;
  --ink-2: #2d2d2c;
  --muted: #5f5d58;
  --line: #e4e1da;
  --paper: #f7f5f0;
  --card: #ffffff;
  --green: #209b15;       /* fra det gamle sites menu */
  --green-dark: #2d7926;  /* fra det gamle sites links */
  --green-light: #5fcf52; /* grøn tekst på mørk baggrund */
  --green-tint: #eaf6e8;
  --wood: #6b2f1a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22, 22, 21, .06), 0 8px 24px rgba(22, 22, 21, .07);
  --wrap: 1160px;
  --head: "Saira Extra Condensed", "Arial Narrow", sans-serif;
  --body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 90px; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--wood); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.05; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 9vw, 5.4rem); text-transform: uppercase; overflow-wrap: break-word; hyphens: manual; }
h2 { font-size: clamp(1.8rem, 6vw, 2.9rem); overflow-wrap: break-word; hyphens: manual; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--green); color: #fff; padding: 8px 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  color: #fff;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(22, 22, 21, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: flex; align-items: center; color: #fff; }
.logo svg { height: 34px; width: auto; fill: currentColor; }
.logo:hover { color: var(--green-light); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--head); font-size: 1.22rem; font-weight: 500; letter-spacing: .03em;
  text-decoration: none; color: rgba(255, 255, 255, .82);
  padding: 6px 10px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { color: var(--green-light); }

.menu-btn {
  display: none; position: relative; background: none; border: 0; padding: 0; color: #fff; cursor: pointer;
  width: 44px; height: 44px; margin-right: -10px; -webkit-appearance: none; appearance: none;
}
/* Stregerne placeres absolut (ikke med margin), så krydset bliver ens i alle browsere */
.menu-btn span {
  position: absolute; left: 10px; width: 24px; height: 2px; top: 21px; border-radius: 2px;
  background: currentColor; transition: transform .25s, opacity .2s;
}
.menu-btn span:nth-child(1) { transform: translateY(-7px); }
.menu-btn span:nth-child(3) { transform: translateY(7px); }
.menu-open .menu-btn span:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0; z-index: 60;
    height: calc(100vh - 68px); height: calc(100dvh - 68px); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 12px 20px 32px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 1.7rem; padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .nav { overscroll-behavior: contain; }
  /* Åben menu: topbaren låses fast øverst, og siden bag kan ikke scrolles */
  html.menu-lock { overflow: hidden; }
  .menu-open { padding-top: 68px; }
  .menu-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; background: var(--ink) center / cover no-repeat;
  isolation: isolate; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(14, 12, 10, .92) 0%, rgba(14, 12, 10, .72) 50%, rgba(14, 12, 10, .35) 100%);
}
.hero .wrap { padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(48px, 7vw, 90px); }
.hero h1 { margin: 0; }
.hero h1 em { font-style: normal; color: var(--green-light); }
.eyebrow {
  display: inline-block; font-family: var(--head); font-size: 1.15rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-light); margin-bottom: 12px;
}
.hero .lead { font-size: clamp(1.08rem, 2vw, 1.25rem); max-width: 620px; color: rgba(255, 255, 255, .85); margin: 18px 0 0; }
.hero-home h1 { font-size: clamp(2.9rem, 12vw, 6rem); max-width: 900px; }
.hero-home h1 em { display: block; color: #fff; }
.hero-home .wrap { padding-top: clamp(80px, 14vw, 170px); padding-bottom: clamp(80px, 12vw, 150px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--head); font-size: 1.3rem; font-weight: 600; letter-spacing: .03em;
  text-decoration: none; padding: 10px 24px; border-radius: 10px; border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
/* Grøn knap: diskret farvenuance som prøvetime-banneret + 1px lidt lysere kant */
.btn-green {
  background: linear-gradient(120deg, #1c8f12, #22a317 50%, #1e9314); color: #fff;
  border: 1px solid #3db331; padding: 11px 25px;
}
.btn-green:hover { background: linear-gradient(120deg, #2aab1d, #32ba25 50%, #2caf1f); border-color: #4fc843; color: #fff; }
.btn-green.btn-lg { padding: 15px 31px; }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-line { border-color: var(--green); color: var(--green-dark); }
.btn-line:hover { background: var(--green); color: #fff; }
.btn-lg { font-size: 1.5rem; padding: 14px 30px; border-radius: 12px; }
.btn .arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-white { background: var(--card); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(255, 255, 255, .7); }
.accent-bar { display: block; width: 56px; height: 4px; background: var(--green); border-radius: 2px; margin-bottom: 20px; }

.prose h2 { margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul li { margin-bottom: .35em; }
.prose ul li::marker { color: var(--green); }

.split { display: grid; gap: clamp(32px, 6vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; } .split.rev > :first-child { order: 2; } }

.photo { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.photo img { width: 100%; }

.signature { font-family: var(--head); font-size: 1.6rem; font-weight: 500; line-height: 1.2; margin-top: 28px; }
.signature small { display: block; font-family: var(--body); font-size: .95rem; color: var(--muted); margin-top: 4px; }

/* ---------- Feature cards ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
a.card { text-decoration: none; transition: transform .2s, border-color .2s; }
a.card:hover { transform: translateY(-3px); border-color: var(--green); color: inherit; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--green-light);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .3em; }
.card p { color: var(--muted); margin: 0; }
.card .more { margin-top: auto; padding-top: 16px; font-family: var(--head); font-size: 1.2rem; font-weight: 600; }
.card .more::after { content: " →"; color: var(--green); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 36px; }
.stat { border-left: 3px solid var(--green); padding-left: 16px; }
.stat b { display: block; font-family: var(--head); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.stat span { color: rgba(255, 255, 255, .7); font-size: .95rem; }

/* ---------- Callout / chips ---------- */
.callout {
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0;
}
.callout p { margin: 0; font-size: 1.1rem; }
.callout strong { color: var(--green-light); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 28px; }
.chips li {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; font-family: var(--head); font-size: 1.25rem; font-weight: 500;
}
.note { background: var(--green-tint); border: 1px solid #bfe2ba; border-radius: var(--radius); padding: 22px 26px; }
.note h3 { font-size: 1.45rem; }
.note ul { margin: .5em 0 1em; }
.note p:last-child { margin-bottom: 0; }

/* ---------- Dogmer ---------- */
.dogmer { list-style: none; counter-reset: d; padding: 0; display: grid; gap: 14px; margin: 28px 0; }
.dogmer li {
  counter-increment: d; position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px 20px 78px;
}
.dogmer li::before {
  content: counter(d); position: absolute; left: 20px; top: 18px;
  width: 40px; height: 40px; border-radius: 10px; background: var(--green); color: #fff;
  font-family: var(--head); font-weight: 700; font-size: 1.5rem; display: grid; place-items: center;
}

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 18px; }
.price {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center;
  box-shadow: var(--shadow);
}
/* Lille ur øverst: udfyldt del viser lektionens længde */
.price .clock {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 5px 16px 5px 6px; border-radius: 99px;
  background: var(--green-tint); color: var(--green-dark); font-family: var(--head); font-size: 1.15rem; font-weight: 600;
}
.price .clock svg { width: 30px; height: 30px; }
.price .dur { font-family: var(--head); font-size: 1.4rem; color: var(--muted); }
.price .amount { position: relative; font-family: var(--head); font-weight: 700; font-size: 3.6rem; line-height: 1.05; }
/* "kr." hænger til højre, så selve tallet står i midten */
.price .amount small { position: absolute; bottom: .35em; margin-left: .3em; font-size: 1.4rem; font-weight: 500; }
.small-print { color: var(--muted); font-size: .95rem; }
.event-prices { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.event-prices .card h3 { font-size: 1.5rem; }
.event-prices .first { font-family: var(--head); font-size: 2.4rem; font-weight: 700; line-height: 1.1; margin: 8px 0 2px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -36px; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); border: 4px solid var(--green);
}
.tl-item h2 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); margin-bottom: .3em; }
.tl-tag { font-family: var(--head); font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wood); }

/* ---------- Course ---------- */
.lessons { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.lesson { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.lesson .num { font-family: var(--head); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lesson h3 { font-size: 1.55rem; margin: 2px 0 12px; }
.lesson .none { color: var(--muted); font-size: .95rem; margin: 0; }
.dl { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dl a {
  display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: .97rem;
  padding: 9px 12px; border-radius: 10px; background: var(--paper); transition: background .15s;
}
.dl a:hover { background: var(--green-tint); color: var(--ink); }
.dl svg { flex: none; width: 20px; height: 20px; color: #c0392b; }

/* ---------- Books ---------- */
.books { display: grid; gap: 28px; }
.book {
  display: grid; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow);
}
@media (min-width: 860px) { .book { grid-template-columns: 420px 1fr; } }
.book h2 { font-size: clamp(1.8rem, 3.5vw, 2.3rem); }
.book .order { margin: 0; font-weight: 500; }

/* ---------- Press ---------- */
.press { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.press a {
  cursor: zoom-in; text-decoration: none; display: block; background: var(--card); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 6px 18px rgba(22, 22, 21, .14); border: 1px solid rgba(22, 22, 21, .28); transition: transform .2s;
}
.press a:hover { transform: translateY(-3px); }
/* Lille lup nederst i højre hjørne: viser at udklippet kan ses stort */
.press a { position: relative; }
.zoom {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--green);
  border: 1px solid #3db331; box-shadow: 0 3px 10px rgba(0, 0, 0, .25); transition: transform .2s, background .15s;
}
.zoom svg { width: 20px; height: 20px; }
.press a:hover .zoom { transform: scale(1.1); background: #2fb622; }
.press a:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.press img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(10, 10, 10, .88); }
.lightbox img { max-width: 96vw; max-height: 90vh; width: auto; border-radius: 8px; }
.lightbox .close {
  position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--green); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-grid .card h3 { font-size: 1.4rem; }
.contact-grid .card p { color: var(--ink); }
.contact-grid .big { font-family: var(--head); font-size: 1.9rem; font-weight: 600; text-decoration: none; line-height: 1.2; word-break: break-word; }
.contact-grid .big:hover { color: var(--wood); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 28px; }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- Video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.video iframe, .video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { cursor: pointer; background: #000 center / cover no-repeat; padding: 0; }
.video button::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23ffffff'/%3E%3C/svg%3E") 55% 50% / 40px no-repeat;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4); transition: transform .2s;
}
.video button:hover::after { transform: scale(1.08); }

/* ---------- Testimonials ---------- */
.intro-video { max-width: 880px; margin: 0 auto clamp(48px, 7vw, 80px); }
.quotes-more { margin: 36px 0 0; text-align: center; }
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote {
  margin: 0; background: #22211f; border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.stars { color: #ffd200; letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 18px; color: rgba(255, 255, 255, .88); }
.quote figcaption { margin-top: auto; font-family: var(--head); font-size: 1.35rem; font-weight: 600; color: var(--green-light); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding: clamp(56px, 8vw, 96px) 0;
  background: linear-gradient(120deg, #1a7f10 0%, #209b15 45%, #2a8a1f 75%, #1f6e19 100%);
}
/* Nuancer: lyse og mørke grønne felter der langsomt bevæger sig */
.cta::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background:
    radial-gradient(closest-side at 78% 40%, rgba(140, 230, 120, .45), transparent),
    radial-gradient(closest-side at 20% 80%, rgba(10, 60, 8, .45), transparent),
    radial-gradient(closest-side at 45% 10%, rgba(95, 207, 82, .3), transparent);
  animation: drift 14s ease-in-out infinite alternate;
}
.cta-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
@keyframes drift { from { transform: translate(-4%, -3%) rotate(0deg); } to { transform: translate(4%, 3%) rotate(8deg); } }
.cta h2 { line-height: 1.15; margin: 0; font-size: clamp(2.4rem, 6vw, 3.8rem); text-transform: uppercase; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Hvid hovedknap på grøn baggrund */
.cta .btn-green { background: #fff; border-color: #fff; color: var(--green-dark); }
.cta .btn-green:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta .btn-ghost { border-color: rgba(255, 255, 255, .7); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: .97rem; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h4 { font-family: var(--head); font-size: 1.3rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--green-light); }
.site-footer .logo svg { height: 30px; margin-bottom: 14px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- Mobil ---------- */
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .card, .quote { padding: 22px; }
  .dogmer li { padding: 18px 18px 18px 68px; }
  .dogmer li::before { left: 16px; }
  .price .amount { font-size: 3rem; }
  .contact-grid .big { font-size: 1.6rem; }
  .callout { padding: 20px; }
  .note { padding: 20px; }
  .lessons, .press, .quotes, .cards, .contact-grid, .event-prices { grid-template-columns: 1fr; }
  .press { gap: 40px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .map iframe { height: 280px; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
