/*
Theme Name: CF Physio
Theme URI: https://physio-edenkoben.de/
Author: Christian Fricke
Author URI: https://physio-edenkoben.de/
Description: Modernes One-Page-Theme für die Praxis für Physiotherapie Christian Fricke in Edenkoben.
Version: 1.0.5
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: cf-physio
*/

:root {
  --ink: #202221;
  --muted: #6d716e;
  --paper: #f5f3ee;
  --white: #fff;
  --orange: #ed792f;
  --orange-dark: #ce5c19;
  --sand: #e7ded1;
  --sage: #b7c0b7;
  --line: rgba(32,34,33,.16);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
p { line-height: 1.65; }
em { color: var(--orange); font-family: Georgia, serif; font-weight: 400; }

.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
  background: rgba(245,243,238,.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 54px; height: 62px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; }
.brand strong { font: 700 21px/1.1 "Manrope", sans-serif; letter-spacing: -.04em; }
.brand small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); font-size: 14px; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; bottom: -6px; left: 0; height: 1px; width: 0; background: var(--orange); transition: .25s; }
.main-nav > a:hover::after { width: 100%; }
.nav-cta { padding: 13px 18px; border: 1px solid var(--ink); font-weight: 600; }
.nav-cta span { color: var(--orange); margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 1px; background: var(--ink); margin: 6px; }

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 46% 54%;
  border-bottom: 1px solid var(--line);
}
.hero-copy { padding: clamp(70px, 9vh, 120px) clamp(28px, 6vw, 100px); align-self: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 10px; margin: 0 0 30px; }
.eyebrow > span { width: 30px; height: 1px; background: var(--orange); }
h1, h2 { font-family: "Manrope", sans-serif; margin: 0; letter-spacing: -.055em; }
h1 { font-size: clamp(56px, 6.1vw, 102px); line-height: .96; }
h1 em { display: inline-block; font-size: 1.02em; letter-spacing: -.05em; }
.hero-intro { color: #545854; max-width: 590px; font-size: clamp(17px, 1.3vw, 20px); margin: 36px 0; }
.hero-actions { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 208px; padding: 17px 20px; font-weight: 600; font-size: 14px; transition: .25s; }
.button span { font-size: 20px; }
.button-primary { background: var(--orange); color: white; }
.button-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.text-link { font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line); padding: 8px 0; }
.text-link span { color: var(--orange); margin-left: 8px; }
.hero-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding-top: 54px; margin-top: 54px; border-top: 1px solid var(--line); }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts strong { font: 600 26px "Manrope", sans-serif; }
.hero-facts span { font-size: 11px; color: var(--muted); margin-top: 3px; }
.hero-visual { position: relative; overflow: hidden; background: #ddd; }
.hero-visual > img { height: 100%; object-fit: cover; object-position: 58% center; filter: saturate(.75) contrast(1.02); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18,19,18,.45)); }
.image-label { position: absolute; left: 34px; bottom: 30px; z-index: 2; padding: 12px 16px; color: white; background: rgba(25,26,25,.82); font-size: 12px; letter-spacing: .04em; display: flex; gap: 10px; align-items: center; backdrop-filter: blur(8px); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(237,121,47,.2); }
.hero-mark { position: absolute; right: -22px; top: 18px; z-index: 2; color: rgba(255,255,255,.2); font: 700 clamp(120px,18vw,270px) "Manrope"; letter-spacing: -.15em; }

