/* ==========================================================================
   finecollab — stylesheet
   Palette mirrors the original finecollab.ch brand:
     orange  #FF661D (→ #FF8753 gradient),  gray #808080/#CCC/#E6E6E6,
     blue    #0099E2 (secondary accent),    on white.  Type: Josefin Sans.
   Design tokens live in :root — change a value here to re-skin the whole site.
   ========================================================================== */

/* Self-hosted fonts — same files Google Fonts served, downloaded once to
   assets/fonts/. Both are variable fonts, so one file per family covers
   every weight below; each @font-face block mirrors what Google's own
   css2 API emitted (same per-weight src, same unicode-range) to avoid any
   risk from reformatting a proven-working declaration. Latin-only: the
   site is German/English, and both languages sit entirely within
   U+0000-00FF, so the cyrillic/greek/vietnamese/latin-ext subsets Google
   also serves are never downloaded. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/josefin-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/josefin-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/josefin-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand — finecollab orange.
     Text/background pairs must hold WCAG AA: text-orange and muted are darkened
     relative to the print brand so they reach 4.5:1 on white; #ff661d itself is
     reserved for decorative use (glow, borders, hover underlines). */
  --brand:        #ff661d;   /* primary — decorative only, 2.9:1 on white */
  --brand-strong: #c2410c;   /* text orange — 5.2:1 on white, 4.8:1 on surface */
  --brand-700:    #cc3300;   /* deepest — button/badge bg, 5.2:1 under white text */
  --brand-300:    #ff8753;   /* light / gradient end */
  --brand-100:    #ffc4ab;   /* pale tint */
  --accent:       #0099e2;   /* finecollab blue — secondary accent, used sparingly */

  /* Neutrals */
  --ink:          #2b2b2b;
  --body:         #4d4d4d;
  --muted:        #6e6e6e;   /* darkened brand gray — 5.1:1 on white */
  --bg:           #ffffff;
  --surface:      #f5f5f4;
  --tint:         #faf6f2;   /* warm off-white — the alternate section ground */
  --surface-2:    #ececeb;
  --line:         #d7d4cf;
  --card:         #ffffff;

  /* Effects */
  --shadow-sm:    0 1px 2px rgba(40, 30, 24, .09), 0 3px 10px rgba(40, 30, 24, .08);
  --shadow-md:    0 10px 30px rgba(217, 79, 16, .10), 0 2px 8px rgba(40, 30, 24, .06);
  --shadow-lg:    0 24px 60px rgba(217, 79, 16, .16);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-pill:  999px;

  /* Typography */
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Josefin Sans", "Inter", system-ui, sans-serif;

  /* Layout */
  /* .container below already does width: min(100% - 2.5rem, var(--container)),
     which handles shrinking on narrow screens — so this only needs to be
     a plain, higher cap. (An earlier clamp(1140px, 78vw, 1400px) attempt
     here was miscalibrated: 78vw doesn't clear the 1140px floor until
     the viewport is wider than ~1462px, so it silently did nothing on
     typical ~1440px laptop screens.) 1600px caps things on very large
     monitors without stretching lines/grids edge-to-edge. */
  --container: 1600px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 72px;
}

/* --- Reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
ul { list-style: none; padding: 0; }

/* --- Utilities ------------------------------------------------------------ */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 720px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 12px; z-index: 200;
  background: var(--brand-700); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 8px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

:where(a, button, summary, .lang-toggle__opt):focus-visible {
  outline: 2px solid var(--brand-strong); outline-offset: 3px; border-radius: 4px;
}

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700;
  color: var(--ink);
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: var(--radius-pill); font-weight: 600;
  font-family: var(--font-display); font-size: 1rem; letter-spacing: .01em; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--brand-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-strong); transform: translateY(-2px); }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 32px; width: auto; display: block; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.site-nav__list { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.6rem); }
.site-nav__list a {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--body);
  padding: .35rem 0; position: relative;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.site-nav__list a:hover { color: var(--ink); }
.site-nav__list a:hover::after, .site-nav__list a.is-current::after { transform: scaleX(1); }

