/* ==========================================================================
   Hund & Tricks: one stylesheet for the whole site (stage 3 corrected design, stage 4 font + layout fixes,
   stage 6 the new front-page section "Professionel hjælp til alle livets faser")

   Contents
   1.  Tokens: colour, type scale, spacing, layout
   2.  Base
   3.  Building blocks: text, headings, buttons, icon lists, dividers, social icons,
       entrance animation
   4.  Header + navigation (shared partial)
   5.  Footer (shared partial): Facebook band, columns, bottom bar
   6.  Floating contact button (shared partial)
   7.  Page heroes (front page + inner pages)
   8.  Feature: text + photo (every page), and the long-text article
   9.  FAQ toggles and the fold-out list (Om mig)
   10. Price cards
   11. Front page sections
   12. Kontakt, Sitemap, Privatlivspolitik

   Breakpoints: tablet <= 1024px, phone <= 767px (the live site's breakpoints).
   Font: Figtree (SIL Open Font License, self-hosted in /assets/fonts/figtree/), see NOTES.md.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */

/* Figtree, one variable file per style (Latin + Latin Extended: æ ø å). Only 400 and 500 are used. */
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree/Figtree-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree/Figtree-Italic-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Colour: the logo green, the site's gold, charcoal text, one green-grey neutral family */
  --green: #195018;          /* brand green (logo): titles, icons, links, card headers */
  --green-hover: #1f6420;    /* a step lighter, for hover on green surfaces */
  --gold: #aaa278;           /* brand gold: buttons, menu dividers, accents */
  --ink: #202020;            /* logo charcoal: sub-headings, button text */
  --text: #353535;           /* running text */
  --text-soft: #565d55;      /* secondary text (6.6:1 on white) */
  --surface: #f4f5f1;        /* light green-grey: header, FAQ band, price cards */
  --line: #dde1d8;           /* borders and dividers */
  --white: #fff;
  --shade: rgb(14 26 14 / .45);   /* photo overlay, tinted with the brand green */
  --shade-strong: rgb(14 26 14 / .58);   /* behind text that covers the whole photo (page tops, phones) */

  /* Type */
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.0625rem;      /* 17px */
  --fs-small: .9375rem;      /* 15px */
  --fs-xs: .875rem;          /* 14px */
  --fs-lead: 1.25rem;        /* 20px: hero intro */
  --fs-h1: 3.5rem;           /* 56px */
  --fs-h2: 2.375rem;         /* 38px */
  --fs-h3: 1.5rem;           /* 24px */
  --fs-h4: 1.25rem;          /* 20px */
  --lh-body: 1.6;
  --lh-heading: 1.2;
  --fw-body: 400;            /* Figtree Regular */
  --fw-heading: 500;         /* Figtree Medium: headings, buttons, menu */
  --fw-strong: 500;          /* bold text inside running text: also Medium (nothing above 500) */

  /* Spacing (8px scale) */
  --space-1: .25rem;  /*  4 */
  --space-2: .5rem;   /*  8 */
  --space-3: .75rem;  /* 12 */
  --space-4: 1rem;    /* 16 */
  --space-5: 1.5rem;  /* 24 */
  --space-6: 2rem;    /* 32 */
  --space-7: 3rem;    /* 48 */
  --space-8: 4rem;    /* 64 */
  --space-9: 6rem;    /* 96 */
  --section: var(--space-9);   /* space between page sections */
  --stack: 1.25rem;            /* space between blocks inside a column */

  /* Layout */
  --container: 75rem;          /* 1200px */
  --gutter: 2rem;              /* page side padding */
  --measure: 31em;             /* comfortable line length: about 70 characters of Figtree */
  --radius: 8px;               /* one corner radius for everything */
  --header-h: 88px;
  --photo-max: 36rem;          /* tallest a content photo may get from its own shape */
  --photo-fill-max: 175cqi;    /* tallest a photo may be stretched beside a long text (1.75 x its width) */
  --shadow: 0 10px 30px -12px rgb(25 80 24 / .28);
}

@media (max-width: 1024px) {
  :root {
    --fs-h1: 2.75rem;  /* 44 */
    --fs-h2: 2rem;     /* 32 */
    --fs-h3: 1.375rem; /* 22 */
    --section: 4.5rem; /* 72 */
    --gutter: 1.5rem;
    --header-h: 72px;
    --photo-max: 32rem;
  }
}

@media (max-width: 767px) {
  :root {
    --fs-body: 1rem;
    --fs-lead: 1.0625rem;
    --fs-h1: 2.125rem; /* 34 */
    --fs-h2: 1.75rem;  /* 28 */
    --fs-h3: 1.25rem;  /* 20 */
    --fs-h4: 1.125rem;
    --section: 3.5rem; /* 56 */
    --gutter: 1.25rem;
    --photo-max: 30rem;
  }
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-weight: var(--fw-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-wrap: break-word;         /* long Danish compounds never push out of a narrow column */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  font-weight: var(--fw-heading);
  line-height: var(--lh-heading);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: var(--fs-h2); letter-spacing: -.015em; line-height: 1.15; }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; line-height: 1.25; }
h4 { font-size: var(--fs-h4); line-height: 1.3; }
h5, h6 { font-size: 1.0625rem; font-weight: var(--fw-strong); }

p { margin: 0 0 1em; text-wrap: pretty; }   /* avoids single words alone on the last line */
p:last-child { margin-bottom: 0; }
strong, b { font-weight: var(--fw-strong); }