.trust-strip { background: var(--ink); color: white; min-height: 74px; display: flex; align-items: center; justify-content: space-around; padding: 18px 5%; font-size: 12px; text-transform: uppercase; letter-spacing: .11em; overflow: hidden; }
.trust-strip i { display: block; width: 4px; height: 4px; background: var(--orange); border-radius: 50%; }
.section { padding: clamp(90px, 11vw, 160px) clamp(28px, 6vw, 100px); }
.section-label { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; font-weight: 600; display: flex; gap: 14px; }
.section-label span { color: var(--orange); }
.intro { display: grid; grid-template-columns: 25% 75%; }
.intro-content { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(50px, 8vw, 130px); }
.kicker { font: 500 clamp(34px, 4vw, 60px)/1.2 "Manrope"; letter-spacing: -.045em; margin: 0; }
.kicker strong { font-weight: 500; color: var(--orange); }
.intro-content > div p { margin: 0 0 22px; color: #5b5e5b; }
.orange { color: var(--orange-dark); display: inline-block; margin-top: 12px; }

.services { background: var(--ink); color: white; }
.section-head { display: grid; grid-template-columns: 25% 75%; margin-bottom: 70px; }
.section-head > div:last-child { display: grid; grid-template-columns: 1.1fr .8fr; align-items: end; gap: 60px; }
.section-head h2, .method h2, .contact h2, .dark-head h2 { font-size: clamp(45px, 5.5vw, 82px); line-height: 1; }
.section-head p { color: #aeb1ae; max-width: 450px; margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.15); }
.service-card { min-height: 430px; padding: 34px; position: relative; background: #282a29; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.service-card-featured { min-height: 430px; }
.service-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; filter: grayscale(.15) saturate(.8); transition: transform .7s ease; }
.service-card img.service-img-kg { object-position: 42% 50%; }
.service-card img.service-img-massage { object-position: 46% 44%; }
.service-card img.service-img-schroepfen { object-position: 50% 46%; }
.service-card img.service-img-inbody { object-position: 50% 48%; }
.service-card:hover img { transform: scale(1.04); }
.service-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.8)); }
.service-content { position: relative; z-index: 2; }
.service-content > span, .service-number { position: absolute; top: -520px; left: 0; font-size: 11px; color: rgba(255,255,255,.6); }
.service-card h3 { font: 500 clamp(26px, 2.4vw, 38px)/1.1 "Manrope"; letter-spacing: -.04em; margin: 18px 0; }
.service-card p { color: #b7bab7; max-width: 350px; font-size: 14px; }
.service-card-featured p, .service-card-image p { color: rgba(255,255,255,.8); }
.service-card a { color: var(--orange); font-size: 13px; margin-top: 20px; }
.service-content > a { position: absolute; right: 0; bottom: 0; border: 1px solid rgba(255,255,255,.5); width: 42px; height: 42px; display: grid; place-items: center; color: white; }
.service-card-image { padding: 34px; }
.service-card-image::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 25%,rgba(0,0,0,.78)); }
.service-card-image .service-content { margin-top: auto; }
.service-card-image .service-content > span, .service-card-featured .service-content > span { position: static; display: block; margin-bottom: 12px; }
.line-icon { position: absolute; top: 34px; right: 34px; color: var(--orange); font-size: 38px; font-family: Georgia, serif; }
.service-card:not(.service-card-featured):not(.service-card-image) .service-number { top: 35px; }

.method-layout { display: grid; grid-template-columns: 48% 52%; gap: 70px; margin-top: 70px; }
.method-copy p { color: var(--muted); max-width: 520px; font-size: 17px; margin-top: 30px; }
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 70px 1fr; padding: 32px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--orange); font-size: 12px; }
.steps h3 { font: 600 24px "Manrope"; margin: 0 0 8px; letter-spacing: -.03em; }
.steps p { margin: 0; color: var(--muted); }
.quote-band { background: var(--orange); padding: clamp(70px, 10vw, 135px) 8%; color: white; text-align: center; }
.quote-band p { font: 500 clamp(34px, 5vw, 72px)/1.18 "Manrope"; letter-spacing: -.05em; margin: 0; }
.quote-band em { color: var(--ink); }
.quote-note { display: block; margin-top: 26px; color: rgba(255,255,255,.75); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }

