@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/atkinson-hyperlegible-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/atkinson-hyperlegible-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/atkinson-hyperlegible-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/atkinson-hyperlegible-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/atkinson-hyperlegible-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/atkinson-hyperlegible-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/fraunces-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/fraunces-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/fraunces-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/fraunces-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/fraunces-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/fraunces-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Seniorenschutzengel
   Warm, calm, large type. Everything in rem so the text-size control and
   browser zoom scale the whole page. Contrast: ink on cream 13:1, green on
   cream 7.9:1, cream on green 8.5:1. */

:root {
  --bg: #f7f4ee;
  --surface: #fffdf9;
  --surface-2: #f0ebe2;
  --ink: #1f2a24;
  --muted: #55605a;
  --green: #2f4f43;
  --green-dark: #22392f;
  --green-soft: #dfe8e3;
  --ochre: #8a6a3a;
  --ochre-soft: #f3e9d8;
  --line: #d9d2c7;
  --focus: #1f2a24;
  --radius: 14px;
  --wrap: 72rem;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
@media (min-width: 48em) { html { font-size: 19px; } }
html.text-large { font-size: 21px; }
html.text-xlarge { font-size: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.2rem); }
h3 { font-size: 1.25rem; font-family: var(--sans); font-weight: 700; line-height: 1.3; }
p, ul, ol, dl, table, figure { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .35em; }
nav li, .cards > li, .facts > li, .steps > li, .checks li, .crumbs li, .site-footer li { margin-top: 0; }
strong { font-weight: 700; }
small, .small { font-size: .88rem; }
abbr[title] { text-decoration: underline dotted; }
address { font-style: normal; }
img, svg { max-width: 100%; height: auto; }
figure { margin-left: 0; margin-right: 0; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: .5em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: .09em;
  text-underline-offset: .18em;
}
a:hover { color: var(--green-dark); text-decoration-thickness: .16em; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--bg);
  border-radius: 4px;
}
main:focus-visible { outline: none; box-shadow: none; }

::selection { background: var(--green-soft); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .7em 1.1em; border-radius: 0 0 8px 8px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 0; outline-offset: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* Header: two rows. Row one is the wordmark with the small tools, row two
   the main navigation and the call to action. On small screens row two
   collapses into the menu behind the burger. */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.bar-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; }