a { color: var(--green); }

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }

ul { margin: 0; padding: 0; list-style: none; }
ol, dl, dd { margin-block: 0; }
figure, blockquote { margin: 0; }

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

iframe { border: 0; }

/* Nothing may widen the page sideways (entrance animation, wide photos). */
main { display: block; overflow-x: clip; }

[hidden] { display: none !important; }   /* blocks that are switched off on the live site too */

[id] { scroll-margin-top: calc(var(--header-h) + var(--space-5)); }   /* anchor targets clear the sticky header */

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

.nowrap { white-space: nowrap; }   /* keeps a word and the icon after it together */

.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1000;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: var(--fw-strong);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Focus ring: green on light backgrounds, white on dark ones (set --focus on the section). */
:focus-visible { outline: 3px solid var(--focus, var(--green)); outline-offset: 2px; }

/* SVG icons (Font Awesome 5 paths copied from the live site): 1.25em x 1em box. */
.icon {
  display: inline-block;
  width: 1.25em;
  height: 1em;
  fill: currentColor;
  overflow: visible;
}

/* 3. Building blocks ------------------------------------------------------- */

/* Width of every section's content */
.feature,
.prices,
.contact,
.sitemap,
.offers__inner,
.faq__inner,
.reviews__inner,
.fb-band__inner,
.footer-main__inner,
.footer-bottom__inner,
.freedom__grid,
.help-split {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* A column of blocks with even spacing */
.stack { display: flex; flex-direction: column; gap: var(--stack); }
.stack > * { margin-block: 0; }

/* Running text */
.text { color: var(--text); max-width: var(--measure); }
.text :is(ul, ol) { margin: 0 0 1em; padding-left: 1.25em; list-style: disc; }
.text li + li { margin-top: .35em; }
.text li::marker { color: var(--green); }
.text :is(h2, h3, h4) {               /* sub-headings inside a text block */
  margin: 1.6em 0 .5em;
  color: var(--ink);
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -.01em;
}
.text h5 { margin: 1.4em 0 .4em; color: var(--ink); }
.text > :first-child { margin-top: 0; }
.text a,
.help-split__lead a,
.help-split__why a,
.icon-list a .icon-list__text {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgb(25 80 24 / .45);
  text-underline-offset: .2em;
  transition: text-decoration-color .2s;
}
.text a:hover,
.help-split__lead a:hover,
.help-split__why a:hover,
.icon-list a:hover .icon-list__text { text-decoration-color: currentColor; }

/* Section title (green h2) and the small label above it */
.section-title,
.offers__title,
.reviews__title,
.sitemap__title,
.contact__title,
.legal__title {
  color: var(--green);
  font-size: var(--fs-h2);
  font-weight: var(--fw-heading);
  line-height: 1.15;
  letter-spacing: -.015em;
}
.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: var(--fs-small);
  font-weight: var(--fw-heading);
  letter-spacing: .03em;
}

/* Button: one style for the whole site */
.btn,
.price-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 3rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  background-color: var(--gold);
  color: var(--ink);
  font-size: 1rem;
  font-weight: var(--fw-heading);
  line-height: 1.25;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;                /* if a long label must wrap on a very small phone, two even lines */
  transition: background-color .2s, color .2s, transform .1s;
}
.btn:hover,
.price-card__button:hover { background-color: var(--green); color: var(--white); }
.btn:active,
.price-card__button:active { transform: translateY(1px); }
.btn__icon { display: flex; }
.btn__icon .icon { width: auto; height: 1em; }

.btn-wrap { display: flex; flex-wrap: wrap; gap: var(--space-3); padding-top: var(--space-2); }

/* Icon list: green icon, normal text; linked rows are green and underlined */
.icon-list { display: grid; gap: var(--space-3); color: var(--text); }
.icon-list > li,
.icon-list > li > a { display: flex; align-items: flex-start; gap: var(--space-3); }
.icon-list > li > a { color: inherit; text-decoration: none; }
.icon-list__icon {
  display: flex;
  flex: 0 0 1.5rem;
  align-items: center;
  justify-content: center;
  height: calc(1em * var(--lh-body));     /* as tall as one line of text, so the icon sits on line 1 */
  color: var(--green);
  font-size: 1rem;
}
.icon-list__icon .icon { width: 1.25em; height: 1.125em; }
.icon-list__text { flex: 1; min-width: 0; text-wrap: pretty; }

/* Short accent line under a title */
.divider { display: block; width: 4rem; height: 3px; border-radius: 2px; background-color: var(--gold); }
.divider--offers { margin-inline: auto; }

/* Round social icon */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--green);
  color: var(--white);
  font-size: 1.25rem;
  transition: background-color .2s, transform .2s;
}
.social-icon .icon { width: 1em; }
.social-icon:hover { background-color: var(--green-hover); transform: translateY(-2px); }

.hover-float { display: inline-block; transition: transform .3s ease-out; }
.hover-float:hover { transform: translateY(-6px); }

