/* Pedro's Musikskole – let, sort-hvidt design i stil med den oprindelige side.
   Skrifttyper er lagt lokalt (ingen Google Fonts-kald). */

@font-face { font-family: "Raleway"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/raleway-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/raleway-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/raleway-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Amiri"; font-weight: 400; font-display: swap; src: url("fonts/amiri-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Amiri"; font-weight: 700; font-display: swap; src: url("fonts/amiri-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap; src: url("fonts/open-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --black: #000;
  --ink: #141414;
  --text: #37373a;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --bg: #fff;
  --wrap: 1000px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Raleway", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: #bbb; text-underline-offset: 3px; transition: text-decoration-color .2s; }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3 { font-family: "Amiri", Georgia, serif; font-weight: 700; color: var(--ink); letter-spacing: -.2px; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.45rem; margin-top: 2.2em; }
p { margin: 0 0 1.2em; }
strong { color: var(--ink); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Topbar (sort menu som originalen) ---------- */
.topbar { background: var(--black); position: sticky; top: 0; z-index: 20; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; }
.menu { display: flex; margin: 0; padding: 0; list-style: none; }
.menu a {
  display: block; padding: .8rem 1rem;
  font-family: "Open Sans", system-ui, sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
  color: #e2e2e2; border-right: 1px solid #222;
}
.menu li:first-child a { border-left: 1px solid #222; }
.menu a:hover, .menu a[aria-current="page"] { color: #fff; background: #1a1a1a; }
.topbar-phone { color: #9a9a9a; font-family: "Open Sans", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 1px; text-decoration: none; }
.topbar-phone:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; color: #e2e2e2; font: 600 11px/1 "Open Sans", sans-serif; letter-spacing: 1px; text-transform: uppercase; padding: 1rem 0; cursor: pointer; }

@media (max-width: 640px) {
  .menu-toggle { display: block; }
  .topbar .wrap { flex-wrap: wrap; }
  .menu { display: none; width: 100%; flex-direction: column; padding-bottom: .5rem; }
  .menu.open { display: flex; }
  .menu a, .menu li:first-child a { border: 0; border-top: 1px solid #222; padding: .9rem 0; font-size: 12px; }
}

/* ---------- Logo-header ---------- */
.masthead { padding: 2.6rem 0 0; }
.masthead a { display: block; width: fit-content; margin: 0 auto; }
.masthead img { width: 300px; max-width: 70vw; }
.masthead .rule { border: 0; border-top: 2px solid var(--ink); margin: 2.6rem 0 0; }

/* ---------- Indhold ---------- */
.page { padding: 3rem 0 4.5rem; }
.page-title { margin-bottom: 1.6rem; }
.intro { text-align: center; max-width: 720px; margin: 0 auto 2.6rem; }
.intro h2 { margin-bottom: .4em; }
.lead { font-size: 1.05rem; }
.narrow { max-width: 760px; margin-inline: auto; }

/* Billedgitter som originalen: sort-hvide fotos i rækker */
.grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid + .grid { margin-top: 14px; }
.grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.grid-2 img { aspect-ratio: 4 / 3; }
.grid-4 img, .grid-tall img { aspect-ratio: 2 / 3; }
@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 img:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}

.cta { text-align: center; margin-top: 3rem; }
.btn {
  display: inline-block; padding: .75rem 1.6rem; border: 1px solid var(--ink);
  font-family: "Open Sans", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink); text-decoration: none; transition: background .2s, color .2s; margin: .25rem;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #fff; color: var(--ink); }

/* Priser */
.prices { list-style: none; padding: 0; margin: 1rem 0 1.4rem; border-top: 1px solid var(--line); }
.prices li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.prices .amount { font-family: "Amiri", serif; font-weight: 700; font-size: 1.3rem; color: var(--ink); white-space: nowrap; }
.note { color: var(--muted); font-size: .95rem; }

/* Om Pedro */
.figure-right { float: right; width: 42%; margin: .4rem 0 1.4rem 2rem; }
@media (max-width: 640px) { .figure-right { float: none; width: 100%; margin: 0 0 1.6rem; } }
.clear { clear: both; }

/* Video */
.videos { display: grid; gap: 2.6rem; }
.video { margin: 0; }
.video figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; text-align: center; }
.yt, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; position: relative; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .8; transition: opacity .2s, filter .3s; }
.yt:hover img { opacity: 1; filter: grayscale(0); }
.play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.35); }
.play::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact dl { margin: 0; }
.contact dt { font-family: "Open Sans", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 1.2rem; }
.contact dt:first-child { margin-top: 0; }
.contact dd { margin: .1rem 0 0; font-size: 1.05rem; overflow-wrap: anywhere; }
@media (max-width: 640px) { .contact { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Footer ---------- */
.footer { background: #222; color: #8a8a8a; font-size: 12px; text-align: center; padding: 1.8rem 0; line-height: 1.7; }
.footer a { color: #bdbdbd; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer p { margin: 0; }