.brand {
  display: inline-flex; align-items: center; gap: .55rem; flex: 0 0 auto; text-decoration: none; color: var(--green-dark);
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1; white-space: nowrap;
}
.brand-mark { display: inline-flex; flex: 0 0 auto; color: var(--green); }
.brand-mark svg { width: 2.2rem; height: 2.2rem; flex: 0 0 auto; }
.top-tools { display: none; align-items: center; gap: 0; font-size: .9rem; }
.top-tools > * + * { border-left: 1px solid var(--line); margin-left: 1rem; padding-left: 1rem; }
.lang-nav ul, .nav ul, .utility-nav ul { list-style: none; margin: 0; padding: 0; }
.lang-nav ul, .utility-nav ul { display: flex; gap: .25rem; flex-wrap: wrap; }
.lang-nav a, .lang-nav span, .utility-nav a {
  display: inline-flex; align-items: center; min-height: 2.4rem; padding: 0 .65em; border-radius: 6px;
  text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1;
}
.lang-nav a:hover, .utility-nav a:hover { background: var(--surface-2); text-decoration: underline; }
.lang-nav span[aria-current] { background: var(--green-soft); color: var(--green-dark); font-weight: 700; }
.utility-nav a[aria-current="page"] { background: var(--green-soft); color: var(--green-dark); }
.textsize { display: flex; align-items: center; gap: .2rem; }
.textsize-label { color: var(--muted); margin-right: .3rem; line-height: 1; }
.textsize button {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  font: inherit; font-weight: 700; line-height: 1; color: var(--ink); background: transparent;
  border: 2px solid transparent; border-radius: 6px; width: 2.4rem; height: 2.4rem; padding: 0; cursor: pointer;
}
.textsize button[data-size="large"] { font-size: 1.2em; }
.textsize button[data-size="xlarge"] { font-size: 1.45em; }
.textsize button:hover { background: var(--surface-2); }
.textsize button[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); }
.burger {
  display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 700; color: var(--ink);
  background: var(--surface-2); border: 2px solid var(--line); border-radius: 10px; min-height: 3rem; padding: 0 .9rem; cursor: pointer;
}
.burger-lines { display: inline-flex; flex-direction: column; gap: 4px; }
.burger-lines span { display: block; width: 20px; height: 2px; background: currentColor; }
.burger-text { font-size: .95rem; }
.bar-nav { display: none; }
.nav ul { display: flex; flex-wrap: wrap; gap: .1rem .2rem; }
.nav a { display: block; padding: .55em .6em; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; }
.nav a:hover { background: var(--surface-2); text-decoration: underline; }
.nav a[aria-current="page"] { background: var(--green-soft); color: var(--green-dark); }
.nav-mobile-extra { display: none; }
.bar-actions { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
.phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.phone .icon { width: 1.3em; height: 1.3em; }
.cta { white-space: nowrap; }

@media (min-width: 74em) {
  .top-tools { display: flex; }
  .burger { display: none; }
  .bar-top { border-bottom: 1px solid var(--line); }
  .bar-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
  .nav .nav-secondary { display: none; }
}
@media (max-width: 73.99em) {
  body.nav-open .bar-nav { display: block; padding: .5rem 0 1.2rem; border-top: 1px solid var(--line); }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav a { padding: .8em .9em; font-size: 1.05rem; }
  .nav-mobile-extra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); }
  .bar-actions { margin-top: 1rem; flex-wrap: wrap; }
  .cta { width: 100%; }
}
@media (max-width: 40em) {
  .brand-name { font-size: 1.1rem; }
  .burger { padding: 0 .8rem; }
  .burger-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.1rem; padding: .6em 1.4em; border-radius: 10px; border: 2px solid var(--green);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--green-dark); }