/* Entrance animation: a short fade up, only with JS and only if the visitor allows motion */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(1rem); }
  to   { opacity: 1; transform: none; }
}
.js [data-animate] { opacity: 0; }
.js [data-animate].is-visible { animation: fade-up .6s cubic-bezier(.2, .7, .2, 1) both; }
.hero__inner > [data-animate]:nth-child(2) { animation-delay: .1s; }
.hero__inner > [data-animate]:nth-child(4) { animation-delay: .25s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-animate] { opacity: 1; }
  .js [data-animate].is-visible { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* 4. Header + navigation --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--surface);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgb(25 80 24 / .35);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  width: min(100% - 2 * var(--gutter), var(--container));
  min-height: var(--header-h);
  margin-inline: auto;
}
.site-header__logo { flex-shrink: 0; }
.site-header__logo a { display: block; }
.site-header__logo img { display: block; width: 176px; }
.site-header__nav { margin-left: auto; }

/* Burger button (tablet + phone) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background-color: var(--green);
  color: var(--white);
  font-size: 1.5rem;
}
.nav-toggle:hover { background-color: var(--green-hover); }
.nav-toggle .icon { width: 1em; }
.nav-toggle__open { display: flex; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: flex; }

/* Desktop menu */
.site-nav__list { display: flex; align-items: center; }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__item:not(:last-child)::after {      /* gold divider between items */
  content: "";
  height: 1em;
  border-left: 2px solid var(--gold);
}
.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 var(--space-4);
  color: var(--ink);
  font-size: 1rem;
  font-weight: var(--fw-heading);
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.site-nav__link::after {                        /* underline: gold, grows from the left */
  content: "";
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  bottom: .375rem;
  height: 2px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav__link:hover,
.site-nav__toggle[aria-expanded="true"] { color: var(--green); }
.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after,
.is-current-parent > .site-nav__toggle::after,
.site-nav__toggle[aria-expanded="true"]::after { transform: scaleX(1); }
.site-nav__item:last-child > .site-nav__link { padding-right: 0; }
.site-nav__item:last-child > .site-nav__link::after { right: 0; }

.site-nav__arrow { display: flex; margin-left: var(--space-2); }
.site-nav__arrow .icon { width: .7em; height: .7em; transition: transform .2s; }
.site-nav__toggle[aria-expanded="true"] .site-nav__arrow .icon { transform: rotate(180deg); }

/* Desktop dropdown */
.site-nav__sub {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  z-index: 10;
  display: none;
  min-width: 14rem;
  padding: var(--space-2) 0;
  border-radius: var(--radius);
  background-color: var(--white);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}
.site-nav__sub::before {   /* invisible bridge so the menu stays open while the mouse moves down */
  content: "";
  position: absolute;
  inset: calc(var(--space-2) * -1) 0 auto;
  height: var(--space-2);
}
.site-nav__item--parent:hover > .site-nav__sub,
.site-nav__item--parent:focus-within > .site-nav__sub,
.site-nav__toggle[aria-expanded="true"] + .site-nav__sub { display: block; }
.site-nav__item--parent.is-dismissed:not(:hover) > .site-nav__sub { display: none; }

.site-nav__sublink {
  display: block;
  padding: var(--space-3) var(--space-5);
  border-left: 3px solid transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: var(--fw-heading);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.site-nav__sublink:hover { background-color: var(--surface); color: var(--green); }
.site-nav__sublink[aria-current="page"] { border-left-color: var(--gold); color: var(--green); }

.site-header__social { display: flex; }

@media (max-width: 1024px) {
  .site-header__inner { gap: var(--space-4); }
  .site-header__logo img { width: 150px; }
  .site-header__nav { order: 2; margin-left: 0; }
  .site-header__social { order: 1; margin-left: auto; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background-color: var(--white);
    box-shadow: var(--shadow);
    visibility: hidden;             /* closed menu: not reachable with Tab */
    opacity: 0;
    transform: translateY(-.5rem);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .2s, transform .2s, visibility 0s;
  }

  .site-nav__list { display: block; padding: var(--space-2) 0; }
  .site-nav__item { display: block; }
  .site-nav__item:not(:last-child)::after { content: none; }

  .site-nav__link,
  .site-nav__sublink {
    width: 100%;
    min-height: 3rem;
    padding: var(--space-3) var(--gutter);
    border-left: 3px solid transparent;
    font-size: 1.0625rem;
    white-space: normal;
  }
  .site-nav__item:last-child > .site-nav__link { padding-right: var(--gutter); }
  .site-nav__link::after { content: none; }
  .site-nav__link:hover,
  .site-nav__sublink:hover { background-color: var(--surface); color: var(--green); }
  .site-nav__link[aria-current="page"],
  .is-current-parent > .site-nav__toggle,
  .site-nav__sublink[aria-current="page"] { border-left-color: var(--gold); color: var(--green); }
  .site-nav__toggle { justify-content: space-between; }

  .site-nav__sub {
    position: static;
    display: none;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background-color: var(--surface);
  }
  .site-nav__sub::before { content: none; }
  .site-nav__item--parent:hover > .site-nav__sub,
  .site-nav__item--parent:focus-within > .site-nav__sub { display: none; }
  .site-nav__toggle[aria-expanded="true"] + .site-nav__sub { display: block; }
  .site-nav__sublink { padding-left: calc(var(--gutter) + var(--space-4)); }
}

@media (max-width: 767px) {
  .site-header__logo img { width: 132px; }
}

/* 5. Footer ---------------------------------------------------------------- */

/* Facebook band */
.fb-band {
  --focus: var(--white);
  position: relative;
  padding-block: var(--space-8);
  background: url("/assets/img/2022/11/2IMG_3317-2-scaled-1-1920w.webp") center / cover no-repeat;
}
.fb-band::before { content: ""; position: absolute; inset: 0; background-color: var(--shade); }
.fb-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-7);
}
.fb-band__heading { margin: 0; }
.fb-band__title {
  color: var(--white);
  font-size: var(--fs-h2);
  font-weight: var(--fw-heading);
  line-height: var(--lh-heading);
  letter-spacing: -.01em;
}
.fb-band__media { padding-right: var(--space-8); }
.fb-band__media img { display: block; width: auto; height: 22rem; }

