/*
Theme Name: Coaching & Training Dörr
Theme URI: https://coaching-training-doerr.de/
Author: Coaching & Training Dörr
Description: Responsives Gutenberg-Theme für Coaching, Training und Supervision.
Version: 1.0.33
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: coaching-training-doerr
*/

:root {
  --navy: #002954;
  --green: #09a945;
  --ink: #222;
  --muted: #555;
  --soft: #f5f5f5;
  --line: #e4e4e4;
  --white: #fff;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
img { display: block; max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--navy); }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #ffbf47; outline-offset: 4px; }
.content-width { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; transform: translateY(-150%); padding: 12px 16px; background: var(--white); color: var(--navy); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 4px solid var(--navy); background: var(--white); box-shadow: 0 3px 14px #001a3315; }
section[id] { scroll-margin-top: 120px; }
.site-nav { width: min(1420px, calc(100% - 48px)); margin-inline: auto; }
.nav-inner { display: flex; width: 100%; min-height: 92px; align-items: center; justify-content: space-between; gap: 25px; margin-inline: auto; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 145px; height: auto; }
#nav-links { display: flex; align-items: center; justify-content: flex-end; gap: clamp(10px, 1.3vw, 22px); margin: 0; padding: 0; list-style: none; }
#nav-links a { display: block; padding: 12px 0; color: var(--navy); font-size: clamp(.76rem, .92vw, .92rem); font-weight: 700; text-decoration: none; white-space: nowrap; }
#nav-links a:hover, #nav-links a[aria-current="page"] { color: var(--green); }
#nav-links a[aria-current="page"] { box-shadow: inset 0 -2px var(--green); }
#nav-links li:last-child a { padding-inline: 13px; background: var(--navy); color: var(--white); }
#nav-links li:last-child a:hover { background: var(--green); color: var(--white); }
.menu-toggle { display: none; }
.menu-controls { display: none; }

.hero { position: relative; display: grid; min-height: clamp(230px, 30vw, 350px); place-items: center; overflow: hidden; background: var(--navy) url("assets/hero-wood.jpg") center 48% / cover no-repeat; scroll-margin-top: 110px; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0009, #0006 48%, #0009); }
.hero-content { position: relative; width: min(1220px, calc(100% - 64px)); padding: 70px 0; color: var(--white); text-align: center; }
.hero h1 { margin: 0; font-size: clamp(2.15rem, 4vw, 3.8rem); line-height: 1.16; }
.hero h1 span { font-weight: 400; }

.quote-section { padding: 74px 32px 68px; }
blockquote { position: relative; width: min(1320px, 100%); margin: 0 auto; padding: 24px 16px 24px 68px; border-left: 10px solid #eee; color: var(--navy); }
blockquote p { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.75rem); font-style: italic; font-weight: 700; line-height: 1.65; text-align: center; }
.quote-mark { position: absolute; top: 11px; left: 16px; color: #c8c8c8; font-family: Georgia, serif; font-size: 5.3rem; font-weight: 700; line-height: 1; }

.intro { display: grid; grid-template-columns: .74fr 1.26fr; align-items: center; gap: clamp(38px, 8vw, 100px); padding-block: 45px 88px; }
.portrait-wrap { position: relative; width: min(100%, 390px); }
.portrait { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 35%; }
.portrait-caption { position: absolute; right: -20px; bottom: 25px; max-width: 210px; padding: 16px 19px; background: var(--navy); color: var(--white); font-family: Georgia, serif; font-size: 1.12rem; font-style: italic; }
.section-label { margin: 0 0 12px; color: var(--green); font-size: .79rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h2 { color: var(--navy); }
h1, h2, h3 { hyphens: auto; overflow-wrap: anywhere; }
.intro h2, .work h2, .ministry h2, .detail-offers h2, .about h2, .contact h2 { margin: 0 0 22px; font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.16; }
.intro-copy p:not(.section-label), .work-copy > p:not(.section-label), .ministry p:not(.section-label), .detail-offers article > p:not(.section-label), .about-inner > div > p:not(.section-label), .contact-inner > div > p:not(.section-label) { color: var(--muted); font-size: 1.02rem; line-height: 1.78; }
.plain-link { display: inline-block; margin-top: 8px; color: var(--green); font-size: .95rem; font-weight: 700; text-decoration: none; }
.plain-link span { display: inline-block; padding-left: 5px; transition: transform .16s ease; }
.plain-link:hover span { transform: translateX(4px); }

.section-pad { padding-block: 78px 92px; }
.offers { background: #f6f6f6; }
.section-title { margin: 0 0 42px; color: var(--navy); font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.15; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.offer-card { overflow: hidden; background: var(--white); box-shadow: 0 2px 14px #0000000c; }
.offer-image { display: block; overflow: hidden; }
.offer-image img { width: 100%; height: 205px; object-fit: cover; transition: transform .35s ease; }
.offer-image:hover img { transform: scale(1.035); }
.offer-copy { padding: 20px 21px 25px; }
.offer-copy h3 { margin: 0 0 12px; font-size: 1.18rem; line-height: 1.35; }
.offer-copy h3 a { color: var(--navy); text-decoration: none; }
.offer-copy h3 a:hover { color: var(--green); }
.offer-copy p { min-height: 92px; margin: 0 0 15px; color: var(--muted); font-size: .91rem; line-height: 1.65; }
.offers-context { max-width: 950px; margin-top: 28px; color: var(--muted); line-height: 1.75; }
.offers-context p { margin: 0 0 14px; }
.offers-context p:last-child { margin-bottom: 0; }
.seminar-link { margin: 28px 0 0; color: var(--muted); line-height: 1.7; }

.work { display: grid; grid-template-columns: 1fr .76fr; align-items: center; gap: clamp(42px, 8vw, 100px); padding-block: 96px; }
.work-copy { min-width: 0; }
.work-image, .about-photo { margin: 0; }
.work-image img { width: 100%; max-height: 490px; object-fit: cover; }
.work-image figcaption, .about-photo figcaption { margin-top: 10px; color: #777; font-size: .8rem; }
.ministry { padding-block: 58px; background: #f4f5f5; }
.ministry-inner { display: grid; grid-template-columns: 1fr minmax(220px, 388px); align-items: center; gap: 58px; }
.ministry-inner > img { width: 100%; height: auto; }
.ministry h2 { max-width: 720px; }
.reference-heading { margin: 28px 0 12px; color: var(--navy); font-size: .87rem; font-weight: 700; }
.reference-names { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.reference-names li { padding: 9px 12px; border: 1px solid #d5dadc; background: var(--white); color: #46535b; font-size: .82rem; line-height: 1.35; }

.logo-marquee-section { padding-block: 48px 42px; background: var(--white); }
.logo-marquee-section--subpage { padding-top: 8px; }
.logo-marquee-heading { display: flex; align-items: end; justify-content: flex-start; gap: 24px; margin-bottom: 16px; }
.logo-marquee-heading .section-title { margin: 0; font-size: clamp(1.6rem, 2.5vw, 2.15rem); }
.logo-marquee-viewport { overflow: hidden; }
.logo-marquee-track { display: flex; width: max-content; }
.logo-marquee-track.is-ready .logo-marquee-group { -webkit-backface-visibility: hidden; backface-visibility: hidden; will-change: transform; }
.logo-marquee-group { display: flex; flex: 0 0 auto; align-items: center; gap: clamp(34px, 5vw, 74px); padding-right: clamp(34px, 5vw, 74px); }
.logo-marquee-item { display: grid; width: 170px; height: 86px; flex: 0 0 170px; place-items: center; margin: 0; }
.logo-marquee-item img { width: 150px; max-width: 100%; height: 64px; object-fit: contain; }
.logo-marquee-item--wide { width: auto; flex: 0 0 auto; padding-inline: 10px; }
.logo-marquee-item--wide img { width: auto; max-width: none; height: 64px; }
.logo-marquee-group > .logo-marquee-item--wide:first-child { margin-right: -6px; }
.logo-marquee-group > .logo-marquee-item--wide:nth-child(2) { margin-right: -4px; }
.logo-marquee-item--johanniter { width: 230px; flex-basis: 230px; }
.logo-marquee-item--johanniter img { width: 210px; height: 50px; object-fit: cover; }
.detail-offers { background: var(--white); }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px 72px; }
.detail-grid article { scroll-margin-top: 20px; }
.detail-grid article:last-child { grid-column: 1 / -1; max-width: 700px; }
.detail-offers h2 { font-size: clamp(1.75rem, 2.6vw, 2.4rem); }
.detail-figure { max-width: 300px; margin: 18px 0; }
.detail-figure img { width: 100%; max-height: 300px; object-fit: cover; }
.detail-figure figcaption { margin-top: 7px; color: #777; font-size: .8rem; }

.book-section { padding-block: 65px; background: #f3f3f3; }
.book-inner { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: clamp(40px, 7vw, 90px); }
.book-cover { width: min(100%, 205px); max-height: 330px; object-fit: contain; box-shadow: 0 10px 28px #0002; }
.book-copy h2 { margin: 0 0 12px; font-size: clamp(2rem, 3.2vw, 2.8rem); }
.book-copy p:not(.section-label) { max-width: 780px; color: var(--muted); line-height: 1.75; }
.book-subtitle { color: var(--navy) !important; font-weight: 700; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; border: 1px solid var(--green); background: var(--green); color: var(--white); font-size: .9rem; font-weight: 700; text-decoration: none; transition: background .18s ease, border-color .18s ease; }
.button:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

.resources { background: var(--white); }
.resources-intro { margin: -22px 0 28px; color: var(--muted); line-height: 1.7; }
.resource-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 42px; margin: 0; padding: 0; list-style: none; }
.resource-list li { border-bottom: 1px solid var(--line); }
.resource-list a { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; color: var(--navy); font-size: .94rem; font-weight: 650; line-height: 1.45; text-decoration: none; }
.resource-list a:hover { color: var(--green); }
.resource-list a span { flex: 0 0 auto; color: var(--green); font-size: .72rem; font-weight: 700; }

.about { background: #f6f6f6; }
.about-inner { display: grid; grid-template-columns: 1fr .7fr; align-items: center; gap: clamp(42px, 8vw, 100px); }
.about-photo img { width: 100%; max-height: 470px; object-fit: cover; }
.membership-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.membership-logo { display: flex; min-height: 146px; align-items: center; justify-content: center; margin: 0; padding: 20px; border: 1px solid var(--line); background: var(--white); transition: border-color .18s ease, box-shadow .18s ease; }
.membership-logo:hover, .membership-logo:focus-within { border-color: var(--green); box-shadow: 0 8px 22px #00295412; }
.membership-logo:focus-visible, .membership-logo > a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.membership-logo > a { display: flex; flex: 1; align-self: stretch; align-items: center; justify-content: center; }
.membership-logo img { width: 100%; max-width: 220px; max-height: 92px; object-fit: contain; }

.contact { padding-block: 75px 30px; background: var(--navy); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .section-label { color: #66dc8f; }
.contact-inner { display: grid; grid-template-columns: 1fr .6fr; gap: clamp(42px, 9vw, 120px); padding-bottom: 56px; }
.contact-inner > div > p:not(.section-label) { color: #e1e8ef; }
.contact address { align-self: center; padding: 26px 0 26px 30px; border-left: 1px solid #ffffff5c; color: #eef2f6; font-size: 1rem; font-style: normal; line-height: 1.85; }
.contact address strong { color: var(--white); font-size: 1.2rem; }
.contact address a, .crisis a { color: #a6efbb; text-underline-offset: 3px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button-light { border-color: var(--white); background: var(--white); color: var(--navy); }
.button-light:hover { border-color: var(--green); background: var(--green); color: var(--white); }
.button-outline { border-color: #ffffffa8; background: transparent; color: var(--white); }
.button-outline:hover { border-color: var(--white); background: #ffffff1a; color: var(--white); }
.crisis { padding-block: 18px; border-top: 1px solid #ffffff35; color: #dce5ee; font-size: .85rem; line-height: 1.7; }
.crisis a { margin-left: 4px; }

footer { padding-block: 20px; background: #222; color: #ddd; font-size: .8rem; }
.footer-inner { display: block; }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-photo-credit { display: block; margin-top: 8px; text-align: right; }
.footer-inner a { color: var(--white); text-decoration: none; }
.footer-inner a:hover { color: #75dd97; }
.photo-credit { color: #aaa; font-size: .74rem; }

/* Gutenberg image blocks add a figure around the image. */
.wp-block-image { margin: 0; }
.portrait-wrap > .wp-block-image { width: 100%; }
.portrait-wrap > .wp-block-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 35%; }
.ministry-inner > .wp-block-image { width: 100%; }
.book-cover img { width: 100%; max-height: 330px; object-fit: contain; box-shadow: 0 10px 28px #0002; }

.subpage-hero { position: relative; display: grid; min-height: 330px; place-items: center; overflow: hidden; background-position: center; background-size: cover; color: var(--white); }
.subpage-hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, #001d3acc, #001d3a70); content: ""; }
.subpage-hero--private { background-image: url("assets/coaching-private.jpg"); }
.subpage-hero--family { background-image: url("assets/family-coaching.jpg"); }
.subpage-hero--business { background-image: url("assets/business-supervision.jpeg"); }
.subpage-hero--training { background-image: url("assets/coaching-business.jpg"); }
.subpage-hero--about { background-image: url("assets/johanna-doerr.jpeg"); }
.subpage-hero-inner { position: relative; width: min(1220px, calc(100% - 64px)); padding-block: 54px; }
.subpage-hero h1 { max-width: 900px; margin: 0; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.08; }
.subpage-hero p:last-child { max-width: 760px; margin: 20px 0 0; color: #f1f3f6; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; }
.subpage-content { padding-block: 68px 86px; }
.legal-page { width: min(920px, calc(100% - 64px)); margin: 0 auto; padding-block: clamp(48px, 7vw, 88px) 90px; color: #334155; }
.legal-page-header { margin-bottom: 30px; padding-bottom: 24px; border-bottom: 3px solid var(--navy); }
.legal-eyebrow { margin: 0 0 10px; color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.legal-page h1 { margin: 0; color: var(--navy); font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.08; }
.legal-page-content { max-width: 76ch; }
.legal-page-content p, .legal-page-content li { color: #334155; font-size: 1rem; line-height: 1.78; overflow-wrap: anywhere; }
.legal-page-content p { margin: 0 0 1.15em; }
.legal-page-content p > strong { display: block; margin-top: 1.3em; color: var(--navy); }
.legal-page-content p > strong:first-child { margin-top: 0; }
.legal-page-content h2 { margin: 2.7rem 0 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--navy); font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.28; }
.legal-page-content h3 { margin: 2rem 0 .65rem; color: var(--navy); font-size: 1.2rem; line-height: 1.35; }
.legal-page-content h4 { margin: 1.5rem 0 .5rem; color: var(--navy); font-size: 1.05rem; line-height: 1.4; }
.legal-page-content a { overflow-wrap: anywhere; }
.legal-page-impressum .legal-page-content > .wp-block-heading:first-child,
.legal-page-impressum .legal-page-content > .wp-block-heading:first-child + .wp-block-separator { display: none; }
.subpage-content-band { background: var(--soft); }
.subpage-content.subpage-content--before-logo-marquee { padding-bottom: 12px; }
.subpage-intro { max-width: 900px; margin-bottom: 48px; }
.subpage-intro h2, .subpage-content h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.18; }
.page-title-fallback h1 { margin: 0; color: var(--navy); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.18; }
.subpage-intro p:not(.section-label), .subpage-content p:not(.section-label) { color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.subpage-split { display: grid; grid-template-columns: 1fr minmax(260px, .78fr); align-items: start; gap: clamp(35px, 7vw, 90px); }
.subpage-split--reverse { grid-template-columns: minmax(260px, .78fr) 1fr; }
.subpage-split--reverse .subpage-photo { order: -1; }
.subpage-photo { margin: 0; }
.subpage-photo img { width: 100%; max-height: 560px; object-fit: cover; }
.subpage-photo figcaption { margin-top: 9px; color: #777; font-size: .8rem; }
.subpage-content h3 { margin: 28px 0 10px; color: var(--navy); font-size: 1.3rem; }
.subpage-list { display: grid; gap: 12px; margin: 24px 0; padding-left: 21px; color: var(--muted); line-height: 1.7; }
.subpage-list li::marker { color: var(--green); }
.subpage-callout { margin-block: 44px; padding: 28px 32px; border-left: 5px solid var(--green); background: #f4f5f5; }
.subpage-callout h2, .subpage-callout h3 { margin-top: 0; }
.subpage-callout p:last-child { margin-bottom: 0; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-block: 28px 42px; padding: 0; list-style: none; }
.topic-grid li { padding: 16px 18px; border: 1px solid var(--line); background: var(--white); color: var(--navy); font-weight: 700; line-height: 1.5; }
.references { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 25px; padding: 0; list-style: none; }
.references li { padding: 14px 16px; background: #f3f4f4; color: #394b58; font-size: .91rem; line-height: 1.5; }
.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.testimonials blockquote { width: auto; min-height: 100%; padding: 24px 26px; border: 0; background: #f4f5f5; color: var(--navy); }
.subpage-content--after-logo-marquee .testimonials blockquote { background: var(--white); }
.testimonials blockquote p { font-size: 1rem; line-height: 1.7; text-align: left; }
.testimonials cite { display: block; margin-top: 14px; color: var(--muted); font-size: .82rem; font-style: normal; }
.price-list { width: 100%; border-collapse: collapse; margin-top: 22px; }
.price-list th, .price-list td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.price-list th { color: var(--navy); }
.price-list td { color: var(--muted); }
.page-cta { margin-top: 38px; }
.page-cta h2 { max-width: 760px; }
.page-cta p { max-width: 720px; }
.about-timeline { margin: 22px 0; padding-left: 20px; }
.about-timeline li { margin: 0 0 13px; color: var(--muted); line-height: 1.65; }
.about-timeline strong { color: var(--navy); }

@media (max-width: 950px) {
  .site-nav { position: relative; width: 100%; }
  .nav-inner { width: calc(100% - 36px); min-height: 88px; gap: 0; }
  .brand img { width: 125px; }
  .menu-controls { display: flex; min-width: 0; align-items: center; gap: 8px; margin-left: auto; }
  .menu-toggle { display: flex; width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; border: 0; background: transparent; cursor: pointer; }
  .current-page-label { max-width: calc(100vw - 220px); overflow: hidden; color: var(--navy); font-size: .88rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .menu-toggle span { display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(9px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-9px) rotate(-45deg); }
  #nav-links { position: absolute; top: 100%; right: 0; left: auto; display: none; width: min(360px, calc(100vw - 16px)); max-height: calc(100vh - 78px); flex-direction: column; align-items: stretch; gap: 0; overflow: auto; padding: 8px 18px 18px; background: var(--white); box-shadow: 0 12px 24px #001a3330; }
  #nav-links.is-open { display: flex; }
  #nav-links a { padding: 13px 8px; border-bottom: 1px solid var(--line); font-size: .94rem; text-align: right; white-space: normal; }
  #nav-links li:last-child { display: flex; justify-content: flex-end; }
  #nav-links li:last-child a { display: inline-flex; margin-top: 12px; padding: 12px 14px; border: 0; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-copy p { min-height: 0; }
  .subpage-hero { min-height: 290px; }
}
@media (max-width: 720px) {
  .content-width, .hero-content { width: min(100% - 36px, 600px); }
  .hero { min-height: 270px; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.35rem); }
  .quote-section { padding: 52px 18px; }
  blockquote { padding: 24px 10px 24px 43px; border-left-width: 6px; }
  blockquote p { font-size: 1.28rem; line-height: 1.55; }
  .quote-mark { top: 15px; left: 10px; font-size: 3.3rem; }
  .intro, .work, .about-inner, .contact-inner, .ministry-inner { grid-template-columns: 1fr; }
  .intro { gap: 35px; padding-block: 22px 62px; }
  .portrait-wrap { width: min(84%, 390px); }
  .portrait-caption { right: -20px; }
  .section-pad { padding-block: 60px; }
  .offer-grid { gap: 16px; }
  .offer-image img { height: 170px; }
  .offer-copy { padding: 17px; }
  .offer-copy h3 { font-size: 1.06rem; }
  .work { gap: 34px; padding-block: 65px; }
  .work-image { max-width: 520px; }
  .ministry-inner { gap: 24px; }
  .ministry-inner > img { max-width: 380px; }
  .logo-marquee-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .logo-marquee-item { width: 145px; height: 76px; flex-basis: 145px; }
  .logo-marquee-item--wide { width: auto; flex: 0 0 auto; padding-inline: 0; }
  .logo-marquee-item--wide img { width: auto; max-width: none; height: 64px; }
  .logo-marquee-item--johanniter { width: 190px; flex-basis: 190px; }
  .logo-marquee-item--johanniter img { width: 178px; height: 44px; }
  .book-inner { grid-template-columns: 110px 1fr; gap: 24px; }
  .book-cover { width: 105px; }
  .book-copy h2 { font-size: 1.8rem; }
  .resource-list { grid-template-columns: 1fr; }
  .about-photo { max-width: 500px; }
  .membership-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .membership-logo { min-height: 128px; padding: 14px; }
  .membership-logo img { max-height: 80px; }
  .contact-inner { gap: 28px; }
  .contact address { padding: 22px 0 0; border-top: 1px solid #ffffff5c; border-left: 0; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-photo-credit { text-align: left; }
  .subpage-hero { min-height: 260px; }
  .subpage-hero-inner { width: calc(100% - 36px); }
  .subpage-content { padding-block: 48px 60px; }
  .legal-page { width: min(100% - 36px, 640px); padding-block: 44px 64px; }
  .legal-page-header { margin-bottom: 24px; padding-bottom: 18px; }
  .subpage-split, .subpage-split--reverse { grid-template-columns: 1fr; }
  .subpage-split--reverse .subpage-photo { order: 0; }
  .subpage-photo { max-width: 520px; }
  .topic-grid, .testimonials { grid-template-columns: 1fr; }
  .references { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subpage-callout { padding: 22px 20px; }
}
@media (max-width: 460px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-image img { height: 220px; }
  .book-inner { grid-template-columns: 1fr; }
  .book-cover { width: 140px; }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .references { grid-template-columns: 1fr; }
  .price-list th, .price-list td { padding: 11px 9px; font-size: .88rem; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 1.6rem; hyphens: manual; overflow-wrap: normal; }
  blockquote p { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