/* Language toggle */
.lang-toggle {
  position: relative; display: inline-flex; padding: 3px; border-radius: var(--radius-pill);
  background: var(--surface-2); border: 1px solid var(--line);
}
.lang-toggle__opt {
  position: relative; z-index: 1; min-width: 42px; text-align: center;
  padding: .3rem .55rem; font-size: .8rem; font-weight: 700; letter-spacing: .03em;
  color: var(--muted); border-radius: var(--radius-pill); transition: color .25s;
}
.lang-toggle__opt.is-active { color: #fff; }
.lang-toggle__slider {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  border-radius: var(--radius-pill); background: var(--brand-700); pointer-events: none;
  box-shadow: var(--shadow-sm); transition: transform .28s cubic-bezier(.4,.1,.2,1);
}
.lang-toggle:has(.lang-toggle__opt[data-set-lang="en"].is-active) .lang-toggle__slider { transform: translateX(100%); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 40px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface); cursor: pointer; position: relative;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s, opacity .2s;
}
.nav-toggle__bar::before { transform: translate(-50%, -8px); }
.nav-toggle__bar::after  { transform: translate(-50%,  6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 11vw, 8rem) 0 clamp(3rem, 8vw, 6rem); }
.hero__inner { position: relative; z-index: 1; max-width: 960px; }
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -.02em;
  margin: .6rem 0 1rem;
}
.hero__lede { font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--body); max-width: 640px; }
.hero__claim {
  margin-top: 1rem; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.2rem); letter-spacing: .01em; color: var(--brand-strong);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__props { position: relative; z-index: 1; margin-top: clamp(2.5rem, 6vw, 4rem); }
.hero__slogan {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--ink); margin-bottom: clamp(1.2rem, 3vw, 1.8rem);
}
.hero__props-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.hero__prop {
  padding: 1.4rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.hero__prop-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }
.hero__prop-body { font-size: .95rem; color: var(--body); }
.hero__prop-link {
  display: inline-block; margin-top: .8rem; font-weight: 600; font-size: .9rem;
  color: var(--brand-strong); border-bottom: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
}
.hero__prop-link:hover { border-bottom-color: var(--brand-strong); }
.hero__glow {
  position: absolute; z-index: 0; inset: auto -8% 30% auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--brand) 34%, transparent), transparent 62%),
              radial-gradient(circle at 38% 72%, color-mix(in srgb, var(--brand-300) 30%, transparent), transparent 60%);
  filter: blur(26px); opacity: .8; pointer-events: none;
}

/* --- Sections ------------------------------------------------------------- */
.section { padding: var(--section-y) 0; scroll-margin-top: var(--header-h); }
/* Two-tone rhythm: sections alternate white / warm tint down the page (the
   first section of a page is white, the second tinted, and so on), so a
   section added, hidden or reordered never leaves two like grounds adjacent.
   Subpage bodies opt in to the tint explicitly with `variant: section--tint`. */
.section--tint, main > .section:nth-of-type(even) { background: var(--tint); }
/* No max-width anywhere in this block, on purpose: title, lede and rich
   body copy all span the full .container, same as .pillars/.cols below
   them. An earlier version capped .rich (the actual paragraph text) at
   720px for conventional readability — but on this page .rich isn't a
   line or two, it's the dominant multi-paragraph content, and capping it
   narrow while the cards below went full-width is exactly what looked
   broken: explicit, repeated feedback that using the available width
   mattered more here than conventional line-length. */