/* Footer columns */
.footer-main { padding-block: var(--space-8) var(--space-7); }
.footer-main__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-7);
}
.footer-main__about,
.footer-main__contact,
.footer-main__links { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.footer-main__about > *,
.footer-main__contact > *,
.footer-main__links > * { margin: 0; }
.footer-main__about .text { font-size: var(--fs-small); }
.footer-main__logo img { display: block; width: 220px; }

.footer-title span { color: var(--ink); font-size: var(--fs-h4); font-weight: var(--fw-heading); line-height: 1.3; }

.icon-list--contact { gap: var(--space-1); }
.icon-list--contact > li > a,
.icon-list--contact > li { align-items: center; min-height: 2.75rem; }
.icon-list--contact .icon-list__icon { height: auto; }
.icon-list--contact a { transition: color .2s; }
.icon-list--contact a:hover { color: var(--green); }

.social-icons { display: flex; gap: var(--space-3); padding-top: var(--space-2); }

.footer-links li a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text);
  text-decoration: none;
  transition: color .2s;
}
.footer-links li a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }

/* Bottom bar */
.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2) var(--space-6);
  padding-block: var(--space-5);
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: var(--fs-xs);
}
.footer-bottom p { margin: 0; }
.footer-bottom__copy,
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 2.75rem; color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 1024px) {
  .footer-main__inner { grid-template-columns: 1fr 1fr; }
  .footer-main__about { grid-column: 1 / -1; }
  .fb-band__media { padding-right: 0; }
}

@media (max-width: 767px) {
  .fb-band { padding-block: var(--space-7) 0; background-image: url("/assets/img/2022/11/2IMG_3317-2-scaled-1-768w.webp"); }
  .fb-band__inner { grid-template-columns: 1fr; gap: var(--space-5); text-align: center; }
  .fb-band__media img { height: 18rem; margin-inline: auto; }
  .footer-main { padding-block: var(--space-7) var(--space-5); }
  .footer-main__inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-main__logo img { width: 190px; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; gap: 0; }
}

/* 6. Floating contact button ---------------------------------------------- */
.contact-widget {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.contact-widget__trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  margin-top: var(--space-3);
  border-radius: 50%;
  background-color: var(--green);
  color: var(--white);
  box-shadow: var(--shadow);
  transition: transform .2s ease-in-out;
}
.contact-widget__trigger::before,
.contact-widget__trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 8px solid rgb(25 80 24 / .4);
  border-radius: 50%;
  opacity: 0;
  animation: contact-ripple 3s cubic-bezier(.65, 0, .34, 1) infinite;
}
.contact-widget__trigger::before { animation-delay: .5s; }
.contact-widget.no-ripple .contact-widget__trigger::before,
.contact-widget.no-ripple .contact-widget__trigger::after { content: none; }
@keyframes contact-ripple {
  from { opacity: 1; transform: scale(.75); }
  to   { opacity: 0; transform: scale(1.5); }
}

.contact-widget__icons > span {
  position: absolute;
  top: 50%;
  left: 50%;
  line-height: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(.3);
  transition: all .2s ease-in-out;
}
.contact-widget__icons > span.is-active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.contact-widget__trigger .icon { width: 1.75rem; height: 1.75rem; }
.contact-widget__x { display: none; line-height: 0; }
.contact-widget.is-open .contact-widget__trigger { transform: scale(.92); }
.contact-widget.is-open .contact-widget__icons { display: none; }
.contact-widget.is-open .contact-widget__x { display: block; }
.contact-widget__x .icon { width: 1.25rem; }

.contact-widget__popup {
  position: relative;
  width: 20rem;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--white);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}
.contact-widget__popup[hidden] { display: none; }
.contact-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background-color: var(--green);
  color: var(--white);
}
.contact-widget__title { margin: 0; font-size: 1rem; font-weight: var(--fw-strong); }
.contact-widget__close { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin: -.75rem -.75rem -.75rem 0; color: inherit; }
.contact-widget__close .icon { width: 1rem; height: 1rem; }
.contact-widget__list { padding: var(--space-2) var(--space-3); }
.contact-widget__list li + li { border-top: 1px solid var(--line); }
.contact-widget__list a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 3.25rem;
  padding: var(--space-2);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: background-color .2s;
}
.contact-widget__list a:hover { background-color: var(--surface); }
.contact-widget__icon { display: flex; justify-content: center; width: 2rem; color: var(--green); }
.contact-widget__icon .icon { width: 1.5rem; height: 1.5rem; }
.contact-widget__name { font-size: var(--fs-small); font-weight: var(--fw-strong); }

