/* Energiek door het leven – frontend */
:root {
  --primary: #2f5d46;
  --accent: #e0784a;
  --cream: #f4ead8;
  --ink: #2b2a27;
  --muted: #6d6a63;
  --line: #e8e1d4;
  --soft: #faf6ef;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(47, 93, 70, .10);
  --head: 'Lora', Georgia, serif;
  --body: 'Nunito Sans', system-ui, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.75 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { font-family: var(--head); color: var(--primary); line-height: 1.25; margin: 0 0 .55em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 1000; }
.icon { vertical-align: -3px; flex-shrink: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.6em; border-radius: 999px; background: var(--accent); color: #fff; font: 700 .95rem var(--body); border: 2px solid var(--accent); cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; text-decoration: none !important; line-height: 1.3; }
.btn:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.btn-lg { padding: 1em 2em; font-size: 1rem; }
.btn-sm { padding: .5em 1.1em; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { color: #fff; }
.btn-light { background: #fff; color: var(--primary); border-color: #fff; }
.btn-light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: var(--primary); border-color: #fff; }
.link-arrow { font-weight: 700; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; color: var(--primary); min-width: 0; }
.brand img { max-height: 62px; width: auto; border-radius: 8px; }
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { font: 600 1.2rem var(--head); white-space: nowrap; }
.brand-text small { font-size: .78rem; color: var(--muted); }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 13px; font: 700 .93rem var(--body); color: var(--ink); border-radius: 999px; text-decoration: none; white-space: nowrap; }
.main-nav > ul > li:hover > a, .main-nav > ul > li.active > a { color: var(--primary); background: var(--soft); }
.main-nav .sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.main-nav .sub::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { font-weight: 600; white-space: normal; border-radius: 10px; line-height: 1.4; padding: 9px 12px; }
.main-nav .sub a:hover, .main-nav .sub li.active a { background: var(--soft); color: var(--primary); }
.has-children > a { padding-right: 28px; }
.has-children > a::after { content: ''; position: absolute; right: 12px; top: 21px; border: 4px solid transparent; border-top-color: currentColor; }
.sub-toggle { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--soft); border-radius: 12px; cursor: pointer; padding: 13px 11px; flex-direction: column; justify-content: space-between; flex-shrink: 0; }
.nav-toggle span { display: block; height: 2px; background: var(--primary); border-radius: 2px; transition: .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero-home { background: linear-gradient(180deg, var(--soft), #fff); padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 1em; }
.hero-home h1 { margin-bottom: .5em; }
.hero-quote { font: italic 500 1.25rem/1.6 var(--head); color: var(--muted); border-left: 3px solid var(--accent); padding-left: 18px; margin-bottom: 1.8em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); }
.hero-media::before { content: ''; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--cream); right: -12%; bottom: -10%; z-index: -1; }
.hero-media::after { content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%; border: 3px dashed var(--accent); left: -24px; top: 18%; opacity: .5; }

.hero-page { position: relative; color: #fff; background: var(--primary) var(--hero, none) center/cover no-repeat; min-height: 300px; display: flex; align-items: flex-end; }
.hero-page::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,52,40,.25) 0%, rgba(31,52,40,.78) 100%); }
.hero-page .hero-content { position: relative; padding: 80px 0 46px; }
.hero-page h1 { color: #fff; max-width: 860px; }
.hero-page .hero-sub { font: italic 500 1.2rem var(--head); opacity: .95; margin: 0; max-width: 760px; }
.hero-page.no-image { min-height: 220px; background: linear-gradient(120deg, var(--primary), #3f7a5d); }
.hero-page.no-image::before { display: none; }

/* Sections */
.section { padding: clamp(48px, 7vw, 90px) 0; }
.alt-bg { background: var(--soft); }
.intro { max-width: 800px; margin-bottom: 36px; font-size: 1.08rem; }
.intro-section { padding-bottom: 0; }
.lead-content { font-size: 1.15rem; text-align: center; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.feature-grid.no-image { grid-template-columns: 1fr; max-width: 800px; }
.feature.reverse .feature-media { order: -1; }
.feature-media { margin: 0; position: relative; }
.feature-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-media::after { content: ''; position: absolute; inset: auto -16px -16px auto; width: 40%; height: 40%; background: var(--cream); border-radius: var(--radius); z-index: -1; }
.feature.reverse .feature-media::after { inset: auto auto -16px -16px; }
.feature { position: relative; isolation: isolate; }
.kicker { display: none; }

/* Content */
.content > :last-child { margin-bottom: 0; }
.content ul, .content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.content li { margin-bottom: .4em; }
.content ul li::marker { color: var(--accent); }
.content ol li::marker { color: var(--accent); font-weight: 700; }
.content img { border-radius: 12px; display: inline-block; }
.content blockquote { margin: 1.6em 0; padding: 18px 26px; border-left: 4px solid var(--accent); background: var(--soft); border-radius: 0 14px 14px 0; font: italic 500 1.2rem/1.6 var(--head); color: var(--primary); }
.content pre { background: #1f2a24; color: #e8efe9; padding: 16px; border-radius: 10px; overflow-x: auto; }
.content iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; }
.content h2 { margin-top: 1.4em; }
.content h3 { margin-top: 1.3em; }
.content h2:first-child, .content h3:first-child { margin-top: 0; }
.content table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.content td, .content th { border: 1px solid var(--line); padding: 8px 12px; }
.content .btn { margin-top: .3em; }
.price-box { background: var(--cream); border-radius: var(--radius); padding: 22px 26px; margin: 1.6em 0; border: 1px dashed rgba(47,93,70,.3); }
.price-box h3 { margin-top: 0 !important; }
.price-box ul { margin-bottom: 0; }
.price-box p:last-child { margin: 0; }
.ql-align-center { text-align: center; }
.ql-align-right { text-align: right; }
.ql-align-justify { text-align: justify; }
.ql-align-center img { margin-inline: auto; }
.ql-size-small { font-size: .8em; }
.ql-size-large { font-size: 1.4em; }
.ql-size-huge { font-size: 2em; }
.ql-indent-1 { padding-left: 3em; } .ql-indent-2 { padding-left: 6em; } .ql-indent-3 { padding-left: 9em; }
li.ql-indent-1 { margin-left: 2em; padding-left: 0; } li.ql-indent-2 { margin-left: 4em; padding-left: 0; }
.content li[data-list="checked"], .content li[data-list="unchecked"] { list-style: none; margin-left: -1.3em; }
.content li[data-list="checked"]::before { content: '☑ '; color: var(--primary); }
.content li[data-list="unchecked"]::before { content: '☐ '; }
.img-left { float: left; margin: 0 1.2em 1em 0; }
.img-right { float: right; margin: 0 0 1em 1.2em; }
.content::after { content: ''; display: table; clear: both; }
.article { font-size: 1.05rem; }

/* Tabs */
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tab-list button { border: 2px solid var(--line); background: #fff; color: var(--primary); font: 700 .95rem var(--body); padding: .7em 1.3em; border-radius: 999px; cursor: pointer; transition: .15s; }
.tab-list button:hover { border-color: var(--accent); }
.tab-list button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.tab-panel { background: var(--soft); border-radius: var(--radius); padding: clamp(24px, 4vw, 50px); animation: fade .3s; }
.tab-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.tab-grid.no-image { grid-template-columns: 1fr; max-width: 800px; }
.tab-grid img { border-radius: var(--radius); width: 100%; object-fit: cover; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Cards (blokken) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.25rem; }
.card-body .link-arrow { margin-top: auto; padding-top: 6px; }
.card:not(:has(img)) { border-top: 5px solid var(--accent); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); color: inherit; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { position: relative; aspect-ratio: 16/10; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-thumb.empty .icon { width: 54px; height: 54px; color: var(--primary); opacity: .35; }
.post-thumb .tag { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: var(--primary); font-size: .75rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; max-width: calc(100% - 28px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-body time { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.post-body h3 { font-size: 1.2rem; margin-bottom: .5em; }
.post-body p { color: var(--muted); font-size: .95rem; }
.post-body .link-arrow { margin-top: auto; }
.post-filter { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none; }
.chips a.on, .chips a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.search { display: flex; gap: 8px; margin-left: auto; }
.search input { font: inherit; font-size: .95rem; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; min-width: 230px; }
.search input:focus { outline: none; border-color: var(--accent); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pager a { min-width: 42px; height: 42px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.pager a.on, .pager a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.share { display: flex; align-items: center; gap: 10px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; font-weight: 700; }
.share a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; background: var(--soft); color: var(--primary); font-size: .85rem; text-decoration: none; }
.share a:hover { background: var(--primary); color: #fff; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.post-nav a { display: grid; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--primary); font: 600 1rem var(--head); text-decoration: none; }
.post-nav a:hover { border-color: var(--accent); }
.post-nav a.r { text-align: right; }
.post-nav small { font: 700 .78rem var(--body); color: var(--muted); margin-bottom: 4px; }
.back { display: inline-block; margin-bottom: 18px; }

.quote-band { background: var(--primary); color: #fff; padding: 60px 0; text-align: center; }
.quote-band blockquote { margin: 0; font: italic 500 clamp(1.4rem, 3vw, 2rem)/1.4 var(--head); }
.quote-band cite { display: block; font: 600 .9rem var(--body); font-style: normal; opacity: .7; margin-top: 12px; letter-spacing: .05em; text-transform: uppercase; }

/* Forms */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 38px); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.6rem; }
.form-card form { display: grid; gap: 16px; }
.form-card label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--primary); }
.form-card input[type=text], .form-card input[type=email], .form-card input[type=tel], .form-card textarea, .form-card select { font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--soft); transition: border-color .15s, box-shadow .15s; width: 100%; color: var(--ink); }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(224,120,74,.15); background: #fff; }
.form-card .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); flex-wrap: wrap; }
.form-card .check input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--accent); }
.form-card .check span { flex: 1; }
.form-card button { justify-self: start; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.has-error input, .has-error textarea { border-color: #c84b3a !important; }
.field-error { color: #c84b3a; font-size: .85rem; font-weight: 400; width: 100%; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 16px 20px; border-radius: 12px; background: var(--soft); border-left: 4px solid var(--accent); }
.notice.success { background: #eef6ef; border-color: var(--primary); color: #234a37; }
.notice.error { background: #fbeeea; border-color: #c84b3a; color: #7d2b20; margin-bottom: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list small { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; }
.ci { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cream); color: var(--primary); flex-shrink: 0; }
.ci .icon { width: 20px; height: 20px; }
.map { border-radius: var(--radius); overflow: hidden; margin-top: 40px; }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* CTA + footer */
.cta-band { background: var(--cream); padding: 56px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-light { background: var(--accent); border-color: var(--accent); color: #fff; }
.cta-band .btn-light:hover { background: var(--primary); border-color: var(--primary); }
.cta-band .btn-outline-light { color: var(--primary); border-color: var(--primary); }
.cta-band .btn-outline-light:hover { background: var(--primary); color: #fff; }
.site-footer { background: #1f3a2d; color: rgba(255,255,255,.78); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 40px; padding: 60px 0 40px; }
.footer-brand img { max-height: 64px; width: auto; margin-bottom: 16px; }
.footer-name { display: block; font: 600 1.35rem var(--head); color: #fff; margin-bottom: 12px; }
.footer-brand p { max-width: 340px; }
.site-footer h5 { color: #fff; font: 600 1.05rem var(--head); margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.9); }
.site-footer a:hover { color: #fff; }
.footer-badge { text-align: center; }
.footer-badge img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 50%; padding: 8px; margin: 0 auto 10px; }
.footer-badge p { font-size: .85rem; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background .15s; }
.social a:hover { background: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.cookie { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 540px; background: #fff; color: var(--ink); box-shadow: 0 10px 40px rgba(0,0,0,.18); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 16px; align-items: center; z-index: 100; font-size: .9rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s; text-decoration: none !important; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1180px) {
  .brand-text small { display: none; }
  .main-nav a { padding: 10px 10px; font-size: .9rem; }
}
@media (max-width: 1060px) {
  /* backdrop-filter maakt van de header het referentiekader voor het vaste menupaneel: uitzetten */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-open { overflow: hidden; }
  .nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(31,52,40,.35); z-index: 45; }
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; padding: 96px 18px 30px; transform: translateX(100%); transition: transform .25s; box-shadow: -10px 0 40px rgba(0,0,0,.15); overflow-y: auto; z-index: 60; }
  .nav-open .main-nav { transform: none; }
  .nav-toggle { position: relative; z-index: 70; }
  .main-nav > ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 52px 12px 14px; font-size: 1.02rem; white-space: normal; border-radius: 12px; }
  .has-children > a::after { display: none; }
  .main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; display: none; min-width: 0; }
  .main-nav li.open > .sub { display: block; }
  .sub-toggle { display: block; position: absolute; right: 4px; top: 4px; width: 42px; height: 42px; border: 0; background: var(--soft); border-radius: 10px; cursor: pointer; }
  .sub-toggle::before { content: '+'; font-size: 1.3rem; color: var(--primary); }
  li.open > .sub-toggle::before { content: '–'; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .feature-grid, .tab-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 420px; margin-inline: auto; }
  .hero-media img { aspect-ratio: 1; }
  .feature.reverse .feature-media { order: 0; }
  .feature-media::after { display: none; }
  .search { margin-left: 0; width: 100%; }
  .search input { flex: 1; min-width: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-2, .footer-grid, .post-nav { grid-template-columns: 1fr; }
  .header-inner { min-height: 72px; }
  .brand img { max-height: 48px; }
  .brand-text strong { font-size: 1rem; white-space: normal; }
  .cookie { flex-direction: column; align-items: flex-start; }
  .post-nav a.r { text-align: left; }
}
