/* =========================================================
   Urlaubsbetreuung Salzburg – Stylesheet
   Schriften: Fraunces & Manrope (Google Fonts, lokal gehostet – DSGVO)
   ========================================================= */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-normal.woff2') format('woff2');
}

:root {
  --bg: #F8F5EF;
  --surface: #FFFFFF;
  --sand: #F1EADF;
  --line: #E4DCCF;
  --ink: #1E2B26;
  --ink-soft: #4A5852;
  --muted: #5F6B65;
  --green: #3B6650;
  --green-dark: #2F5443;
  --green-deeper: #23402F;
  --green-soft: #E3ECE5;
  --blue: #4F768A;
  --blue-soft: #E2EBEF;
  --sand-accent: #9A7440;
  --sand-soft: #F1E6D2;
  --amber-soft: #F6E7C8;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(30, 43, 38, .05), 0 4px 14px -6px rgba(30, 43, 38, .08);
  --shadow: 0 16px 36px -16px rgba(30, 43, 38, .24);
  --shadow-lg: 0 36px 70px -28px rgba(30, 43, 38, .38);

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.5rem + 3.3vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 1.35rem + 1.9vw, 2.9rem); }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--green); }

p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); }

::selection { background: #CFE0D4; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 300;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.icon {
  width: 1.25em; height: 1.25em;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* Inhalt, der noch vom Kunden geliefert werden muss */
.ph {
  background: var(--amber-soft);
  color: #7A5A1E;
  border-radius: 6px;
  padding: .05em .4em;
  font-style: normal;
  font-weight: 600;
  font-size: .92em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.site-footer .ph,
.section--green .ph,
.aside-card--green .ph { background: rgba(246, 231, 200, .16); color: #F3DFB6; }

/* ---------- Image placeholders ---------- */
.img-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .35rem;
  width: 100%; height: 100%;
  padding: 1.5rem;
  text-align: center;
  color: #6B7A72;
  background-color: #E9E2D5;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .38) 0 12px, transparent 12px 24px);
  border: 2px dashed #CDBFA8;
  border-radius: inherit;
}
.img-ph .icon { width: 2.4rem; height: 2.4rem; stroke-width: 1.3; margin-bottom: .35rem; color: #8C9A92; }
.img-ph-title { font-weight: 700; font-size: 1rem; color: var(--ink-soft); line-height: 1.3; }
.img-ph-desc { font-size: .88rem; line-height: 1.45; max-width: 28ch; }
.img-ph-size {
  margin-top: .4rem; padding: .2rem .65rem; border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  font-size: .74rem; font-weight: 700; letter-spacing: .06em;
}
.img-ph--mini { padding: .3rem; gap: .15rem; border-width: 1.5px; }
.img-ph--mini .icon { width: 1.3rem; height: 1.3rem; margin: 0; }
.img-ph--mini .img-ph-title { font-size: .66rem; line-height: 1.15; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-size: .98rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }

.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 22px -12px rgba(47, 84, 67, .7); }
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }

.btn-secondary { background: transparent; color: var(--ink); border-color: #CDC2B0; }
.btn-secondary:hover { border-color: var(--green); color: var(--green-dark); background: rgba(59, 102, 80, .05); }

.btn-light { background: #fff; color: var(--green-deeper); }
.btn-light:hover { background: var(--sand); color: var(--green-deeper); transform: translateY(-1px); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn-sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.65rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  margin: 0 0 1rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow .icon { width: 1.1em; height: 1.1em; }
.eyebrow--light { color: #A9C7B3; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 245, 239, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(30, 43, 38, .45); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--green); text-decoration: none; }
.brand:hover { color: var(--green); }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
/* M&D Hausservice logo (image, 879 × 144). logo-light.png is the version for the green footer. */
.brand-logo { display: block; width: auto; height: 38px; max-width: 100%; }
.site-footer .brand-logo { height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.brand-sub { margin-top: 3px; font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--green); }
.brand--light, .brand--light:hover { color: #4F8466; }
.brand--light .brand-name { color: #fff; }
.brand--light .brand-sub { color: #A9C7B3; }

.main-nav ul { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.main-nav a:not(.btn) {
  display: block; padding: .55rem .9rem; border-radius: 999px;
  font-size: .96rem; font-weight: 600; color: var(--ink-soft); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.main-nav a:not(.btn):hover { color: var(--ink); background: rgba(59, 102, 80, .08); }
.main-nav a[aria-current="page"] { color: var(--green-dark); background: var(--green-soft); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none; position: relative;
  width: 46px; height: 46px; padding: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    display: flex; flex-direction: column; gap: 1.5rem;
    padding: 1.25rem clamp(1.25rem, 4vw, 2rem) 2rem;
    background: var(--bg);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .is-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: .15rem; }
  .main-nav a:not(.btn) { padding: .85rem 1rem; border-radius: 14px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 500; }
  .nav-cta-mobile { display: inline-flex; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 600px) {
  .header-cta { display: none; }
  .brand-name { font-size: 1.1rem; }
  .site-header .brand-logo { height: 30px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--sand { background: var(--sand); }
.section--green { background: var(--green-deeper); color: #E3ECE5; }
.section--green h2 { color: #fff; }
.section--green h2 em { color: #A9C7B3; }
.section--green .lead { color: #C9D8CE; }

.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.section-head .lead { margin-bottom: 0; }
.section-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.hero::before {
  content: ""; position: absolute; right: -12%; top: -25%;
  width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(closest-side, rgba(59, 102, 80, .10), transparent);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-copy h1 em { display: block; }
.hero-copy .lead { max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 0; padding: 0; list-style: none; font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.hero-points li { display: flex; align-items: center; gap: .45rem; }
.hero-points .icon { width: 1.15em; height: 1.15em; stroke-width: 2.4; color: var(--green); }

.hero-visual { position: relative; padding: 1.5rem 0 1.5rem 1.5rem; }
.hero-art { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-lg); }
.hero-art > img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  padding: .85rem 1rem;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(228, 220, 207, .8);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.float-card--photo { left: 0; top: 12%; display: flex; align-items: center; gap: .8rem; padding-right: 1.3rem; }
.float-thumb { width: 56px; height: 56px; flex-shrink: 0; border-radius: 12px; overflow: hidden; }
.float-thumb > img { width: 100%; height: 100%; object-fit: cover; }
.float-title { display: flex; align-items: center; gap: .4rem; margin: 0; font-size: .92rem; font-weight: 700; color: var(--ink); }
.float-title .icon { width: 1.05em; height: 1.05em; color: var(--green); }
.float-meta { margin: .1rem 0 0; font-size: .8rem; color: var(--muted); }

.float-card--tasks { right: -1rem; bottom: 8%; min-width: 214px; padding: 1rem 1.15rem; }
.float-card--tasks ul { display: grid; gap: .45rem; margin: .6rem 0 0; padding: 0; list-style: none; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.float-card--tasks li { display: flex; align-items: center; gap: .5rem; }
.tick { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.tick .icon { width: 12px; height: 12px; stroke-width: 3; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 520px) {
  .hero-visual { padding-left: .75rem; }
  .float-card--tasks { right: 0; }
}

/* ---------- Trust bar ---------- */
.trustbar { background: var(--surface); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: .9rem; padding: 1.5rem 1.25rem; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green); }
.trust-icon .icon { width: 24px; height: 24px; }
.trust-item strong { display: block; font-size: 1rem; line-height: 1.3; }
.trust-item div > span { display: block; font-size: .86rem; line-height: 1.45; color: var(--muted); }

@media (max-width: 960px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 1.1rem .25rem; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.intro-grid h2 { max-width: 14ch; }
.feature-list { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.35rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-dot { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; margin-top: .1rem; border-radius: 50%; background: var(--green); color: #fff; }
.feature-dot .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.feature-list strong { display: block; margin-bottom: .15rem; font-size: 1.03rem; }
.feature-list li div span { display: block; font-size: .96rem; line-height: 1.55; color: var(--ink-soft); }

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-grid h2 { max-width: none; }
}

/* ---------- Item rows (cards, steps, benefits, facts) ----------
   The number of items is editable in the admin, so the rows are flex instead of a fixed grid:
   each item keeps the width of one column (--cols) and an incomplete row is centered. */
.cards-3, .steps, .benefits-grid, .facts-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.cards-3 > *, .steps > *, .benefits-grid > *, .facts-grid > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }

/* ---------- Service cards ---------- */
.cards-3 { --cols: 3; --gap: 1.5rem; }
.service-card {
  display: flex; flex-direction: column;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid rgba(228, 220, 207, .7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card p { color: var(--ink-soft); }

.service-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.5rem; border-radius: 16px; background: var(--green-soft); color: var(--green); }
.service-icon .icon { width: 28px; height: 28px; }
.service-icon--blue { background: var(--blue-soft); color: var(--blue); }
.service-icon--sand { background: var(--sand-soft); color: var(--sand-accent); }

.checklist { display: grid; gap: .6rem; margin: .5rem 0 1.75rem; padding: 1.25rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.checklist li { position: relative; padding-left: 1.9rem; font-size: .97rem; font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6650' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; font-weight: 700; color: var(--green); text-decoration: none; }
.card-link .icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.card-link:hover .icon { transform: translateX(4px); }

@media (max-width: 960px) { .cards-3 { --cols: 2; } }
@media (max-width: 640px) { .cards-3 { --cols: 1; } }

/* ---------- Steps ---------- */
.steps { --cols: 4; --gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding: 1.75rem 1.5rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-head); font-size: 2.4rem; font-style: italic; font-weight: 300; line-height: 1; color: #D5CAB8; }
.step-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.25rem; border-radius: 50%; background: var(--green); color: #fff; }
.step-icon .icon { width: 24px; height: 24px; }
.step h3 { font-size: 1.2rem; }
.step p { margin: 0; font-size: .96rem; color: var(--ink-soft); }

@media (max-width: 1000px) { .steps { --cols: 2; } }
@media (max-width: 560px) { .steps { --cols: 1; } }

/* ---------- Photo guarantee ---------- */
.photo-section { position: relative; overflow: hidden; }
.photo-section::before {
  content: ""; position: absolute; right: -10%; bottom: -40%;
  width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(143, 179, 156, .18), transparent);
  pointer-events: none;
}
.photo-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.photo-points { display: grid; gap: .75rem; margin: 1.75rem 0; padding: 0; list-style: none; }
.photo-points li { display: flex; align-items: center; gap: .75rem; font-weight: 600; color: #fff; }
.photo-points .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(169, 199, 179, .2); color: #A9C7B3; stroke-width: 2.6; }
.photo-note { max-width: 34rem; margin: 0; padding-left: 1rem; border-left: 2px solid rgba(169, 199, 179, .4); font-size: .93rem; color: #A9BFB1; }

.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 9 / 18.5;
  padding: 12px;
  background: #101915;
  border-radius: 46px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 0 0 2px #2A3A33;
  transform: rotate(3deg);
}
.phone-notch { position: absolute; top: 22px; left: 50%; z-index: 2; width: 90px; height: 24px; transform: translateX(-50%); background: #101915; border-radius: 20px; }
.phone-screen { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #F4F0E8; border-radius: 36px; }
.chat-header { display: flex; align-items: center; gap: .6rem; padding: 3.1rem 1rem .8rem; background: #fff; border-bottom: 1px solid var(--line); color: var(--green); }
.chat-header .brand-mark { width: 34px; height: 34px; }
.chat-header strong { display: block; font-size: .85rem; line-height: 1.2; color: var(--ink); }
.chat-header span { display: block; font-size: .72rem; color: var(--muted); }
.chat { flex: 1; display: flex; flex-direction: column; gap: .55rem; padding: .9rem .8rem; overflow: hidden; }
.msg { align-self: flex-start; max-width: 88%; padding: .35rem; background: #fff; border-radius: 16px 16px 16px 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.msg p { margin: 0; padding: .3rem .5rem .35rem; font-size: .76rem; line-height: 1.4; color: var(--ink); }
.msg-photo { width: 176px; max-width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 12px; }
.msg-photo > img { width: 100%; height: 100%; object-fit: cover; }
.msg--out { align-self: flex-end; background: var(--green); border-radius: 16px 16px 4px 16px; }
.msg--out p { color: #fff; }

@media (max-width: 900px) {
  .photo-grid { grid-template-columns: 1fr; }
  .phone { transform: none; }
}

/* ---------- Benefits / values ---------- */
.benefits-grid { --cols: 4; --gap: 1.25rem; }
.benefit { padding: 1.75rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.benefit-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 1.25rem; border-radius: 14px; background: var(--green-soft); color: var(--green); }
.benefit-icon .icon { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.18rem; }
.benefit p { margin: 0; font-size: .96rem; color: var(--ink-soft); }
.benefit--featured { background: var(--green); border-color: var(--green); }
.benefit--featured h3 { color: #fff; }
.benefit--featured p { color: #D6E4DA; }
.benefit--featured .benefit-icon { background: rgba(255, 255, 255, .14); color: #fff; }

@media (max-width: 1000px) { .benefits-grid { --cols: 2; } }
@media (max-width: 560px) { .benefits-grid { --cols: 1; } }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; gap: 1.5rem; }
.testimonial { position: relative; display: flex; flex-direction: column; margin: 0; padding: 2.25rem 2rem 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.testimonial::before { content: "\201C"; position: absolute; top: .9rem; right: 1.5rem; font-family: var(--font-head); font-size: 5rem; line-height: 1; color: var(--green-soft); }
.testimonial blockquote { flex: 1; margin: 0 0 1.5rem; }
/* No gaps between blocks: spacing comes from the empty lines typed in the editor, as in the admin. */
.testimonial blockquote p,
.testimonial blockquote li { margin: 0; font-family: var(--font-head); font-size: 1.22rem; line-height: 1.45; color: var(--ink); }
.testimonial blockquote ul, .testimonial blockquote ol { margin: 0; padding-left: 1.4em; }
.testimonial blockquote li::marker { color: var(--green); }
.testimonial figcaption { display: flex; align-items: center; gap: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.testimonial figcaption > span:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; font-size: .88rem; color: var(--muted); }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 700; }
.testimonial.is-placeholder { background: rgba(255, 255, 255, .6); border: 1.5px dashed #CDBFA8; }
.empty-note {
  margin: 0;
  padding-block: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  font-size: 1.05rem;
  color: var(--muted);
}

.placeholder-badge { align-self: flex-start; margin-bottom: 1rem; padding: .25rem .65rem; border-radius: 999px; background: var(--amber-soft); color: #7A5A1E; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }


/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-media > img { width: 100%; height: 100%; object-fit: cover; }
.about-copy .btn { margin-top: .5rem; }
.signature { margin: 1.75rem 0 0; font-family: var(--font-head); font-size: 1.35rem; font-style: italic; color: var(--green); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { width: 100%; max-width: 460px; }
}

.media-wide { aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--radius-lg); }
.media-wide > img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .media-wide { aspect-ratio: 4 / 3; } }

/* ---------- Facts ---------- */
.facts-grid { --cols: 4; --gap: 1.25rem; }
.fact { padding: 1.75rem 1.5rem; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.fact-value { display: block; margin-bottom: .5rem; font-family: var(--font-head); font-size: 1.75rem; line-height: 1.2; color: var(--green); }
.fact-label { font-size: .93rem; font-weight: 600; color: var(--ink-soft); }

@media (max-width: 900px) { .facts-grid { --cols: 2; } }
@media (max-width: 480px) { .facts-grid { --cols: 1; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr auto; gap: 2rem 3rem; align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  background: linear-gradient(160deg, #3B6650, #23402F);
  border-radius: var(--radius-lg);
  color: #C9D8CE;
}
.cta-band-copy, .cta-band-actions { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: .6rem; color: #fff; }
.cta-band h2 em { color: #BFD6C6; }
.cta-band p { max-width: 40rem; margin: 0; }
.cta-band-actions { display: flex; flex-direction: column; gap: .75rem; }
.cta-band-mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; fill: rgba(255, 255, 255, .05); }

@media (max-width: 900px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(3.5rem, 6vw, 5rem); background: #1C3226; color: #B8C9BE; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2.5rem; }
.footer-brand p { max-width: 30ch; margin: 1.25rem 0 1.5rem; color: #A4B8AB; }
.footer-title { margin: 0 0 1.1rem; font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer-col ul { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.site-footer a:not(.btn):not(.brand) { color: #C7D6CC; text-decoration: none; }
.site-footer a:not(.btn):not(.brand):hover { color: #fff; text-decoration: underline; }
.footer-link-button { padding: 0; background: none; border: 0; font: inherit; color: #C7D6CC; text-align: left; cursor: pointer; }
.footer-link-button:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: .2rem; color: #8FB39C; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3.5rem; padding-block: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; color: #8EA497; }
.footer-bottom p { margin: 0; }

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, var(--sand) 0%, var(--bg) 100%); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); }
.page-hero .lead { max-width: 46rem; margin-bottom: 0; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 2rem; padding: 0; list-style: none; font-size: .87rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #C2B7A5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }

.jump-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.jump-links a { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: .93rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s; }
.jump-links a:hover { border-color: var(--green); color: var(--green); }
.jump-links .icon { width: 1.1em; height: 1.1em; color: var(--green); }

/* ---------- Service detail ---------- */
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.service-detail-grid--reverse .service-art { order: 2; }

.service-art { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); }
.service-art > .img-ph,
.service-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.service-art > img { box-shadow: var(--shadow); }

.task-pill { position: absolute; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; background: #fff; border-radius: 999px; box-shadow: var(--shadow); font-size: .88rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.task-pill .icon { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--green-soft); color: var(--green); stroke-width: 3; }
.service-art--blue .task-pill .icon { background: var(--blue-soft); color: var(--blue); }
.service-art--sand .task-pill .icon { background: var(--sand-soft); color: var(--sand-accent); }
.task-pill--1 { top: 8%; left: -1.25rem; }
.task-pill--2 { top: 46%; right: -1.25rem; }
.task-pill--3 { bottom: 8%; left: 12%; }

.service-num { display: block; margin-bottom: .75rem; font-family: var(--font-head); font-size: 3rem; font-style: italic; font-weight: 300; line-height: 1; color: #CDBFA8; }

.detail-list { display: grid; gap: 1rem; margin: 2rem 0; padding: 0; list-style: none; }
.detail-list li { display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.detail-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green); }
.detail-icon .icon { width: 22px; height: 22px; }
.detail-list h3 { margin: 0 0 .2rem; font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.detail-list p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ink-soft); }
.detail-list--compact { grid-template-columns: 1fr 1fr; gap: .75rem; }
.detail-list--compact li { align-items: center; padding: .8rem 1rem; }
.detail-list--compact .detail-icon { width: 32px; height: 32px; border-radius: 50%; }
.detail-list--compact .detail-icon .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.detail-list--compact h3 { margin: 0; }

@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid--reverse .service-art { order: 0; }
}
@media (max-width: 560px) {
  .task-pill--1 { left: .75rem; }
  .task-pill--2 { right: .75rem; }
}
@media (max-width: 480px) { .detail-list--compact { grid-template-columns: 1fr; } }

/* ---------- Info panel ---------- */
.info-panel { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2rem; align-items: center; padding: clamp(1.75rem, 4vw, 2.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.info-panel-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--green-soft); color: var(--green); }
.info-panel-icon .icon { width: 30px; height: 30px; }
.info-panel h2 { margin-bottom: .35rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.info-panel p { margin: 0; color: var(--ink-soft); }
@media (max-width: 800px) { .info-panel { grid-template-columns: 1fr; } }

/* ---------- Cards & forms ---------- */
.card { padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

.contact-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.form-intro { margin-bottom: 2rem; }
.form-intro h2 { margin-bottom: .4rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.form-intro p { margin: 0; color: var(--ink-soft); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .fieldset legend { font-size: .92rem; font-weight: 700; color: var(--ink); }
.req { color: var(--green); }
.optional { font-size: .85em; font-weight: 500; color: var(--muted); }

.field input, .field textarea {
  width: 100%; min-height: 50px;
  padding: .8rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #FBFAF7;
  border: 1.5px solid #DDD4C5; border-radius: 12px;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #C9BDA9; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(59, 102, 80, .14); }
.field input::placeholder, .field textarea::placeholder { color: #939C97; }
.has-error input, .has-error textarea { background: #FDF6F4; border-color: #B4483C; }
.field-error { margin: 0; font-size: .84rem; font-weight: 600; color: #A33F34; }

.fieldset { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
.fieldset legend { margin-bottom: .65rem; padding: 0; }
.date-range { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.date-range .field label { font-size: .82rem; font-weight: 600; color: var(--muted); }

.chip-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chip span { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.05rem; background: #FBFAF7; border: 1.5px solid #DDD4C5; border-radius: 999px; font-size: .93rem; font-weight: 600; user-select: none; transition: background-color .2s, border-color .2s, color .2s; }
.chip span .icon { width: 1.1em; height: 1.1em; color: var(--green); }
.chip:hover span { border-color: #C9BDA9; }
.chip input:checked + span { background: var(--green-soft); border-color: var(--green); color: var(--green-deeper); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { margin: 1.5rem 0 1.25rem; font-size: .87rem; color: var(--muted); }
.form-required-note { margin: .85rem 0 0; font-size: .8rem; text-align: center; color: var(--muted); }
.form-turnstile { margin-top: 1.5rem; min-height: 65px; }
.form-turnstile-placeholder { display: grid; place-items: center; height: 65px; border: 1.5px dashed #D5CAB8; border-radius: 12px; font-size: .85rem; color: var(--muted); }
.form-alert { margin: 0 0 1.25rem; padding: .9rem 1.1rem; background: #FDF6F4; border: 1px solid #EBC9C3; border-radius: 12px; font-size: .93rem; font-weight: 600; color: #8A3329; }
.contact-form [aria-busy="true"] { opacity: .7; cursor: progress; }

.form-success { padding-block: clamp(2rem, 6vw, 4rem); text-align: center; }
.form-success:focus { outline: none; }
.form-success p { max-width: 32rem; margin-inline: auto; color: var(--ink-soft); }
.success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.success-icon .icon { width: 34px; height: 34px; stroke-width: 2.2; }

.contact-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.aside-card { padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.aside-card h2 { margin-bottom: 1.1rem; font-size: 1.35rem; }
.aside-card p { color: var(--ink-soft); }
.aside-card--green { background: var(--green-deeper); border-color: var(--green-deeper); color: #C9D8CE; }
.aside-card--green h2 { color: #fff; }
.aside-card--green p { color: #C9D8CE; }

.mini-steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: ms; }
.mini-steps li { display: flex; gap: .85rem; counter-increment: ms; }
.mini-steps li::before { content: counter(ms); display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: .85rem; font-weight: 800; }
.mini-steps strong { display: block; font-size: .97rem; }
.mini-steps span { display: block; font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }

.contact-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: .8rem; }
.contact-icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #A9C7B3; }
.contact-icon .icon { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .78rem; color: #94AC9D; }
.contact-list a, .contact-list .contact-value { font-weight: 600; color: #fff; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: #fff; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-list { display: grid; gap: .85rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #CADCCF; box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; font-size: 1.05rem; font-weight: 700; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6650' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.4rem; color: var(--ink-soft); }
.faq-answer > :last-child { margin-bottom: 0; }
.faq-answer ul { margin: 0 0 1em; padding-left: 1.2rem; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.faq-aside .btn { margin-top: .5rem; }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}

/* ---------- Legal pages ---------- */
.prose { max-width: 800px; }
.prose h2 { margin: 2.75rem 0 .9rem; font-size: clamp(1.45rem, 1.25rem + .8vw, 1.9rem); }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin: 1.75rem 0 .5rem; font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; letter-spacing: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { margin: 0 0 1em; padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose dl { display: grid; grid-template-columns: minmax(160px, 230px) 1fr; gap: .65rem 1.5rem; margin: 0 0 1.5rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.prose dt { font-weight: 700; color: var(--ink); }
.prose dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) {
  .prose dl { grid-template-columns: 1fr; gap: .1rem; }
  .prose dd { margin-bottom: .75rem; }
}

.notice { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2.5rem; padding: 1.1rem 1.35rem; background: #FBF3E2; border: 1px solid #EFDDB5; border-radius: var(--radius); font-size: .95rem; color: #6E5220; }
.notice .icon { width: 22px; height: 22px; margin-top: .15rem; color: #B58A36; }
.notice p { margin: 0; color: inherit; }

/* ---------- Reveal on scroll (subtil) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.js-reveal .service-card.reveal.is-visible { transition: opacity .7s ease, transform .3s, box-shadow .3s; }
.js-reveal .service-card.reveal.is-visible:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Cookie banner (see cookie-consent.js) ---------- */
/* Not a wall: a card at the bottom, the page stays usable. The three choices look the same. */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  display: grid; gap: 1rem;
  width: min(100% - 2rem, 760px); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem);
  margin-inline: auto; padding: clamp(1.25rem, 3vw, 1.75rem);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px -18px rgba(30, 43, 38, .35);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-title { margin: 0 0 .4rem; font-size: 1.35rem; }
.cookie-banner-text p { margin: 0 0 .5rem; font-size: .93rem; line-height: 1.6; color: var(--ink-soft); }
.cookie-banner-text p:last-child { margin-bottom: 0; }
.cookie-banner-text a { color: var(--green-dark); font-weight: 600; }
.cookie-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.cookie-actions .btn { width: 100%; }
.cookie-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.cookie-link { padding: 0; background: none; border: 0; font: inherit; font-size: .9rem; font-weight: 700; color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-link:hover { color: var(--green); }

.cookie-settings { display: grid; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cookie-settings[hidden] { display: none; }
.cookie-settings-title { margin: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.cookie-category { padding: .9rem 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cookie-category-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-category-name { font-weight: 700; color: var(--ink); }
.cookie-category-text, .cookie-none { margin: .35rem 0 0; font-size: .87rem; line-height: 1.55; color: var(--ink-soft); }
.cookie-none { font-style: italic; color: var(--muted); }
.cookie-always { font-size: .78rem; font-weight: 700; color: var(--green-dark); }
.cookie-services { margin-top: .5rem; font-size: .85rem; }
.cookie-services summary { font-weight: 700; color: var(--green-dark); cursor: pointer; }
.cookie-services ul { display: grid; gap: .6rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.cookie-services li { padding: .6rem .75rem; background: var(--surface); border-radius: 8px; }
.cookie-services dl { display: grid; grid-template-columns: auto 1fr; gap: .15rem .75rem; margin: .35rem 0 0; }
.cookie-services dt { color: var(--muted); }
.cookie-services dd { margin: 0; color: var(--ink-soft); }
.cookie-services code { font-size: .8rem; }

.cookie-switch { position: relative; display: inline-flex; flex-shrink: 0; cursor: pointer; }
.cookie-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cookie-switch-track { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #CDC2B0; transition: background-color .2s; }
.cookie-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.cookie-switch input:checked + .cookie-switch-track { background: var(--green); }
.cookie-switch input:checked + .cookie-switch-track::after { transform: translateX(18px); }
.cookie-switch input:focus-visible + .cookie-switch-track { outline: 3px solid var(--blue); outline-offset: 2px; }

@media (max-width: 560px) {
  .cookie-banner { left: .5rem; right: .5rem; bottom: .5rem; width: auto; }
  .cookie-actions { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .cta-band, .site-footer .btn, .cookie-banner { display: none; }
  body { background: #fff; }
}
