/* Tannlege Forland — readability and interaction refinement; respects the existing identity. */
:root { --ink:#173f60; --muted:#345b76; }
body { font-size:17px; line-height:1.65; }
.nav-link { font-size:15px; }
.mobile-menu .nav-link { font-size:17px; }
.button,.nav-book,.button-large,.mobile-menu .button { font-size:16px; min-height:49px; }
.text-link,.footer-book { font-size:16px; }
.hero-sub { font-size:clamp(19px,1.7vw,22px); }
.hero-bottom { font-size:15px; }
.about-copy .lead { font-size:clamp(19px,1.85vw,21px); }
.about-copy p { font-size:17px; line-height:1.68; }
.team-peek-name { font-size:16px; }
.team-peek-role { font-size:15px; }
.section-head h2,.section-head h2 em { font-size:clamp(33px,3.5vw,44px); }
.service-foot p { font-size:16px; line-height:1.65; }
.contact-home-grid > div:first-child > p { font-size:18px; line-height:1.7; }
.contact-email { font-size:17px; }
.footer,.footer-grid p,.footer-grid a,.footer-bottom,.footer-grid li { font-size:15px; }
.footer-grid h3 { font-size:16px; }
.page-intro { font-size:clamp(19px,1.8vw,22px); }
.team-text p,.team-text li,.price-notes p,.contact-form-wrap > p,.contact-block p { font-size:17px; line-height:1.75; }
.team-quote { font-size:clamp(20px,1.85vw,24px); }
.price-row,.price-item,.price-table,.price-table td,.price-table th { font-size:16px; }
.price-category p,.price-notes p { line-height:1.65; }
.price-aside nav a { font-size:16px; }
.form-note,.contact-form-wrap label { font-size:16px; }
.blog-card p { font-size:17px; }
.treatment-text p { font-size:18px; }
.service-dialog-copy { font-size:17px; line-height:1.73; }
.service-dialog-title-row h2 { font-size:clamp(28px,4vw,40px); }

/* The directory shows only the original illustration and treatment name first.
   A short excerpt appears on hover or keyboard focus; clicking opens the existing dialog.
   No arrows, extra badges, or dramatic motion. */
.service-section .section-head { align-items:center; margin-bottom:26px; }
.service-instruction { font-size:16px!important; color:#3a6079!important; line-height:1.55!important; max-width:300px; margin:0 0 3px!important; }
.service-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px; }
.service-grid .service-card {
  display:flex; flex-direction:column; justify-content:center; align-items:center; gap:13px;
  min-height:259px; padding:23px 20px; overflow:hidden;
  border-radius:21px; background:#fff; border:1px solid #c9e0ee;
  box-shadow:0 1px 2px rgba(22,69,103,.025);
  text-align:center; cursor:pointer; text-decoration:none;
  transition:background-color .17s ease,border-color .17s ease,box-shadow .17s ease;
}
.service-grid .service-card-top { display:grid; place-items:center; width:100%; min-height:0; }
.service-grid .service-card-top img { display:block; width:82px; height:82px; object-fit:contain; }
.service-grid .service-card-copy { display:flex; flex-direction:column; align-items:center; width:100%; margin:0; }
.service-grid .service-card h3 { margin:0; font-size:clamp(19px,1.55vw,22px); line-height:1.27; font-weight:700; color:#173f60; }
.service-grid .service-card .service-card-description {
  font-size:16px; line-height:1.47; color:#365c75; text-wrap:pretty;
  max-width:30ch; margin:0; max-height:0; opacity:0; visibility:hidden;
  overflow:hidden; transform:translateY(5px); pointer-events:none;
  transition:max-height .23s ease,margin .18s ease,opacity .16s ease,transform .18s ease,visibility .16s ease;
}
@media (hover:hover) and (pointer:fine) {
 .service-grid .service-card:hover,
 .service-grid .service-card:focus-visible { background:#f8fcff; border-color:#77b2d9; box-shadow:0 6px 19px rgba(25,95,143,.055); }
 .service-grid .service-card:hover .service-card-description,
 .service-grid .service-card:focus-visible .service-card-description {
  max-height:7em; opacity:1; visibility:visible; margin-top:11px; transform:translateY(0);
 }
}
.service-grid .service-card:focus-visible { outline:3px solid #236da4; outline-offset:3px; }
/* Keyboard focus also shows the short description on non-hover input methods. */
.service-grid .service-card:focus-visible .service-card-description { max-height:7em; opacity:1; visibility:visible; margin-top:11px; transform:translateY(0); }
@media (prefers-reduced-motion:reduce) {
 .service-grid .service-card,.service-grid .service-card .service-card-description { transition:none; }
}

/* A real map, not a huge tinted box. Directions remain one clear action. */
.contact-home-grid { grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:8%; align-items:center; }
.contact-home .contact-map-card { min-width:0; background:transparent; border:0; box-shadow:none; padding:0; border-radius:0; }
.contact-map-card > h3 { font-size:23px; margin:0 0 6px; }
.contact-map-card > .map-address { font-size:17px!important; margin:0 0 15px!important; color:#43667e; }
.map-embed { height:320px; width:100%; border-radius:22px; overflow:hidden; background:#e7f1f5; border:1px solid #d1e2eb; box-shadow:0 7px 23px rgba(19,56,82,.055); }
.map-live { border-radius:22px; }
.map-live.leaflet-container { background:#e7f1f5; }
.map-live .leaflet-tile-pane { filter:saturate(.72) contrast(.96) brightness(1.01); }
.map-live .leaflet-control-attribution { font-size:10px; background:rgba(255,255,255,.8); color:#557083; }
.map-live .leaflet-popup-content { font-size:16px; }
.map-live .leaflet-popup-content strong { font-size:17px; }
.map-base { background-position:50% 70%; background-size:cover; filter:saturate(.65); }
.map-bottom-link { right:13px; bottom:17px; z-index:610; background:#fff; border:1px solid #c4dce9; box-shadow:0 2px 12px rgba(14,65,104,.11); border-radius:999px; padding:10px 17px; }
.map-bottom-link a { font-size:15px; font-weight:700; color:#135a91; }
.about-location-section { padding-top:54px; padding-bottom:72px; }
.about-location-section > .container { max-width:960px; }
.about-location-section .map-embed { height:355px; }
.section-heading-sm h2 { font-size:clamp(30px,3.3vw,40px); }
.section-heading-sm p { font-size:18px; }

@media(max-width:900px) {
 .contact-home-grid { grid-template-columns:1fr; gap:32px; align-items:start; }
 .contact-home .contact-map-card { max-width:none; }
}
@media(max-width:820px) {
 .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
 .service-grid .service-card { min-height:224px; padding:19px 15px; gap:12px; }
 .service-grid .service-card-top img { width:75px; height:75px; }
 .section-head .service-instruction { margin-top:12px!important; max-width:none; }
 .map-embed { height:300px; }
 .about-location-section .map-embed { height:310px; }
}
@media(max-width:580px) {
 body { font-size:17px; }
 .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
 .service-grid .service-card { min-height:172px; padding:16px 10px; gap:11px; border-radius:17px; }
 .service-grid .service-card-top img { width:59px; height:59px; }
 .service-grid .service-card h3 { font-size:17px; line-height:1.25; }
 /* Touch has no hover. Tap opens full details directly. */
 .service-grid .service-card .service-card-description { display:none; }
 .service-instruction { font-size:16px!important; }
 .team-peek-name { font-size:15px; }
 .team-peek-role { font-size:14px; }
 .service-dialog-copy { font-size:16px; }
 .contact-map-card > h3 { font-size:21px; }
 .map-embed,.about-location-section .map-embed { height:260px; border-radius:18px; }
 .map-bottom-link { bottom:15px; right:12px; padding:9px 14px; }
 .map-bottom-link a { font-size:14px; }
 .section-heading-sm p { font-size:17px; }
 .partner-logo img { max-height:90px; }
}
/* Final overrides for earlier legacy !important rules. */
.service-grid .service-card-top { display:flex; justify-content:center; align-items:center; }
.contact-home .contact-card.contact-map-card { background:transparent!important; padding:0!important; border:0!important; box-shadow:none!important; border-radius:0!important; }
.contact-map-card .map-address { font-size:17px!important; }
.map-base { filter:none; background-image:none!important; background:#edf5fa; }
.map-base iframe { display:block; width:100%; height:100%; border:0; pointer-events:none; }
.map-base .map-static-tooth { position:absolute; top:50%; left:50%; height:46px; width:36px; object-fit:contain; transform:translate(-50%,-60%); filter:drop-shadow(0 2px 4px rgba(0,30,50,.18)); }
.map-live[hidden] { display:none!important; }