.practice { background: #ece9e2; }
.practice-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.practice-gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--ink); }
.practice-gallery img { width: 100%; height: clamp(390px, 38vw, 560px); min-height: 0; object-fit: cover; object-position: center; transition: transform .7s ease; }
.practice-gallery img.practice-img-portrait { object-position: center 46%; }
.practice-gallery figure:hover img { transform: scale(1.025); }
.practice-gallery figcaption { position: absolute; left: 22px; bottom: 20px; color: white; background: rgba(25,26,25,.82); padding: 11px 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.amenities { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-top: 0; }
.amenities div { padding: 25px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.amenities div:last-child { border: 0; }
.amenities strong { font-size: 14px; }
.amenities span { font-size: 11px; color: var(--muted); margin-top: 5px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: 34% 66%; padding: 0; border-bottom: 1px solid var(--line); }
.reviews-summary { padding: clamp(55px, 7vw, 95px) clamp(28px, 5vw, 72px); background: var(--sand); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.reviews-summary .section-label { margin-bottom: 45px; }
.reviews-summary .stars { color: var(--orange); font-size: 20px; letter-spacing: .16em; line-height: 1; margin: 0 0 17px; }
.reviews-summary > strong { font: 600 clamp(54px, 6vw, 84px)/1 "Manrope", sans-serif; letter-spacing: -.06em; }
.reviews-summary > span { color: var(--muted); font-size: 12px; margin: 8px 0 34px; }
.review-button { margin-bottom: 18px; min-width: 230px; }
.reviews-content { padding: clamp(65px, 8vw, 115px) clamp(30px, 7vw, 110px); }
.reviews-content h2 { font-size: clamp(42px, 5vw, 72px); line-height: 1.04; }
.review-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 55px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-quotes blockquote { margin: 0; padding: 30px 30px 30px 0; }
.review-quotes blockquote + blockquote { border-left: 1px solid var(--line); padding-left: 30px; }
.review-quotes blockquote p { font-family: Georgia, serif; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; margin: 0 0 25px; }
.review-quotes cite { display: block; padding: 0; color: var(--ink); font-size: 11px; font-weight: 600; font-style: normal; }
.review-quotes cite span { color: var(--muted); font-weight: 400; }

.expertise { background: var(--ink); color: white; }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; margin: 70px 0; }
.expertise h2 { font-size: clamp(45px, 5.5vw, 82px); line-height: 1; }
.expertise-copy p { color: #aeb1ae; max-width: 560px; margin-top: 30px; font-size: 17px; }
.mini-label { color: #8e928e; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.qualifications ul { list-style: none; padding: 0; margin: 25px 0 0; border-top: 1px solid rgba(255,255,255,.15); }
.qualifications li { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.15); font: 500 17px "Manrope"; }
.qualifications li span { display: inline-block; width: 52px; color: var(--orange); font: 400 10px "DM Sans"; }
.partners { display: grid; grid-template-columns: .5fr 1fr 1fr; border: 1px solid rgba(255,255,255,.16); }
.partners > * { padding: 28px; margin: 0; border-right: 1px solid rgba(255,255,255,.16); }
.partners > *:last-child { border: 0; }
.partners > p { color: #8e928e; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.partners div { display: flex; flex-direction: column; }
.partners strong { font: 500 19px "Manrope"; }
.partners span { color: #9ca09c; font-size: 11px; margin-top: 5px; }

/* Coaching-Querverweis */
.coaching-bridge { background: #eeebe4; padding-top: clamp(70px, 8vw, 120px); padding-bottom: clamp(70px, 8vw, 120px); }
.coaching-card { position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.3fr .9fr; gap: clamp(28px, 5vw, 76px); align-items: center; min-height: 360px; padding: clamp(34px, 6vw, 78px); background: var(--ink); color: #fff; }
.coaching-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 20%, rgba(237,121,47,.23), transparent 32%), linear-gradient(135deg, rgba(255,255,255,.05), transparent 45%); pointer-events: none; }
.coaching-mark { position: relative; z-index: 1; font: 800 clamp(78px, 12vw, 170px)/.82 "Manrope", sans-serif; letter-spacing: -.14em; color: rgba(255,255,255,.12); }
.coaching-copy, .coaching-actions { position: relative; z-index: 1; }
.coaching-copy .eyebrow { color: #b8bbb8; }
.coaching-copy h2 { font-size: clamp(44px, 5.4vw, 82px); line-height: .95; margin-bottom: 25px; }
.coaching-copy p:last-child { color: #b8bbb8; max-width: 620px; margin: 0; font-size: 16px; }
.coaching-actions { align-self: end; display: flex; flex-direction: column; gap: 28px; }
.coaching-actions ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.15); }
.coaching-actions li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.15); color: #d7dad7; font-size: 13px; }
.coaching-actions .button { width: fit-content; min-width: 230px; }

/* FAQ */
.faq { background: #eeebe4; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 65px; border-top: 1px solid var(--line); }
.faq-grid article { padding: 34px 40px 34px 0; border-bottom: 1px solid var(--line); }
.faq-grid article:nth-child(even) { border-left: 1px solid var(--line); padding-left: 40px; }
.faq-grid h3 { font: 600 clamp(18px, 1.6vw, 23px)/1.3 "Manrope", sans-serif; letter-spacing: -.025em; margin: 0 0 14px; }
.faq-grid p { color: var(--muted); margin: 0; font-size: 14px; }

.team { background: var(--paper); }
.dark-head { color: var(--ink); }
.dark-head p { color: var(--muted); }
.team-placeholder { min-height: 640px; background: #272928; color: white; padding: 0; display: grid; grid-template-columns: 42% 58%; align-items: stretch; position: relative; overflow: hidden; }
.owner-photo-wrap { min-width: 0; overflow: hidden; background: #e8edf2; }
.owner-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: saturate(.75) contrast(1.03); }
.team-placeholder > div:last-child { grid-column: 2; position: relative; z-index: 2; max-width: 680px; padding: clamp(40px, 6vw, 90px); align-self: center; }
.team-placeholder h3 { font: 500 clamp(38px, 5vw, 72px)/1.05 "Manrope"; letter-spacing: -.05em; margin: 0 0 25px; }
.team-placeholder > div > p:last-child { color: #b8bbb8; }
.team-names { display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid var(--line); border-top: 0; }
.team-names div { padding: 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.team-names div:last-child { border: 0; }
.team-names strong { font-size: 14px; }
.team-names span { font-size: 11px; color: var(--muted); margin-top: 5px; }

.contact { background: var(--orange); color: white; display: grid; grid-template-columns: 1.1fr .9fr; gap: 12vw; align-items: end; }
.contact-copy p { max-width: 570px; color: rgba(255,255,255,.82); font-size: 17px; margin: 30px 0 38px; }
.contact h2 em { color: var(--ink); }
.button-light { background: white; color: var(--ink); }
.button-light:hover { transform: translateY(-2px); }
.availability { display: flex; gap: 12px; align-items: center; margin-top: 50px; }
.availability > span { width: 9px; height: 9px; background: white; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,255,255,.15); }
.availability p { margin: 0; font-size: 13px; }
.contact-form { background: var(--ink); padding: 38px; display: flex; flex-direction: column; gap: 21px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; color: #a7aaa7; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; }
.required-mark, .optional-mark { display: inline; color: var(--orange); font-size: 8px; letter-spacing: .08em; }
.optional-mark { color: #7f837f; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); color: white; background: transparent; padding: 10px 0 12px; border-radius: 0; font: 400 15px "DM Sans"; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--orange); }
.contact-form select option { color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form .file-upload { position: relative; gap: 9px; }
.contact-form .file-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.file-upload-copy { display: flex; flex-direction: column; gap: 4px; padding: 17px 18px; border: 1px dashed rgba(255,255,255,.28); color: #fff; cursor: pointer; text-transform: none; letter-spacing: normal; transition: border-color .2s, background .2s; }
.file-upload-copy:hover { border-color: var(--orange); background: rgba(255,255,255,.03); }
.file-upload-copy strong { font-size: 13px; font-weight: 500; }
.file-upload-copy small { color: #7f837f; font-size: 10px; }
.contact-form .consent { flex-direction: row; align-items: flex-start; text-transform: none; letter-spacing: normal; font-size: 10px; line-height: 1.5; }
.contact-form .consent input { width: auto; margin: 2px 5px 0 0; }
.contact-form .privacy-link { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.contact-form .prescription-consent { display: none; }
.contact-form .prescription-consent.visible { display: flex; }
.contact-form .button { border: 0; cursor: pointer; }
.form-note { color: #7f837f; font-size: 9px; margin: -8px 0 0; line-height: 1.4; }
.form-status { margin-top: 24px; padding: 17px 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font-size: 13px; line-height: 1.5; }
.form-status-success { border-color: rgba(237,121,47,.55); background: rgba(237,121,47,.14); }
.form-status-error { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.09); }
.location-bar { background: #252726; color: white; padding: 40px clamp(28px,6vw,100px); display: grid; grid-template-columns: .8fr 1fr 1.4fr .6fr; gap: 30px; align-items: center; }
.location-bar div { display: flex; flex-direction: column; }
.location-bar span { color: #858985; text-transform: uppercase; font-size: 8px; letter-spacing: .14em; margin-bottom: 5px; }
.location-bar a, .location-bar address { font: 500 14px "Manrope"; font-style: normal; }
.location-bar .route { color: var(--orange); text-align: right; font-size: 12px; }

footer { min-height: 180px; background: #181a19; color: white; display: grid; grid-template-columns: 1fr 1fr 1.2fr; align-items: center; gap: 30px; padding: 45px clamp(28px, 6vw, 100px); }
.footer-brand img { width: 44px; height: 50px; }
footer > p { text-align: center; color: #929692; font-family: Georgia,serif; font-style: italic; }

/* Rechtliche Seiten */
.legal-page { background: var(--paper); min-height: 100vh; }
.legal-hero { padding: 150px clamp(24px, 7vw, 110px) 70px; background: var(--ink); color: #fff; }
.legal-hero .eyebrow { color: #b8bbb8; }
.legal-hero h1 { font-size: clamp(48px, 7vw, 96px); line-height: .98; margin-top: 25px; }
.legal-hero p:last-child { max-width: 680px; color: #b8bbb8; font-size: 16px; line-height: 1.7; margin: 28px 0 0; }
.legal-content { max-width: 980px; margin: 0 auto; padding: 80px 24px 110px; }
.legal-content section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.legal-content section:first-child { padding-top: 0; }
.legal-content h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 20px; letter-spacing: -.035em; }
.legal-content h3 { font-size: 17px; margin: 28px 0 10px; }
.legal-content p, .legal-content li, .legal-content address { color: #555a56; font-size: 15px; line-height: 1.75; font-style: normal; }
.legal-content, .location-bar { overflow-wrap: anywhere; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { padding-left: 20px; margin: 12px 0; }
.legal-content a { color: #c95722; text-decoration: underline; text-underline-offset: 3px; }
.legal-content .legal-card { padding: 26px; background: #fff; border-left: 3px solid var(--orange); }
.legal-content .legal-card p:last-child { margin-bottom: 0; }
.legal-updated { color: #8a8e8a; font-size: 12px; margin-top: 34px; }
.footer-links { display: flex; justify-content: flex-end; gap: 24px; font-size: 11px; color: #929692; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .main-nav { display: none; position: fixed; inset: 96px 0 auto; background: var(--paper); padding: 28px; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .legal-page .main-nav { display: flex; position: static; inset: auto; padding: 0; background: transparent; border: 0; }
  .legal-page .main-nav > a:not(.nav-cta) { display: none; }
  .menu-toggle { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 720px; }
  .hero-visual { min-height: 620px; }
  .intro, .section-head { grid-template-columns: 1fr; gap: 45px; }
  .intro-content { grid-template-columns: 1fr; gap: 40px; }
  .section-head > div:last-child { grid-template-columns: 1fr; gap: 25px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card-featured { min-height: 430px; }
  .service-content > span { top: auto; bottom: 150px; }
  .method-layout { grid-template-columns: 1fr; }
  .team-names { grid-template-columns: 1fr 1fr; }
  .team-names div:nth-child(2) { border-right: 0; }
  .team-names div:nth-child(4) { border-right: 0; }
  .contact { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .coaching-card { grid-template-columns: 1fr; }
  .coaching-mark { position: absolute; right: 28px; top: 28px; }
  .coaching-actions { align-self: auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid article, .faq-grid article:nth-child(even) { border-left: 0; padding: 28px 0; }
  .partners { grid-template-columns: 1fr; }
  .partners > * { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .practice-gallery { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .review-quotes { grid-template-columns: 1fr; }
  .review-quotes blockquote + blockquote { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .amenities div:nth-child(2) { border-right: 0; }
  .location-bar { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 620px) {
  .site-header { height: 78px; padding: 0 20px; }
  .brand img { width: 42px; height: 49px; }
  .brand strong { font-size: 18px; }
  .brand small { max-width: 220px; font-size: 8px; line-height: 1.25; letter-spacing: .08em; }
  .main-nav { inset: 78px 0 auto; }
  .hero { min-height: auto; }
  .hero-copy { min-height: auto; padding: 80px 24px 55px; }
  h1 { font-size: clamp(49px, 15vw, 68px); }
  .hero-facts { gap: 10px; padding-top: 35px; margin-top: 38px; }
  .hero-facts strong { font-size: 22px; }
  .hero-facts span { font-size: 10px; }
  .hero-visual { min-height: 440px; }
  .hero-visual > img { object-position: 62% center; }
  .trust-strip { justify-content: flex-start; gap: 25px; overflow-x: auto; padding: 22px 24px; }
  .trust-strip span { white-space: nowrap; }
  .section { padding: 85px 24px; }
  .coaching-bridge { padding-left: 24px; padding-right: 24px; }
  .coaching-card { padding: 34px 25px; min-height: 0; }
  .coaching-mark { font-size: 78px; right: 20px; top: 20px; }
  .coaching-actions .button { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card-featured { min-height: 360px; }
  .service-card { min-height: 360px; }
  .practice-gallery { grid-template-columns: 1fr; }
  .team-placeholder { min-height: 680px; grid-template-columns: 1fr; align-items: end; padding: 0; }
  .team-placeholder > div:last-child { grid-column: 1; }
  .owner-photo-wrap { position: absolute; inset: 0; }
  .owner-photo { width: 100%; opacity: .28; object-position: center 20%; }
  .team-placeholder > div:last-child { padding: 35px 25px; }
  .team-names { grid-template-columns: 1fr; }
  .team-names div { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-form { padding: 30px 24px; }
  .reviews-summary, .reviews-content { padding-left: 24px; padding-right: 24px; }
  .review-quotes { margin-top: 38px; }
  .faq-grid { margin-top: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .practice-gallery img { min-height: 390px; }
  .amenities { grid-template-columns: 1fr; }
  .amenities div { border-right: 0; border-bottom: 1px solid var(--line); }
  .location-bar { grid-template-columns: 1fr; }
  .location-bar .route { text-align: left; }
  footer { padding: 55px 24px; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 360px) {
  .brand small { max-width: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