@media (max-width: 426px) {
  .contact-widget__popup { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1; width: auto; border-radius: var(--radius) var(--radius) 0 0; }
  .contact-widget__header { padding-block: var(--space-5); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-widget__trigger::before,
  .contact-widget__trigger::after { animation: none; }
}

/* 7. Page heroes ------------------------------------------------------------ */

/* Front page: big photo, text on the left */
.hero {
  --focus: var(--white);
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(34rem, calc(100svh - var(--header-h)), 50rem);
  padding-block: var(--space-9);
  background: url("/assets/img/2025/10/Billede-nr.-3-1620w.webp") 50% 30% / cover no-repeat;
  color: var(--white);
}
.hero::before {    /* dark only on the left, behind the text; the right half of the photo stays bright */
  --text-end: calc(max(var(--gutter), (100% - var(--container)) / 2) + 38rem);
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgb(14 26 14 / .8) 0,
    rgb(14 26 14 / .72) calc(var(--text-end) - 12rem),
    rgb(14 26 14 / .6) var(--text-end),
    rgb(14 26 14 / .12) calc(var(--text-end) + 22rem),
    rgb(14 26 14 / .08) 100%);
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.hero__inner > * { margin: 0; }
.hero__eyebrow { color: var(--white); font-size: 1rem; font-weight: var(--fw-strong); letter-spacing: .02em; }
.hero__title { max-width: 24ch; color: var(--white); font-size: calc(var(--fs-h1) * .875); text-shadow: 0 1px 16px rgb(0 0 0 / .25); }
.hero__lead { max-width: 36rem; color: var(--white); font-size: var(--fs-lead); font-weight: 400; line-height: 1.5; }
.hero__action { padding-top: var(--space-2); }

/* Inner pages: photo with an even dark overlay, centred title */
.page-hero {
  --focus: var(--white);
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(24rem, 62vh, 34rem);
  padding: var(--space-9) var(--gutter);
  background: url("/assets/img/2022/11/2IMG_3317-2-scaled-1-1920w.webp") center 35% / cover no-repeat;
  color: var(--white);
  text-align: center;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background-color: var(--shade-strong); }
.page-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  width: min(100%, 52rem);
  margin-inline: auto;
}
.page-hero__inner > * { margin: 0; }
.page-hero__title { color: var(--white); text-shadow: 0 1px 16px rgb(0 0 0 / .25); }
.page-hero__lead { max-width: 40rem; color: var(--white); font-size: var(--fs-lead); line-height: 1.5; }
.page-hero .btn-wrap { justify-content: center; }

.page-hero--retriever { background-image: url("/assets/img/2025/03/IMG_3348-scaled-e1662261501953-1-1920w.webp"); background-position: center 60%; }
.page-hero--puppy { background-image: url("/assets/img/2025/03/garrett-karoski-czHm-pEraKM-unsplash-scaled-1-1440w.webp"); background-position: center 40%; }

@media (max-width: 1024px) {
  .hero { background-image: url("/assets/img/2025/10/Billede-nr.-3-1024w.webp"); background-position: 60% center; }
  .page-hero { background-image: url("/assets/img/2022/11/2IMG_3317-2-scaled-1-1280w.webp"); }
  .page-hero--retriever { background-image: url("/assets/img/2025/03/IMG_3348-scaled-e1662261501953-1-1024w.webp"); }
}

@media (max-width: 767px) {
  .hero { min-height: 0; padding-block: var(--space-8); background-position: 62% center; }
  .hero::before { background: var(--shade-strong); }
  .hero__lead { font-size: var(--fs-lead); }
  .page-hero { min-height: 22rem; padding-block: var(--space-8); background-image: url("/assets/img/2025/03/IMG_3346-683x1024-1-683w.webp"); background-position: center 30%; }
  .page-hero--keep-photo { background-image: url("/assets/img/2022/11/2IMG_3317-2-scaled-1-768w.webp"); background-position: 65% center; }
  .page-hero--puppy { background-image: url("/assets/img/2025/03/IMG_3346-683x1024-1-683w.webp"); }
  .page-hero--retriever { background-image: url("/assets/img/2025/03/IMG_3348-scaled-e1662261501953-1-1024w.webp"); background-position: 30% center; }
}

/* 8. Feature: text + photo, and the long-text article ----------------------
   .feature: the same two-column block on every page. Photo on the right by default,
   on the left with .feature--photo-left (photo first in the HTML).
   Desktop: the photo is as tall as the text beside it (cropped to fit), so neither column ends early.
   It is never stretched taller than --photo-fill-max; past that it stays centred.
   A photo's focus point can be set on the <img> with style="--focus: 40% 50%" (default: the centre).
   Tablet and phone: one centred column, text first, then the photo.

   .article: long texts (Hvalpetræning, Hundetræning, Adfærdshjælp, Om mig, Praktisk info and the first
   block on Adfærdstræning af hund). One reading column; the photo (.article__figure) sits in the text
   after the introduction, so there is no side column that could end early. */
.feature {
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) minmax(0, 1fr);   /* text at reading width, photo gets the rest */
  align-items: center;
  gap: var(--space-8);
  margin-block: var(--section);
}
.feature--photo-left { grid-template-columns: minmax(0, 1fr) minmax(0, var(--measure)); }
.feature__text { min-width: 0; }
.feature__body { max-width: var(--measure); }
.feature__media {
  align-self: stretch;             /* as tall as the text column */
  min-width: 0;
  container-type: inline-size;     /* --photo-fill-max is measured against this column */
}
.feature__figure { display: flex; align-items: center; height: 100%; margin: 0; }
.feature__figure img {
  display: block;
  width: 100%;
  min-height: min(100%, var(--photo-fill-max));
  max-height: var(--photo-max);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}