.section__head { margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.8rem); margin: .5rem 0 .6rem; }
.section__logo { display: block; width: clamp(150px, 28vw, 200px); height: auto; margin: 1rem 0 1.4rem; padding: .8rem 1rem; background: #fff; border-radius: var(--radius); }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--body); }
.rich { margin-top: 1rem; color: var(--body); }
.rich p { margin-bottom: 1rem; }
.section__note { margin-top: clamp(1.6rem, 3vw, 2.2rem); color: var(--body); font-size: 1rem; }
.section__note strong { color: var(--ink); font-weight: 700; }
.section__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Photo hero head (Genusspfad) — a contained, rounded photo band behind
   just the heading, not the whole section (the pillar grid below stays on
   the normal page background). --hero-image is set inline per page; the
   dark gradient on top keeps white text ≥4.5:1 regardless of the photo. */
.section__head--photo {
  color: #fff; padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, #000 60%, transparent) 0%, color-mix(in srgb, #000 32%, transparent) 100%),
    var(--hero-image) center / cover no-repeat;
}
.section__head--photo .section__title,
.section__head--photo .lede,
.section__head--photo .eyebrow { color: #fff; }

/* Engagement models (Fractional CTO) — two boxed options under the pillars. */
.engagements { margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.engagements__heading { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; }
.engagements__intro { color: var(--body); margin: -.4rem 0 1.2rem; }
.engagements__grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.engagement { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 1vw + 1.1rem, 2rem); box-shadow: var(--shadow-sm); }
.engagement__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: .4rem; }
.engagement__body { color: var(--body); font-size: .98rem; }
.engagement { display: flex; flex-direction: column; }
.engagement__fit { color: var(--muted); font-size: .92rem; font-style: italic; margin-top: auto; padding-top: .8rem; }

/* --- Pillars -------------------------------------------------------------- */
.pillars { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pillars--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pillar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 1.2vw + 1.3rem, 2.4rem); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* Low-stakes pillar content (passions, not core offerings) — drop the card
   box so it doesn't compete visually with team/testimonial trust content. */
.pillars--plain .pillar { background: none; border: none; box-shadow: none; padding: 0; }
.pillars--plain .pillar:hover { transform: none; box-shadow: none; }
.pillar__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand-strong); margin-bottom: 1rem;
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar__photo {
  width: 96px; height: 96px; margin-bottom: 1rem; border-radius: 50%; overflow: hidden;
}
.pillar__photo img { width: 100%; height: 100%; object-fit: cover; }
.pillar__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: .5rem; }
.pillar__kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.pillar__body { color: var(--body); font-size: .98rem; }

/* --- Columns (expertise) — neutral gray icons ----------------------------- */
.cols { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.col { padding: 1.4rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.col__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px;
  background: color-mix(in srgb, var(--muted) 14%, transparent); color: var(--muted); margin-bottom: .9rem; }
.col__icon svg { width: 24px; height: 24px; }
.col__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: .4rem; }
.col__body { font-size: .95rem; color: var(--body); }

.competencies { margin-top: clamp(2.5rem, 6vw, 4rem); }
.cols__heading { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; }

/* Tag chips — orange tint */
.taglist { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.taglist--center { justify-content: center; }
.taglist li {
  font-size: .8rem; font-weight: 600; color: var(--brand-strong);
  background: color-mix(in srgb, var(--brand) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  padding: .28rem .7rem; border-radius: var(--radius-pill);
}
.taglist--wrap { margin-top: 0; }
/* Neutral variant — team-member tags are secondary to the role, not another
   orange signal competing with links, nav, and CTAs. */
.taglist--muted li {
  color: var(--muted);
  background: color-mix(in srgb, var(--muted) 10%, transparent);
  border-color: color-mix(in srgb, var(--muted) 24%, transparent);
}

/* --- Team ----------------------------------------------------------------- */
.team { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  position: relative; text-align: center; padding: 2rem 1.5rem 1.6rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card--featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-md); }
.card__badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--brand-700); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  padding: .25rem .75rem; border-radius: var(--radius-pill); white-space: nowrap;
}
.card__avatar {
  width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  color: #fff; background: linear-gradient(140deg, var(--muted), #8a8a8a);
}
/* Photos are real <img> elements (alt text, high-contrast mode); the gradient
   behind them is only the no-photo fallback, shown under the initials. */
.card__avatar-img { width: 100%; height: 100%; object-fit: cover; }
.card--featured .card__avatar { background: linear-gradient(140deg, var(--brand-700), var(--brand-strong)); }
.card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.card__role { color: var(--brand-strong); font-weight: 600; font-size: .92rem; margin-top: .15rem; }
.card__social { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.card__social-link {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 14%, transparent); color: var(--muted);
  transition: background .2s, color .2s;
}
.card__social-link svg { width: 17px; height: 17px; }
.card__social-link:hover { background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand-strong); }
.card__more { display: inline-block; margin-top: 1rem; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--brand-strong); }
.card__more:hover { color: var(--brand-700); }

/* --- Subpage back-link ---------------------------------------------------- */
.subpage-back { border-bottom: 1px solid var(--line); }
.subpage-back a { display: inline-block; padding: 1rem 0; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--muted); }
.subpage-back a:hover { color: var(--brand-strong); }

