/* ============================================================
   Foreningspadel landing — v3 (2026-06-12)
   Lyst "paper"-tema, grøn accent. Global block løftet fra
   Claude Design-referencen (Foreningspadel v3.dc.html).
   Forside + prisside bruger inline-styles på elementerne;
   her ligger reset, tokens, animationer, responsive + hover.
   ============================================================ */

:root {
  --accent: #12A06A;
  --accent-deep: #0C7A50;
  --accent-soft: #E6F5EE;
  --warm: #E0A92E;
  --paper: #FCFCFA;
  --soft: #F4F5F2;
  --ink: #14181C;
  --ink-2: #4A535B;
  --muted: #5A636B;
  --faint: #8A929A;
  --navy: #0E1A24;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #FCFCFA; }
::selection { background: #12A06A; color: #fff; }

@keyframes v2pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes v2float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .v2-plus { transform: rotate(45deg); }

.v2-link { transition: color .18s, gap .18s; }
.v2-link:hover { color: var(--accent,#12A06A) !important; }
.v2-card-up { transition: transform .25s ease, box-shadow .25s ease; }
.v2-card-up:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(16,30,40,0.13); }
.v2-cta { transition: filter .18s; }
.v2-cta:hover { filter: brightness(1.07); }

/* image hover-pop */
.v2-row-media img { transition: transform .32s cubic-bezier(.2,.7,.3,1); will-change: transform; }
.v2-row-media:hover img { transform: translateY(-8px) scale(1.02); }
.v2-gallery img { transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.v2-gallery > div:hover img { transform: scale(1.07); }
.v2-medals img { transition: transform .3s cubic-bezier(.2,.7,.3,1); }
.v2-medals > div:hover img { transform: translateY(-10px) scale(1.05); }
.v2-pills .v2-card-up svg { transition: transform .25s ease; }
.v2-pills .v2-card-up:hover svg { transform: scale(1.12); }

@media (max-width: 980px) {
  .v2-navlinks { display: none !important; }
  .v2-hero { grid-template-columns: 1fr !important; text-align: center; }
  .v2-hero-actions, .v2-hero-chips, .v2-hero-kicker { justify-content: center !important; }
  .v2-row { flex-direction: column !important; }
  .v2-row-media, .v2-row-text { width: 100% !important; }
  .v2-formats { grid-template-columns: 1fr !important; }
  .v2-price-grid { grid-template-columns: 1fr !important; }
  .v2-foot { grid-template-columns: 1fr 1fr !important; }
  .v2-gallery { grid-template-columns: 1fr 1fr !important; }
  .v2-guide-grid { grid-template-columns: 1fr !important; }
  .v2-navtoggle { display: inline-flex !important; }
}
@media (max-width: 600px) {
  .v2-pills { grid-template-columns: 1fr 1fr !important; }
  .v2-medals { grid-template-columns: 1fr 1fr !important; }
  .v2-gallery { grid-template-columns: 1fr !important; }
  .v2-foot { grid-template-columns: 1fr !important; }
  .v2-ladder { grid-template-columns: repeat(2,1fr) !important; }
}

/* Mobil-menu (hamburger) — skjult på desktop, vises < 980px via .v2-navtoggle */
.v2-navtoggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: #fff; cursor: pointer; }
.v2-mobilemenu { display: none; background: #0B0F12; border-bottom: 1px solid rgba(255,255,255,0.09); }
.v2-mobilemenu.open { display: block; }
.v2-mobilemenu a, .v2-mobilemenu button { display: block; width: 100%; text-align: left; padding: 15px 26px; font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 16px; color: rgba(255,255,255,0.82); text-decoration: none; background: none; border: none; border-top: 1px solid rgba(255,255,255,0.06); cursor: pointer; }

/* ── "Under opbygning"-banner — FJERNES når siden er officiel ── */
.wip-ribbon {
  position: fixed; top: 34px; right: -52px; z-index: 9999;
  transform: rotate(45deg);
  display: flex; align-items: center; gap: 7px; justify-content: center;
  background: linear-gradient(180deg, #fbbf24, #d97706);
  color: #221703;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  padding: 6px 46px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
  pointer-events: none; -webkit-user-select: none; user-select: none;
}
.wip-ribbon i, .wip-ribbon svg { width: 13px; height: 13px; flex-shrink: 0; }
@media (max-width: 1320px) {
  .wip-ribbon { position: relative; top: 0; right: 0; transform: none; padding: 8px 16px; font-size: 10px; box-shadow: none; }
}

/* ── Live scoring-panel: venue-foto-baggrund + flydende landskabs-telefon ── */
.live-panel { position: relative; overflow: hidden; border-radius: 24px; min-height: clamp(560px, 58vw, 690px); box-shadow: 0 24px 60px rgba(16,30,40,0.18); }
.live-panel__text { position: absolute; z-index: 3; top: clamp(34px, 7%, 72px); left: 0; width: min(48%, 460px); padding: 0 clamp(28px, 4vw, 52px); }
.live-panel__phone { position: absolute; z-index: 2; bottom: 0; left: 31%; transform: translateX(-50%); width: clamp(330px, 42vw, 560px); height: auto; filter: drop-shadow(0 22px 44px rgba(0,0,0,0.6)); }
@media (max-width: 980px) {
  .live-panel { min-height: 0; padding: clamp(30px,6vw,48px) 0 0; }
  .live-panel__text { position: static; width: auto; }
  .live-panel__phone { position: static; transform: none; display: block; width: 92%; max-width: 480px; margin: 26px auto 0; left: auto; bottom: auto; }
}

/* ── Rangliste-panel: bred leaderboard som baggrund + læsbar tekst ── */
.rank-panel { position: relative; overflow: hidden; border-radius: 24px; min-height: clamp(400px, 42vw, 480px); box-shadow: 0 24px 60px rgba(16,30,40,0.18); display: flex; align-items: center; }
.rank-panel__text { position: relative; z-index: 3; width: min(50%, 480px); padding: clamp(28px,4vw,52px); }
.rank-panel__text h3, .rank-panel__text p { text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
@media (max-width: 980px) {
  .rank-panel { min-height: 0; padding: clamp(32px,7vw,56px) 0; }
  .rank-panel__text { width: auto; }
}

/* ============================================================
   LEGAL-SIDER (privatliv / vilkaar / cookies) — v3 lyst tema
   ============================================================ */
.legal-page { font-family: 'Hanken Grotesk', sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
.legal-nav { position: sticky; top: 0; z-index: 50; background: rgba(11,15,18,0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.09); }
.legal-nav__inner { max-width: 1240px; margin: 0 auto; padding: 13px 26px; display: flex; align-items: center; gap: 18px; }
.legal-nav__brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.legal-nav__brand img { width: 36px; height: 36px; border-radius: 9px; display: block; }
.legal-nav__brand span { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: #fff; }
.legal-nav__back { margin-left: auto; font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 15px; color: rgba(255,255,255,0.74); text-decoration: none; }
.legal-nav__back:hover { color: var(--accent); }

.legal { max-width: 880px; margin: 0 auto; padding: clamp(40px,6vw,72px) 26px clamp(56px,8vw,96px); }
.legal__eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.legal h1 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(30px,4.4vw,52px); line-height: 1.04; letter-spacing: -0.03em; margin: 12px 0 14px; }
.legal__meta { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0 0 8px; }
.legal__toc { background: var(--soft); border: 1px solid rgba(20,24,28,0.08); border-radius: 16px; padding: 22px 26px; margin: 28px 0 36px; }
.legal__toc-title { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.legal__toc ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; }
.legal__toc a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.legal__toc a:hover { color: var(--accent); }
.legal__article h2 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(20px,2.4vw,26px); letter-spacing: -0.015em; margin: 38px 0 12px; }
.legal__article h3 { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 17px; margin: 22px 0 8px; }
.legal__article p, .legal__article li { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.legal__article ul { padding-left: 22px; display: grid; gap: 7px; }
.legal__article a { color: var(--accent-deep); }
.legal__callout { background: var(--accent-soft); border: 1px solid rgba(18,160,106,0.25); border-radius: 14px; padding: 18px 22px; margin: 20px 0; }
.legal__callout p { margin: 0; color: #14181C; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 11px 13px; border: 1px solid rgba(20,24,28,0.1); vertical-align: top; }
.legal th { background: var(--soft); font-family: 'Manrope', sans-serif; font-weight: 700; color: var(--ink); }
.legal td { color: var(--ink-2); }
.legal__related { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(20,24,28,0.1); }
.legal__related-title { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.legal__related a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--accent-deep); text-decoration: none; }
.legal__related a:hover { color: var(--accent); }
.legal__related svg, .legal__related i { width: 16px; height: 16px; }

.legal-footer { background: #0E1A24; color: #8FA0AC; padding: 36px 26px; }
.legal-footer__inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; }
.legal-footer__inner .mono { font-family: 'IBM Plex Mono', monospace; }