.feature--narrow { grid-template-columns: minmax(0, var(--measure)) minmax(0, 26rem); justify-content: center; }   /* portrait photo or drawing */
.feature--narrow.feature--photo-left { grid-template-columns: minmax(0, 26rem) minmax(0, var(--measure)); }
.feature__figure--drawing { justify-content: center; }
.feature__figure--drawing img { min-height: 0; max-height: none; border-radius: 0; object-fit: contain; }

.article {
  width: min(100% - 2 * var(--gutter), var(--measure));
  margin: var(--section) auto;
}
.article__figure { margin: var(--space-4) calc(50% - min(50vw - var(--gutter), 23rem)); }   /* a little wider than the text */
.article__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

@media (max-width: 1024px) {
  .feature,
  .feature--photo-left,
  .feature--narrow,
  .feature--narrow.feature--photo-left { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--space-6); }
  .feature__text,
  .feature__media { width: min(100%, var(--measure)); }
  .feature__media { order: 1; align-self: auto; container-type: normal; }   /* text first, then the photo */
  .feature__figure { height: auto; }
  .feature__figure img { min-height: 0; }
  .feature__figure--drawing img { width: min(100%, 16rem); }
}

@media (max-width: 767px) {
  .feature__media:has(.feature__figure--drawing) { display: none; }   /* the line drawing is decoration */
}

/* 9. FAQ toggles + fold-out list ------------------------------------------ */
.faq {
  margin-block: var(--section);
  padding-block: var(--section);
  background-color: var(--surface);
}
.faq__inner { display: flex; flex-direction: column; gap: var(--space-5); max-width: 50rem; }
.faq__inner > * { margin: 0; }

.toggle { border-top: 1px solid var(--line); }
.toggle__item { border-bottom: 1px solid var(--line); }
.toggle__heading { margin: 0; font-size: inherit; }
.toggle__button {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-4) 0;
  color: var(--ink);
  text-align: start;
  transition: color .2s;
}
.toggle__button:hover { color: var(--green); }
.toggle__icon {
  display: flex;
  flex: 0 0 1.25rem;
  align-items: center;
  justify-content: center;
  height: 1.6em;
  color: var(--green);
}
.toggle__icon-open { display: none; }
.toggle__icon-closed { display: flex; transition: transform .2s; }
.toggle__icon .icon { width: auto; height: 1em; }
.toggle__heading.is-open .toggle__icon-closed { transform: rotate(90deg); }
.toggle__title { font-size: 1.125rem; font-weight: var(--fw-heading); line-height: 1.6; }
.toggle__panel { padding: 0 0 var(--space-5) calc(1.25rem + var(--space-3)); color: var(--text); overflow: hidden; }
.js .toggle__panel:not(.is-open) { display: none; }

/* Fold-out list (Om mig): native <details>, same look as the FAQ */
.accordion { border-block: 1px solid var(--line); }
.accordion__title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 3rem;
  padding: var(--space-3) 0;
  color: var(--ink);
  font-weight: var(--fw-heading);
  list-style: none;
  cursor: pointer;
  transition: color .2s;
}
.accordion__title:hover { color: var(--green); }
.accordion__title::-webkit-details-marker { display: none; }
.accordion__icon { display: flex; flex: 0 0 1.25rem; justify-content: center; color: var(--green); }
.accordion__icon > span { display: flex; }
.accordion__icon .icon { width: auto; height: .875rem; }
.accordion__icon > .accordion__icon-open,
.accordion__item[open] .accordion__icon > .accordion__icon-closed { display: none; }
.accordion__item[open] .accordion__icon > .accordion__icon-open { display: flex; }
.accordion__content { padding: 0 0 var(--space-5) calc(1.25rem + var(--space-3)); overflow: hidden; }

/* 10. Price cards ------------------------------------------------------------
   Cards share one grid, so titles, prices, lists and buttons line up across cards. */
.prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 23.5rem));
  justify-content: center;
  gap: var(--space-6);
  margin-block: var(--section);
}
.prices__col { display: contents; }
.price-card {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--surface);
  text-align: center;
}
.price-card__header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-5);
  background-color: var(--green);
  color: var(--white);
}
.price-card__title { margin: 0; color: var(--white); font-size: 1.375rem; line-height: 1.25; }
.price-card__subtitle { font-size: var(--fs-small); line-height: 1.4; opacity: .9; }
.price-card__price {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: .25em;
  margin: 0;
  padding: var(--space-6) var(--space-5) var(--space-5);
  color: var(--ink);
  font-size: 3rem;
  font-weight: var(--fw-heading);
  line-height: 1;
  letter-spacing: -.02em;
}
.price-card__currency { padding-top: .35em; font-size: .3em; font-weight: var(--fw-strong); letter-spacing: .04em; }
.price-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0 var(--space-5);
  padding: var(--space-5) 0 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  line-height: 1.5;
  text-align: start;
}
.price-card__feature { display: flex; align-items: flex-start; gap: var(--space-3); }
.price-card__feature .icon { flex-shrink: 0; width: 1.125em; height: 1.5em; color: var(--green); }
.price-card__footer { display: flex; align-items: flex-end; justify-content: center; padding: var(--space-6) var(--space-4); }
.price-card__button { width: 100%; padding-inline: var(--space-3); }   /* full width, so long labels stay on one line */

/* 11. Front page sections ---------------------------------------------------- */