/* --- FAQ ------------------------------------------------------------------- */
.faq { display: grid; gap: .8rem; }
.faq__item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.faq__q {
  cursor: pointer; list-style: none; position: relative; padding: 1rem 3rem 1rem 1.25rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--brand-strong);
}
.faq__item[open] .faq__q::after { content: "\2013"; }
.faq__a { padding: 0 1.25rem 1.15rem; color: var(--body); }

/* --- Quotes --------------------------------------------------------------- */
.quotes { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm); position: relative;
}
.quote::before {
  content: "“"; font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--brand-300);
  position: absolute; top: .4rem; left: 1.1rem; opacity: .55;
}
.quote__text { font-size: 1.05rem; color: var(--ink); font-style: normal; margin: 1rem 0 1.2rem; position: relative; }
.quote__by { display: flex; flex-direction: column; }
.quote__name { font-weight: 700; color: var(--ink); }
.quote__meta { font-size: .88rem; color: var(--muted); }

/* --- Contact -------------------------------------------------------------- */
/* One merged block: heading/lede, then the CTA and the postal/phone details
   in a single compact row (no separate address card) — with the map capped
   to a small square instead of filling the column, so the whole section
   reads as one short, scannable strip. */
.contact {
  display: grid; gap: clamp(1.2rem, 3vw, 2rem) clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.1fr .9fr;
  grid-template-areas: "intro map";
  align-items: start;
}
.contact__intro { grid-area: intro; }
.contact__row {
  margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2rem;
}
.contact__inline { font-style: normal; color: var(--body); line-height: 1.5; }
.contact__inline strong { color: var(--ink); }
.contact__inline a { color: var(--brand-strong); font-weight: 600; }
.contact__people { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; }
.contact__people li { display: grid; }
.contact__person-name { font-weight: 700; color: var(--ink); }
.contact__person-role { font-size: .85rem; color: var(--muted); }
.contact__people a { color: var(--brand-strong); font-weight: 600; font-size: .9rem; }

/* --- Map (consent-gated Google Maps embed) --------------------------------- */
.map {
  --map-h: clamp(200px, 26vw, 300px);
  grid-area: map; justify-self: end; align-self: start;
  height: var(--map-h); width: min(100%, calc(var(--map-h) * 2));
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.map__placeholder {
  height: 100%; display: grid; place-content: center; gap: .5rem;
  text-align: center; padding: 1.2rem;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--brand) 6%, transparent), transparent 65%),
    var(--card);
}
.map__note { color: var(--muted); font-size: .8rem; max-width: 22ch; margin-inline: auto; }
.map__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: .6rem; }
.map__actions .btn { padding: .55rem 1rem; font-size: .85rem; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* --- Footer — light, so the official logo stays crisp ---------------------- */
.site-footer { background: var(--tint); border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--body); }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-footer__logo { height: 36px; width: auto; }
.site-footer__contact { font-style: normal; font-size: .92rem; }
.site-footer__contact a { color: var(--brand-strong); }
.site-footer__contact a:hover { color: var(--brand-700); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .92rem; }
.site-footer__links a { color: var(--brand-strong); }
.site-footer__links a:hover { color: var(--brand-700); }
.site-footer__legal { font-size: .85rem; color: var(--muted); width: 100%; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: .4rem; }

/* --- Legal pages (Impressum / Datenschutz) --------------------------------
   .rich only styles <p>; legal text also needs headings, lists and inline
   code, so those are added here rather than widening .rich for every page. */
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin: 2rem 0 .6rem; color: var(--ink); }
.legal h2:first-child { margin-top: 0; }
.legal ul { margin: 0 0 1rem 1.25rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--brand-strong); text-decoration: underline; }
.legal a:hover { color: var(--brand-700); }
.legal code { font-size: .9em; background: var(--bg-muted, #f5f5f4); padding: .1em .35em; border-radius: 3px; }
.legal__updated { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 1.2rem clamp(1.25rem, 5vw, 2rem) 1.6rem;
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; transition: clip-path .3s ease, opacity .2s ease;
  }
  .site-nav.is-open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .site-nav__list a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .site-nav__list a::after { display: none; }
  .lang-toggle { align-self: flex-start; }
  .contact { grid-template-columns: 1fr; grid-template-areas: "intro" "map"; }
  .map { justify-self: start; --map-h: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
