/*
Theme Name: Pernille Rask – Sport + Booking + Sportsfys
Theme URI: https://pernillerask.dk/
Author: OpenAI
Description: Et rent og sportsligt WordPress-tema til Pernille Rask, fysioterapeut og certificeret idrætsfysioterapeut.
Version: 2.2.0
Text Domain: pernille-rask-sport
*/

:root{
  --navy:#092d52;
  --navy-2:#123f69;
  --blue:#6e9fc7;
  --blue-soft:#eef5fa;
  --cream:#f7f4ee;
  --white:#ffffff;
  --ink:#17304a;
  --muted:#647386;
  --line:#dce4ea;
  --max:1180px;
  --shadow:0 18px 46px rgba(9,45,82,.09);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--white);
  color:var(--ink);
  line-height:1.65;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
.wrap{width:min(calc(100% - 42px),var(--max));margin-inline:auto}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.nav{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.45rem;
  font-weight:700;
  color:var(--navy);
  white-space:nowrap;
}
.nav-right{display:flex;align-items:center;gap:22px}
.main-nav{display:flex;align-items:center;gap:24px;font-size:.93rem;color:#314b65}
.main-nav a:hover{color:var(--navy)}
.header-book{padding:10px 17px!important}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  padding:13px 20px;
  font-weight:750;
  border:1px solid var(--line);
  transition:.18s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--navy);border-color:var(--navy);color:#fff}
.btn-primary:hover{background:var(--navy-2);box-shadow:0 10px 26px rgba(9,45,82,.18)}
.btn-light{background:#fff;color:var(--navy)}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}

.hero{
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 18%,rgba(110,159,199,.20),transparent 30%),
    linear-gradient(135deg,#fff 0%,#f8fbfd 58%,#eef5fa 100%);
  border-bottom:1px solid var(--line);
}
.hero-grid{
  min-height:620px;
  display:grid;
  grid-template-columns:1.03fr .97fr;
  gap:52px;
  align-items:center;
}
.kicker{
  color:var(--navy-2);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:16px;
}
h1{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  color:var(--navy);
  font-size:clamp(3.8rem,8vw,7rem);
  line-height:.88;
  letter-spacing:-.045em;
}
.hero-title{
  margin:24px 0 0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.7rem,3vw,2.65rem);
  line-height:1.12;
  color:var(--navy);
  max-width:680px;
}
.hero-lead{
  max-width:680px;
  margin:18px 0 0;
  color:var(--muted);
  font-size:1.06rem;
}
.hero-photo-wrap{
  display:flex;
  justify-content:flex-end;
  align-items:flex-end;
  align-self:end;
}
.hero-photo{
  width:min(100%,520px);
  background:#fff;
  border-radius:30px 30px 0 0;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid rgba(220,228,234,.8);
  border-bottom:0;
}
.hero-photo img{
  width:100%;
  height:565px;
  object-fit:cover;
  object-position:center 33%;
}

.audience{
  background:var(--blue-soft);
  border-bottom:1px solid var(--line);
}
.audience-inner{
  min-height:130px;
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:50px;
  align-items:center;
}
.audience h2{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  color:var(--navy);
  font-size:1.65rem;
}
.audience p{margin:0;color:var(--muted)}

.section{padding:88px 0}
.section-label{
  text-align:center;
  color:var(--navy-2);
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.14em;
  margin-bottom:8px;
}
.section-title{
  margin:0 0 14px;
  text-align:center;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.15rem,4vw,3.45rem);
  line-height:1.08;
  color:var(--navy);
}
.section-intro{
  margin:0 auto 42px;
  max-width:730px;
  text-align:center;
  color:var(--muted);
}

.services{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.service{
  border:1px solid var(--line);
  border-radius:18px;
  padding:28px 24px;
  min-height:300px;
  background:#fff;
  transition:.2s ease;
}
.service:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.service-icon{
  width:46px;height:46px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--blue-soft);
  color:var(--navy);
  margin-bottom:34px;
  font-size:1.3rem;
  font-weight:800;
}
.service h3{
  margin:0 0 11px;
  color:var(--navy);
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.34rem;
  line-height:1.18;
}
.service p{margin:0;color:var(--muted);font-size:.95rem}
.service-note{
  display:inline-block;
  margin-top:14px;
  color:var(--navy-2);
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.07em;
}