/* "Professionel hjælp til alle livets faser" (stage 6): the title, one wide photo, then two columns that line
   up (the intro + the four behaviour points | "Forebyggelse" + its five points, thin lines between the points,
   the words before the colon as a Medium run-in label), then "Hvorfor vælge" on a light panel with the
   closing line set large beside the button.
   Desktop: both lists start and end on the same line; the list with four points shares the extra height
   evenly between its rows. Tablet and phone: one centred reading column, like the other front-page blocks. */
.help-split { margin-block: var(--section); }
.help-split__head { display: flex; flex-direction: column; gap: var(--space-3); }
.help-split__head > * { margin: 0; }
.help-split__photo { margin-top: var(--space-6); }
.help-split__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 50% 70%;
}

.help-split__cols {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "lead  fore"
    "list1 list2";
  gap: var(--space-6) var(--space-9);
  margin-top: var(--space-8);
}
.help-split__cols::before {          /* thin rule between the two columns */
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  border-left: 1px solid var(--line);
}
.help-split__lead { grid-area: lead; margin: 0; color: var(--ink); font-size: var(--fs-lead); line-height: 1.55; }
.help-split__fore { grid-area: fore; }
.help-split__list--problems { grid-area: list1; grid-auto-rows: 1fr; }   /* 4 equal rows, as tall as the 5 beside them */
.help-split__list--phases { grid-area: list2; }
.help-split__title { margin: 0 0 var(--space-3); }
.help-split__fore p,
.help-split__why p { margin: 0; color: var(--text); }
.help-split__why p + p { margin-top: 1em; }

/* Point lists: one row per point (icon in a light circle + text) */
.help-split__list { display: grid; border-top: 1px solid var(--line); }
.help-split__item { border-bottom: 1px solid var(--line); }
.help-split__item,
.help-split__link {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-content: center;             /* a row with extra height keeps its point in the middle */
  align-items: start;                /* the icon sits on the first line of text */
  column-gap: var(--space-4);
  padding-block: var(--space-4);
}
.help-split__item--link {           /* the link fills the whole row */
  grid-template-columns: minmax(0, 1fr);
  align-content: stretch;
  align-items: stretch;
  padding-block: 0;
}
.help-split__link { border-radius: var(--radius); color: inherit; text-decoration: none; }
.help-split__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--surface);
  color: var(--green);
}
.help-split__icon .icon { width: 1.25em; height: 1.125em; }
.help-split__text { min-width: 0; padding-top: .4rem; text-wrap: pretty; }
.help-split__label { color: var(--ink); font-weight: var(--fw-strong); }

/* "Utryghed" (a link to Hund med stress) looks like the other points, plus the site's arrow after the text;
   underlined only on hover and keyboard focus (the focus ring comes from the base style) */
.help-split__arrow { width: 1em; height: .875em; margin-left: .4em; color: var(--green); vertical-align: -.05em; transition: transform .2s; }
.help-split__link:is(:hover, :focus-visible) .help-split__text {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.help-split__link:is(:hover, :focus-visible) .help-split__arrow { transform: translateX(.2em); }

/* Closing panel: "Hvorfor vælge" | the closing line, large and centred, with the button under it.
   A thin rule between the halves continues the rule between the columns above. */
.help-split__close {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: var(--space-6) var(--space-9);
  margin-top: var(--space-8);
  padding: var(--space-8);
  border-radius: var(--radius);
  background-color: var(--surface);
}
.help-split__close::before {
  content: "";
  position: absolute;
  inset: var(--space-8) auto var(--space-8) 50%;
  border-left: 1px solid var(--line);
}
.help-split__promise { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); text-align: center; }
.help-split__promise > * { margin: 0; }
.help-split__promise .btn-wrap { padding-top: 0; }
.help-split__quote { color: var(--green); font-size: 2rem; line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }

/* "Jeg tilbyder": four photo cards */
.offers { margin-block: var(--section); }
.offers__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.offers__title { margin: 0; text-align: center; }
.offers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
  margin-top: var(--space-5);
}
.offer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--green);
  color: var(--white);
  text-decoration: none;
  transition: box-shadow .3s;
}
.offer-card:hover { box-shadow: var(--shadow); }
.offer-card__media { display: block; aspect-ratio: 1; overflow: hidden; }
.offer-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.offer-card:hover .offer-card__img { transform: scale(1.05); }
.offer-card__label {
  display: flex;
  flex: 1;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  transition: background-color .3s, color .3s;
}
.offer-card:hover .offer-card__label { background-color: var(--gold); color: var(--ink); }
.offer-card__title { margin: 0; color: inherit; font-size: 1.125rem; font-weight: var(--fw-strong); line-height: 1.3; letter-spacing: 0; }
.offer-card__icon { display: flex; font-size: 1.125rem; }
.offer-card__icon .icon { width: auto; height: 1em; }

/* "Frihed til at tage hunden med overalt": both photos, the title and the list sit on one gold band */
.freedom {
  margin-block: var(--section);
  padding-block: var(--section);
  background-color: var(--gold);
}
.freedom__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: var(--space-6);
}
.freedom__photo img { display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: var(--radius); object-fit: cover; }
.freedom__card { display: flex; flex-direction: column; gap: var(--space-6); padding-left: var(--space-4); }
.freedom__title { margin: 0; color: var(--ink); font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -.015em; }
.icon-list--bones { gap: var(--space-4); color: var(--ink); font-size: 1.125rem; }