.btn-secondary:hover { background: var(--green-soft); }
.btn-lg { font-size: 1.1rem; min-height: 3.5rem; padding: .7em 1.7em; }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* Breadcrumbs */
.crumbs { font-size: .9rem; padding: .7rem 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li + li::before { content: "/"; color: var(--muted); margin-right: .3rem; }
.crumbs span[aria-current] { color: var(--muted); }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-green { background: var(--green-dark); color: #f7f4ee; }
.section-green h2, .section-green h3 { color: #fff; }
.section-green a { color: #fff; }
.section-green .btn-primary { background: #f7f4ee; color: var(--green-dark); border-color: #f7f4ee; }
.section-green .btn-primary:hover { background: #fff; color: var(--green-dark); border-color: #fff; }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head .lead { margin-bottom: 0; }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ochre); margin-bottom: .8rem;
}
.lead { font-size: 1.18rem; line-height: 1.55; color: var(--muted); }
.prose { max-width: 66ch; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }

/* Hero */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-grid > *, .two-col > *, .cards > *, .facts > *, .steps > li > div { min-width: 0; }
.hero h1 { margin-bottom: .6em; }
.hero .lead { color: var(--ink); max-width: 36rem; margin-bottom: 1.6rem; }
.hero-art { max-width: 36rem; margin-inline: auto; }
.hero-art svg, .two-col svg { width: 100%; height: auto; display: block; }
@media (min-width: 56em) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }

/* Facts strip */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.facts li {
  display: flex; gap: .8rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.1rem; margin: 0;
}
.facts .icon { flex: 0 0 auto; width: 1.7rem; height: 1.7rem; color: var(--green); margin-top: .1rem; }
.facts strong { display: block; }
.facts span { color: var(--muted); font-size: .95rem; }

/* Cards */
.cards { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); margin: 0; padding: 0; list-style: none; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; margin: 0;
}
.card .icon-circle {
  display: inline-flex; align-items: center; justify-content: center; width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: var(--green-soft); color: var(--green-dark); margin-bottom: 1rem;
}
.card .icon-circle .icon { width: 1.6rem; height: 1.6rem; }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card-link { font-weight: 700; }
.card-feature { border-width: 2px; border-color: var(--green); position: relative; }
.card-feature .badge {
  position: absolute; top: -.8rem; left: 1.4rem; background: var(--green); color: #fff; font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .25em .7em; border-radius: 999px;
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1.2rem; }
.steps > li {
  counter-increment: step; display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.1rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; margin: 0;
}
.steps > li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center; width: 3.4rem; height: 3.4rem;
  border-radius: 50%; background: var(--green); color: #fff; font-family: var(--serif); font-size: 1.6rem; font-weight: 600;
}
.steps h3 { margin: .3rem 0 .4rem; }
.steps p:last-child { margin-bottom: 0; }
@media (min-width: 56em) { .steps.steps-2 { grid-template-columns: 1fr 1fr; } }

/* Do / don't lists */
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks .icon { flex: 0 0 auto; width: 1.5rem; height: 1.5rem; margin-top: .2rem; color: var(--green); }
.checks.no .icon { color: #8a3a3a; }
.two-col { display: grid; gap: 2rem; }
@media (min-width: 48em) { .two-col { grid-template-columns: 1fr 1fr; } }

/* Callouts and quotes */
.callout {
  border-left: 6px solid var(--green); background: var(--surface); padding: 1.1rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.6rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout-ochre { border-color: var(--ochre); background: var(--ochre-soft); }
.statement {
  font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); line-height: 1.3; font-weight: 500; max-width: 30ch;
}

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: 0 0 .8rem; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.3rem; font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto; width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-size: 1.4rem; line-height: 1;
}
.faq[open] summary::after { content: "\2212"; }
.faq summary:hover { background: var(--surface-2); border-radius: var(--radius); }
.faq[open] summary { border-bottom: 1px solid var(--line); }
.faq-a { padding: 1rem 1.3rem 1.1rem; }
.faq-a p:last-child { margin-bottom: 0; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }
table { border-collapse: collapse; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
th, td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
caption { caption-side: top; text-align: left; font-weight: 700; padding: 0 0 .5rem; }

/* Forms */
.form { max-width: 40rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
.form legend { font-weight: 700; font-size: 1.1rem; margin-bottom: .6rem; padding: 0; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.field .hint { display: block; font-size: .9rem; color: var(--muted); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  display: block; width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid #8a948e;
  border-radius: 10px; min-height: 3.2rem; padding: .6em .9em;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--green); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #8a3a3a; }
.check { display: grid; grid-template-columns: 1.6rem 1fr; gap: .7rem; align-items: start; }
.check input { width: 1.6rem; height: 1.6rem; margin: .25rem 0 0; accent-color: var(--green); }
.check label { font-weight: 400; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; padding: 0; border-radius: 10px; font-weight: 700; }
.form-status.is-ok { padding: .9rem 1.1rem; background: var(--green-soft); color: var(--green-dark); }
.form-status.is-err { padding: .9rem 1.1rem; background: #f4dede; color: #5a2323; }
.form .btn { margin-top: .4rem; }

/* Floor plan and other inline illustrations */
.figure-plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.figure-plan svg { width: 100%; height: auto; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .92rem; color: var(--muted); margin-top: .8rem; }
.legend span::before { content: ""; display: inline-block; width: .85em; height: .85em; border-radius: 3px; margin-right: .4em; vertical-align: -.05em; }
.legend .l-cam::before { background: var(--green); }
.legend .l-zone::before { border: 2px dashed var(--green); }
.legend .l-excl::before { background: #e8dcd4; }
.legend .l-cable::before { background: #b8a98f; height: 3px; vertical-align: .2em; }

/* Marks for data still to be confirmed (visible on purpose until replaced) */
mark.todo { background: #fff3b0; color: var(--ink); padding: 0 .25em; border-radius: 3px; }

/* Footer */
.site-footer { background: var(--green-dark); color: #f7f4ee; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .55rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.footer-grid > :first-child { grid-column: span 2; }
@media (max-width: 40em) { .footer-grid > :first-child { grid-column: auto; } }
.footer-brand { max-width: 24rem; }
.footer-wordmark { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; color: #fff; }
.footer-wordmark .brand-mark { color: #cfe0d6; }
.footer-wordmark .brand-mark svg { width: 1.8rem; height: 1.8rem; }
.footer-h { font-family: var(--sans); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: #cfe0d6; margin-bottom: .8rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid rgba(255,255,255,.18); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .9rem; color: #dfe8e3; }
.footer-bottom p { margin: 0; }
.site-footer .small { color: #cfe0d6; }
.site-footer :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--green-dark); }
.section-green :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--green-dark); }

/* High contrast and forced colours */
@media (prefers-contrast: more) {
  :root { --muted: #3b4540; --line: #8a948e; }
  .btn-secondary { border-width: 3px; }
}
@media (forced-colors: active) {
  .btn, .faq, .card, .facts li, .steps > li { border: 2px solid CanvasText; }
  .brand-mark svg, .icon { forced-color-adjust: auto; }
}

/* Print */
@media print {
  .site-header, .site-footer, .skip, .crumbs, .btn, .form, .hero-art { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a::after { content: " (" attr(href) ")"; font-size: .85em; }
  .section { padding: 1rem 0; }
}

/* An h2 that should look like an h3 (cards and steps directly under the page title) */
.h3 { font-size: 1.25rem; font-family: var(--sans); font-weight: 700; line-height: 1.3; letter-spacing: 0; }

/* Photographs. Every AI-generated image carries a small badge in the corner
   (EU AI Act, Art. 50) and an alt-text prefix; real photos get neither. */
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.photo img { display: block; width: 100%; height: auto; }
.photo-cover img { aspect-ratio: 3 / 2; object-fit: cover; }
.photo-wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.photo-tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.ai-badge {
  position: absolute; right: .6rem; bottom: .6rem; font-size: .5875rem; line-height: 1; letter-spacing: .04em;
  color: #fff; background: rgba(0,0,0,.15); backdrop-filter: blur(4px); padding: .35em .6em; border-radius: 999px;
}
.hero-art .photo { box-shadow: 0 24px 60px -30px rgba(31,42,36,.45); }
.band { padding: 0; }
.band .photo { border-radius: 0; }
.band .photo img { aspect-ratio: 21 / 9; object-fit: cover; max-height: 34rem; }
.band-quote { position: relative; }
.band-quote .quote {
  position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.2rem, 4vw, 3rem) 0;
  background: linear-gradient(to top, rgba(31,42,36,.78), rgba(31,42,36,0)); color: #fff;
}
.band-quote .quote p { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1.6vw, 2rem); line-height: 1.25; max-width: 28ch; font-weight: 500; }
.band-quote .quote small { display: block; margin-top: .6rem; font-size: .95rem; color: #dfe8e3; }
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56em) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } .split.split-rev > :first-child { order: 2; } }
.split > * { min-width: 0; }
@media (max-width: 40em) { .band .photo img { aspect-ratio: 4 / 3; } }
.photo + h3, .photo + .h3 { margin-top: 1rem; }
.split .photo + p { margin-top: .6rem; }

/* Prose sections stay left-aligned inside the page gutter; only their text
   is limited to a readable measure, photos may run wider. */
.wrap.prose { max-width: none; }
.wrap.prose > :not(.photo) { max-width: 66ch; }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }
.split-top { align-items: start; }

.locations { display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); margin: 1rem 0 1.5rem; }
.locations .loc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; line-height: 1.5; }
.locations .loc strong { display: block; margin-bottom: .2rem; color: var(--green-dark); }
.footer-locs {
  display: grid; gap: 2rem; grid-template-columns: minmax(18rem, 1.1fr) 3fr;
  border-top: 1px solid rgba(255,255,255,.18); margin-top: 2.5rem; padding-top: 2rem;
}
.footer-locs p { margin: 0; overflow-wrap: anywhere; }
.footer-loc-grid { display: grid; gap: 1.2rem 2rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.footer-loc-grid .loc { font-size: .95rem; line-height: 1.5; }
.footer-loc-grid .loc strong { display: block; color: #cfe0d6; margin-bottom: .15rem; }
@media (max-width: 48em) { .footer-locs { grid-template-columns: 1fr; gap: 1.5rem; } }