.rts{
  background:var(--navy);
  color:#fff;
  overflow:hidden;
}
.rts-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:500px;
}
.rts-copy{
  padding:76px max(42px,calc((100vw - var(--max))/2));
  padding-right:65px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.rts .section-label{text-align:left;color:#bcd2e5}
.rts h2{
  margin:0 0 18px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.2rem,4vw,3.6rem);
  line-height:1.08;
}
.rts p{color:#d5e0ea;max-width:600px;margin:0}
.checks{display:grid;gap:10px;margin:26px 0 0;padding:0;list-style:none}
.checks li{display:flex;gap:11px;align-items:flex-start;color:#edf4f9}
.checks li:before{
  content:"✓";
  display:grid;place-items:center;
  width:21px;height:21px;border-radius:50%;
  background:#fff;color:var(--navy);font-weight:900;font-size:.75rem;
  flex:0 0 auto;margin-top:2px;
}
.sport-visual{
  position:relative;
  min-height:500px;
  background:
    linear-gradient(rgba(9,45,82,.08),rgba(9,45,82,.22)),
    radial-gradient(circle at 70% 55%,rgba(255,255,255,.26),transparent 14%),
    linear-gradient(160deg,#7ca4bd 0%,#3d708b 46%,#1c516c 100%);
}
.pitch{
  position:absolute;inset:0;overflow:hidden;
}
.pitch:before{
  content:"";
  position:absolute;
  width:64%;height:64%;
  left:18%;top:18%;
  border:3px solid rgba(255,255,255,.72);
  border-radius:2px;
  transform:perspective(800px) rotateX(57deg);
}
.pitch:after{
  content:"";
  position:absolute;
  width:155px;height:155px;border-radius:50%;
  border:3px solid rgba(255,255,255,.72);
  left:50%;top:50%;transform:translate(-50%,-50%);
}
.ball{
  position:absolute;
  right:15%;bottom:18%;
  width:120px;height:120px;border-radius:50%;
  border:5px solid rgba(255,255,255,.94);
  box-shadow:0 15px 30px rgba(0,0,0,.22);
}
.ball:before,.ball:after{
  content:"";position:absolute;background:rgba(255,255,255,.94)
}
.ball:before{width:5px;height:106px;left:52px;top:3px;transform:rotate(42deg)}
.ball:after{height:5px;width:106px;left:3px;top:53px;transform:rotate(42deg)}

.experience-section{background:#f8fafc}
.experience{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
}
.exp{
  padding:28px 17px;
  text-align:center;
  border-right:1px solid var(--line);
}
.exp:last-child{border-right:0}
.exp-icon{
  width:42px;height:42px;border-radius:50%;
  display:grid;place-items:center;margin:0 auto 14px;
  background:var(--blue-soft);color:var(--navy);font-weight:900;
}
.exp strong{display:block;color:var(--navy);font-size:.92rem;line-height:1.28}
.exp span{display:block;color:var(--muted);font-size:.82rem;margin-top:6px}

.about{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:60px;
  align-items:start;
}
.about-left{
  background:var(--cream);
  border-radius:22px;
  padding:38px;
}
.about-left .big{
  font-family:Georgia,"Times New Roman",serif;
  font-size:2.2rem;
  line-height:1.15;
  color:var(--navy);
  margin:0;
}
.about-right h2{
  margin:0 0 18px;
  color:var(--navy);
  font-family:Georgia,"Times New Roman",serif;
  font-size:2.55rem;
}
.about-right p{color:var(--muted);margin:0 0 16px}

.contact-band{
  background:var(--navy);
  color:#fff;
  padding:36px 0;
}
.contact-inner{
  display:flex;align-items:center;justify-content:space-between;gap:30px;
}
.contact-band h2{
  margin:0 0 4px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:2rem;
}
.contact-band p{margin:0;color:#cbd9e6}
.contact-actions{display:flex;gap:12px;flex-wrap:wrap}

.mentor-strip{
  border-top:1px solid var(--line);
  background:#fff;
  padding:30px 0;
}
.mentor-inner{
  display:flex;align-items:center;justify-content:space-between;gap:28px;
}
.mentor-copy strong{display:block;color:var(--navy);font-size:1rem}
.mentor-copy span{color:var(--muted);font-size:.9rem}
.mentor-link{font-weight:800;color:var(--navy);white-space:nowrap}

.site-footer{
  background:#f7f9fb;
  border-top:1px solid var(--line);
  padding:46px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr;
  gap:50px;
}
.footer-brand{
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.5rem;
  color:var(--navy);
  font-weight:700;
}
.footer-title{font-weight:800;color:var(--navy);font-size:.9rem;margin-bottom:8px}
.footer-grid p,.footer-grid a{color:var(--muted);font-size:.9rem}
.footer-links{display:grid;gap:5px}
.copyright{
  margin-top:36px;padding-top:20px;border-top:1px solid var(--line);
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;
  color:#8190a0;font-size:.8rem;
}

.page-shell{padding:80px 0 110px;background:#f8fafc}
.page-card{
  max-width:860px;margin:0 auto;background:#fff;border:1px solid var(--line);
  border-radius:22px;padding:46px;box-shadow:var(--shadow)
}
.page-card h1{
  font-size:clamp(2.8rem,6vw,4.5rem);line-height:1;
}
.page-card h2{color:var(--navy);margin-top:38px}
.page-card p,.page-card li{color:var(--muted)}
.price-note{
  border-left:4px solid var(--navy);
  background:var(--blue-soft);
  padding:18px 20px;
  margin:28px 0;
}


.booking-page{background:#f8fafc}
.booking-hero{
  padding:72px 0 34px;
  background:linear-gradient(135deg,#fff 0%,#f2f7fb 100%);
  border-bottom:1px solid var(--line);
}
.booking-title{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  color:var(--navy);
  font-size:clamp(3rem,7vw,5.5rem);
  line-height:.95;
}
.booking-intro{margin:18px 0 0;max-width:680px;color:var(--muted);font-size:1.05rem}
.booking-section{padding:38px 0 80px}
.booking-frame{
  overflow:hidden;
  border-radius:20px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.booking-frame iframe{display:block;width:100%;min-height:1100px;border:0;background:#fff}
.booking-fallback{margin:16px 4px 0;color:var(--muted);font-size:.88rem}
.booking-fallback a{color:var(--navy);font-weight:750}
@media(max-width:620px){
  .booking-hero{padding:52px 0 26px}
  .booking-section{padding:24px 0 58px}
  .booking-frame{border-radius:12px}
  .booking-frame iframe{min-height:1250px}
}


.credential-link{
  color:inherit;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.credential-link:hover{
  color:var(--blue);
}
.credential-link.inline{
  color:var(--navy);
}
.footer-credential{
  color:var(--muted);
}

@media(max-width:1050px){
  .services{grid-template-columns:1fr 1fr}
  .experience{grid-template-columns:repeat(3,1fr)}
  .exp:nth-child(3){border-right:0}
  .exp:nth-child(-n+3){border-bottom:1px solid var(--line)}
}
@media(max-width:860px){
  .main-nav{display:none}
  .hero-grid{grid-template-columns:1fr;min-height:auto;padding-top:60px}
  .hero-photo-wrap{justify-content:center}
  .hero-photo{border-radius:26px 26px 0 0;width:min(100%,480px)}
  .hero-photo img{height:auto}
  .audience-inner{grid-template-columns:1fr;gap:8px;padding:28px 0}
  .rts-grid{grid-template-columns:1fr}
  .rts-copy{padding:64px 28px}
  .sport-visual{min-height:340px}
  .about{grid-template-columns:1fr;gap:26px}
  .contact-inner,.mentor-inner{align-items:flex-start;flex-direction:column}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .wrap{width:min(calc(100% - 26px),var(--max))}
  .brand{font-size:1.15rem}
  .header-book{padding:9px 13px!important;font-size:.88rem}
  .hero-grid{gap:26px}
  h1{font-size:clamp(3.5rem,18vw,5rem)}
  .hero-title{font-size:1.75rem}
  .services{grid-template-columns:1fr}
  .service{min-height:auto}
  .experience{grid-template-columns:1fr 1fr}
  .exp:nth-child(3){border-right:1px solid var(--line)}
  .exp:nth-child(2n){border-right:0}
  .exp{border-bottom:1px solid var(--line)}
  .exp:nth-last-child(-n+2){border-bottom:0}
  .footer-grid{grid-template-columns:1fr}
  .section{padding:68px 0}
  .page-card{padding:28px}
}
