/* Tannlege Forland — cohesive color, usable mobile layouts, and a crisp map marker. */
:root{--forland-heading:#2C3B92}
main h1,main h1 em,main h2,main h2 em,.service-dialog .service-dialog-title-row h2,
main .service-card h3,main .contact-card > h3,main .price-notes h3,
main .contact-form-wrap h3,main .blog-card h2{color:var(--forland-heading)}
main .band-cta h2{color:#fff}
/* Existing texts stay dark enough to read; brand color is for headings. */
.service-dialog .service-dialog-copy{color:#294c67;font-size:16px;line-height:1.7}
.service-dialog .service-dialog-title-row h2{color:var(--forland-heading);font-size:clamp(25px,3vw,36px)}
.service-dialog .service-dialog-actions .button{min-height:46px}
.service-dialog .dialog-close{min-width:44px;min-height:44px}
.service-section .service-grid .service-card h3{color:var(--forland-heading)}
/* New location marker is vector, so it stays sharp at every zoom and DPR. */
.clinic-pin-icon{border:0!important;background:transparent!important;overflow:visible!important}
.clinic-pin-visual{width:54px;height:68px;filter:drop-shadow(0 4px 5px rgba(17,45,82,.26))}
.clinic-pin-visual svg{display:block;width:100%;height:100%;overflow:visible}
.leaflet-tooltip.clinic-map-name{border:1px solid #cadbe9;border-radius:11px;padding:7px 11px;background:#fff;
  box-shadow:0 5px 14px rgba(21,58,103,.12);color:#2C3B92;font-family:inherit;font-weight:750;font-size:14px;
  line-height:1.25;white-space:nowrap;pointer-events:none}
.leaflet-tooltip.clinic-map-name::before{display:none}
.map-embed .map-live{touch-action:pan-y}
.map-embed .map-bottom-link{border-color:#c7d9e8;border-radius:12px}
.map-embed .map-bottom-link a{font-size:15px;font-weight:700}
/* Consistent focus and touch hit-targets. */
a:focus-visible,button:focus-visible{outline:3px solid #2C3B92;outline-offset:3px}
@media(max-width:1024px){
  /* Prevent narrow tablet side-by-side sections from squeezing text. */
  .contact-home-grid,.intro-grid,.contact-detail-grid{grid-template-columns:minmax(0,1fr);gap:30px}
  .team-grid{gap:32px}
  .footer-grid{gap:28px}
}
@media(max-width:820px){
  html{scroll-padding-top:86px}
  .header{z-index:1000}
  .head-inner{min-height:71px;gap:12px}
  .identity{max-width:calc(100% - 68px)}
  .mobile-menu-button{min-width:48px;min-height:48px;display:flex;align-items:center;justify-content:center;
    padding:9px;border-radius:12px;flex-shrink:0}
  .mobile-menu-button span{height:2px;flex-shrink:0}
  .mobile-menu:not([hidden]){display:flex;flex-direction:column;padding:12px clamp(18px,5vw,30px) 20px;
    gap:4px;max-height:calc(100dvh - 72px);overflow-y:auto;border-top:1px solid rgba(255,255,255,.23)}
  .mobile-menu .nav-link{display:flex;align-items:center;min-height:46px;font-size:17px;line-height:1.4;
    padding:9px 12px;border-radius:10px}
  .mobile-menu .nav-link.current{background:rgba(255,255,255,.14)}
  .mobile-menu .button{display:flex;justify-content:center;align-items:center;min-height:50px;margin-top:7px}
  .pagehero{padding:40px 0 42px}
  .pagehero h1{line-height:1.1;overflow-wrap:normal}
  .pagehero .page-intro{max-width:40ch;font-size:17px}
  .section{padding:48px 0}
  .hero{padding:36px 0 34px}
  .hero-layout{display:flex;flex-direction:column;align-items:stretch;gap:23px;min-height:0}
  .hero-copy{padding:0}
  .hero h1,.hero h1 em{font-size:clamp(37px,7.8vw,55px);line-height:1.13;max-width:100%;overflow-wrap:normal}
  .hero-sub{font-size:18px;line-height:1.5;max-width:37ch}
  .hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:15px 22px}
  .hero-actions .button{min-height:49px}
  .hero-visual{height:auto;max-height:250px;min-height:0}
  .hero-picture{width:100%;max-height:250px;display:flex;justify-content:center;align-items:center}
  .hero-photo{width:auto;max-width:min(100%,320px);max-height:240px;object-fit:contain}
  .about-overview{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
  .team-peek{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;max-width:455px}
  .team-peek-person{width:100%;max-width:none;min-width:0}
  .team-peek-photo{width:100%;max-height:none;aspect-ratio:4/4.5}
  .service-section .section-head{display:flex;align-items:flex-start;gap:12px 18px;margin-bottom:23px}
  .service-section .section-head > div:first-child{flex:1 1 220px;min-width:0}
  .service-section .section-head h2{font-size:clamp(29px,4.7vw,39px);margin:0;line-height:1.15}
  .service-section .section-head .service-price-link{min-height:46px;padding:10px 17px;margin:0}
  .service-section .service-instruction{font-size:16px;line-height:1.5;flex:1 1 100%;margin:0}
  .service-section .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .service-section .service-grid .service-card{min-height:155px;border-radius:24px;padding:16px 12px;gap:11px;
    flex-direction:column;align-items:center;text-align:center;justify-content:center}
  .service-section .service-grid .service-card-top{flex:0 0 61px;width:61px;height:61px;min-height:61px}
  .service-section .service-grid .service-card-top img{width:42px;height:42px;max-width:42px;max-height:42px}
  .service-section .service-grid .service-card-copy{width:100%;flex:0 1 auto;text-align:center;align-items:center}
  .service-section .service-grid .service-card h3{font-size:16px;line-height:1.3;overflow-wrap:break-word}
  .service-section .service-grid .service-card-description{display:none}
  .service-section .service-foot{padding-top:21px}
  .service-section .service-foot p{font-size:15px;line-height:1.6}
  .service-dialog{width:calc(100vw - 24px);max-width:620px;max-height:90dvh;overflow:auto}
  .service-dialog-inner{padding:23px 21px}
  .service-dialog-title-row{gap:11px;padding-right:37px;margin-bottom:18px}
  .service-dialog-title-row img{width:57px;height:57px;flex-shrink:0}
  .service-dialog-title-row h2{font-size:clamp(23px,5vw,30px);line-height:1.15}
  .service-dialog .service-dialog-copy{font-size:16px;line-height:1.7}
  .service-dialog-copy p{margin-bottom:13px}
  .service-dialog-actions{gap:10px;margin-top:20px}
  .service-dialog-actions .button{min-height:48px;font-size:16px}
  .contact-home-grid{display:grid;grid-template-columns:1fr;gap:25px}
  .contact-home .contact-email{display:inline-block;max-width:100%;overflow-wrap:anywhere;font-size:16px}
  .contact-big{font-size:clamp(27px,5.5vw,36px)}
  .contact-card{padding:21px!important}
  .map-embed,.about-location-section .map-embed{height:300px;border-radius:16px}
  .map-embed .map-base,.map-embed .map-live{bottom:59px}
  .map-embed .map-bottom-link{position:absolute;bottom:9px;left:9px;right:9px;display:flex;justify-content:center;
    align-items:center;min-height:42px;box-shadow:none;padding:0 12px}
  .map-embed .map-bottom-link a{display:flex;width:100%;min-height:42px;align-items:center;justify-content:center}
  .partner-logos{gap:18px;justify-content:center}
  .partner-logo{min-width:0;max-width:50%}
  .team-grid{grid-template-columns:1fr;gap:24px}
  .team-section .team-photo{max-height:none;aspect-ratio:4/3.4}
  .team-section .team-text{order:initial}
  .price-layout{display:grid;grid-template-columns:1fr;gap:25px}
  .price-aside{position:static;max-width:100%;min-width:0}
  .price-aside nav{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;
    padding:4px 2px 11px;margin:8px 0 1px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  .price-aside nav a{flex:0 0 auto;scroll-snap-align:start;border:1px solid #b6d5e9;border-radius:12px;
    font-size:15px;min-height:44px;display:inline-flex;align-items:center;padding:9px 13px;max-width:240px;white-space:normal}
  .price-intro{margin-bottom:28px}
  .price-category,.prices-section .price-category{scroll-margin-top:100px}
  .price-row{display:flex;align-items:baseline;gap:12px;font-size:15px;line-height:1.5;padding:13px 0}
  .price-row span{min-width:0;max-width:65%}
  .price-row strong{max-width:40%;font-size:15px;overflow-wrap:break-word}
  .form-pair{grid-template-columns:1fr;gap:15px}
  .contact-form-wrap input,.contact-form-wrap textarea{font-size:16px;min-height:46px;max-width:100%}
  .contact-detail-grid{grid-template-columns:1fr;gap:24px}
  .mini-cta-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:20px}
  .footer{padding-top:40px}
  .footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px 18px;padding-bottom:30px}
  .footer-brand{grid-column:1/-1}
  .footer-grid a,.footer-grid p{overflow-wrap:anywhere;line-height:1.6}
  .footer-grid h3{font-size:16px}
  .footer-bottom{display:flex;flex-wrap:wrap;justify-content:center;text-align:center;gap:5px 14px}
}
@media(max-width:580px){
  :root{--gutter:20px}
  html{scroll-padding-top:78px}
  .head-inner{min-height:66px}
  .identity{width:170px}
  .hero h1,.hero h1 em{font-size:clamp(35px,9.1vw,48px)}
  .hero-actions .button{min-height:48px;padding-inline:19px}
  .hero-visual,.hero-picture{max-height:200px}
  .hero-photo{max-height:194px}
  .about-copy p,.about-copy .lead{font-size:16px;line-height:1.65}
  .team-peek-photo{aspect-ratio:4/4.5;max-height:none}
  .team-peek-name{font-size:14px}
  .team-peek-role{font-size:13px}
  .service-section .section-head h2{font-size:clamp(28px,7vw,35px)}
  .service-section .section-head>div:first-child{flex-basis:100%}
  .service-section .section-head .service-price-link{align-self:flex-start}
  .service-section .service-grid .service-card{min-height:146px;padding:14px 9px}
  .pagehero h1{font-size:clamp(34px,8.6vw,46px)}
  .pagehero .page-intro{font-size:16px}
  .map-embed,.about-location-section .map-embed{height:285px}
  .price-intro,.price-notes{padding:19px}
  .price-category h2{font-size:23px}
  .price-row strong,.price-row span{font-size:15px}
  .price-row span{max-width:62%}
  .footer-grid{grid-template-columns:1fr 1fr;gap:22px 14px}
}
@media(max-width:365px){
  :root{--gutter:16px}
  .identity{width:155px}
  .hero h1,.hero h1 em{font-size:clamp(32px,9.4vw,37px)}
  .service-section .service-grid{grid-template-columns:1fr}
  .service-section .service-grid .service-card{min-height:103px;flex-direction:row;align-items:center;
    justify-content:flex-start;text-align:left;padding:13px 15px;gap:16px}
  .service-section .service-grid .service-card-top{width:60px;height:60px;flex-basis:60px;min-height:60px}
  .service-section .service-grid .service-card-copy{text-align:left;align-items:flex-start;width:auto;flex:1 1 auto}
  .service-section .service-grid .service-card h3{font-size:17px}
  .footer-grid{grid-template-columns:1fr}
  .footer-grid>div{min-width:0}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important}
}
/* Beat legacy per-section color rules without recoloring body text or buttons. */
main .hero h1,main .hero h1 em,
main .pagehero h1,main .detail-hero-grid h1,
main .section-head h2,main .section-head h2 em,
main .about-copy h2,main .intro-grid h2,
main .team-text h2,main .contact-home h2,
main .section-heading-sm h2,main .price-category h2,
main .price-intro h2,main .price-notes h3,
main .contact-form-wrap h2,main .contact-form-wrap h3,
main .contact-detail-grid h2,main .blog-card h2,
main .mini-cta h2,.service-dialog .service-dialog-title-row h2,
main .service-grid .service-card h3{color:#2C3B92!important}
main .band-cta h2{color:#fff!important}