/* "Anmeldelser": review carousel on the brand green */
.reviews {
  --focus: var(--white);
  margin-block: var(--section) 0;
  padding-block: var(--section);
  background-color: var(--green);
  color: var(--white);
}
.reviews__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); }
.reviews__title { margin: 0; color: var(--white); text-align: center; }
.carousel { position: relative; width: min(100%, 46rem); }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; align-items: flex-start; transition: transform .5s ease; will-change: transform; }
.carousel__slide { flex: 0 0 100%; margin-right: 10px; }   /* main.js counts on the 10px */
.carousel__arrow {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgb(255 255 255 / .5);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  transform: translateY(-50%);
  transition: background-color .2s, border-color .2s;
}
.carousel__arrow:hover { border-color: var(--white); background-color: rgb(255 255 255 / .12); }
.carousel__arrow .icon { width: 1em; }
.carousel__arrow--prev { left: -4.5rem; }
.carousel__arrow--next { right: -4.5rem; }

.testimonial__text { color: var(--white); font-size: var(--fs-body); line-height: var(--lh-body); }
.testimonial__footer { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-5); }
.testimonial__photo { flex-shrink: 0; line-height: 0; }
.testimonial__img { width: 4.5rem; height: 4.5rem; border: 2px solid rgb(255 255 255 / .7); border-radius: 50%; object-fit: cover; }
.testimonial__name { color: var(--white); font-size: var(--fs-body); font-style: normal; font-weight: var(--fw-strong); line-height: 1.4; }

@media (prefers-reduced-motion: reduce) {
  .carousel__track { transition: none; }
}

@media (max-width: 1024px) {
  .help-split { width: min(100% - 2 * var(--gutter), var(--measure)); }   /* one centred reading column */
  .help-split__photo img { aspect-ratio: 4 / 3; object-position: 40% 70%; }
  .help-split__cols {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "lead" "list1" "fore" "list2";
    row-gap: var(--space-5);
    margin-top: var(--space-6);
  }
  .help-split__cols::before { content: none; }
  .help-split__list--problems { grid-auto-rows: auto; }
  .help-split__fore { margin-top: var(--space-5); }
  .help-split__close { grid-template-columns: minmax(0, 1fr); margin-top: var(--space-7); padding: var(--space-6); }
  .help-split__close::before { content: none; }
  .help-split__promise { align-items: flex-start; text-align: start; }
  .help-split__quote { font-size: 1.5rem; }
  .offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .freedom__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .freedom__card { grid-column: 1 / -1; padding-left: 0; }
  .carousel { padding-bottom: 4rem; }
  .carousel__arrow { top: auto; bottom: 0; transform: none; }
  .carousel__arrow--prev { left: calc(50% - 3.25rem); }
  .carousel__arrow--next { right: calc(50% - 3.25rem); }
}

@media (max-width: 767px) {
  .help-split__photo { margin-top: var(--space-5); }
  .help-split__lead { font-size: 1.125rem; }
  .help-split__item,
  .help-split__link { column-gap: var(--space-3); padding-block: var(--space-3); }
  .help-split__item--link { padding-block: 0; }
  .help-split__close { padding: var(--space-6) var(--space-5); }
  .help-split__quote { font-size: 1.375rem; }
  .offers__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .offer-card__media { aspect-ratio: 4 / 3; }
  .freedom__grid { gap: var(--space-4); }
  .icon-list--bones { font-size: var(--fs-body); }
}

/* 12. Kontakt ---------------------------------------------------------------- */
.contact { margin-block: var(--section); }
.contact__card { display: flex; flex-direction: column; gap: var(--stack); }
.contact__card > * { margin: 0; }
.contact__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-4);
}
.contact-box {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius);
  background-color: var(--surface);
}
.contact-box__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background-color: var(--green);
  color: var(--white);
  font-size: 1.5rem;
  transition: background-color .2s;
}
.contact-box__icon .icon { width: auto; height: 1em; }
.contact-box:hover .contact-box__icon { background-color: var(--green-hover); }
.contact-box__body { min-width: 0; }
.contact-box__title { margin: 0; color: var(--green); font-size: var(--fs-h4); }
.contact-box__title a { color: inherit; text-decoration: none; }
.contact-box__title a:hover { text-decoration: underline; text-underline-offset: .2em; }
.contact-box__text { margin: 0; color: var(--text); overflow-wrap: anywhere; }

@media (max-width: 1024px) {
  .prices { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 21rem)); gap: var(--space-5); }
  .contact__tiles { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
}

/* Sitemap */
.sitemap { margin-block: var(--section); }
.sitemap__list { display: flex; flex-direction: column; gap: var(--space-5); }
.sitemap__title { margin: 0; }
.sitemap ul { columns: 2; column-gap: var(--space-8); max-width: 48rem; }
.sitemap li { break-inside: avoid; }
.sitemap li a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  text-decoration: none;
}
.sitemap li a:hover { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 767px) {
  .sitemap ul { columns: 1; }
}

/* Privatlivspolitik */
.legal {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  width: min(100% - 2 * var(--gutter), 46rem);
  margin: var(--space-8) auto var(--section);
}
.legal__title { margin: 0; font-size: var(--fs-h1); letter-spacing: -.02em; }
.legal .text :is(h2, h3, h4) { margin-top: 1.8em; font-size: var(--fs-h3); }
.legal .text h5 { margin-top: 1.4em; font-size: 1.0625rem; }
