/* =====================================================================
   AE Montagen – styles.css
   One stylesheet for every page. Mobile first.
   1. Tokens  2. Font  3. Base  4. Layout  5. Header & navigation
   6. Buttons & links  7. Hero  8. Sections & components  9. Forms
   10. Footer  11. Utilities  12. Motion
   ===================================================================== */

/* 1. Tokens ----------------------------------------------------------- */
:root {
  /* colour */
  --c-white: #ffffff;
  --c-linen: #f2ece2;        /* cream sections */
  --c-linen-2: #f8f4ee;      /* lighter cream */
  --c-oak: #e3d5c1;          /* beige lines / surfaces */
  --c-oak-mid: #c9a57e;      /* oak accent on dark */
  --c-walnut: #8c5a35;       /* warm brown accent (5.8:1 on white) */
  --c-walnut-dk: #6b4226;    /* hover, links on cream */
  --c-espresso: #2b2420;     /* dark brown / charcoal */
  --c-espresso-2: #3a312b;
  --c-text: #2b2420;
  --c-muted: #625750;        /* 6.8:1 on white, 5.7:1 on linen */
  --c-on-dark: #f2ece2;
  --c-on-dark-muted: #cbbfb1;
  --c-line: rgba(43, 36, 32, .13);
  --c-line-strong: rgba(43, 36, 32, .24);
  --c-wa: #1d7a45;
  --c-error: #a3271b;
  --c-error-bg: #fbeceA;
  --c-success: #2f6b3a;
  --c-focus: #8c5a35;

  /* type */
  --font: "Albert Sans", "Albert Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .875rem;
  --fs-sm: 1rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-lg: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.12rem + .5vw, 1.5rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.5vw, 2.5rem);
  --fs-h1: clamp(2.125rem, 1.5rem + 2.7vw, 3.5rem);
  --fs-display: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);
  --lh-tight: 1.08;
  --lh-head: 1.18;
  --lh-body: 1.65;

  /* spacing */
  --s-1: .25rem;  --s-2: .5rem;  --s-3: .75rem;  --s-4: 1rem;  --s-5: 1.5rem;
  --s-6: 2rem;    --s-7: 2.5rem; --s-8: 3rem;    --s-9: 4rem;  --s-10: 6rem;
  --section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --gutter: clamp(1rem, .5rem + 2.6vw, 2.5rem);
  --container: 76rem;
  --measure: 66ch;

  /* shape */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --sh-1: 0 1px 2px rgba(43, 36, 32, .06), 0 1px 1px rgba(43, 36, 32, .04);
  --sh-2: 0 18px 40px -22px rgba(43, 36, 32, .35), 0 2px 6px rgba(43, 36, 32, .05);
  --sh-3: 0 30px 70px -30px rgba(43, 36, 32, .45);

  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .18s;
  --t-med: .35s;
}

/* 2. Font (self-hosted, SIL OFL – see /fonts/OFL.txt) ----------------- */
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/albert-sans-var.woff2") format("woff2-variations"),
       url("/fonts/albert-sans-var.woff2") format("woff2");
}
/* metric-matched fallback keeps text from shifting when the font arrives */
@font-face {
  font-family: "Albert Sans Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 98%;
  ascent-override: 96%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* 3. Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-white);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 var(--s-4); font-weight: 620; line-height: var(--lh-head); letter-spacing: -.018em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -.028em; }
h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.024em; }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25em; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: var(--c-walnut-dk); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--c-espresso); text-decoration-thickness: 2px; }
strong { font-weight: 650; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-8) 0; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible, .lightbox :focus-visible { outline-color: var(--c-oak-mid); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  background: var(--c-espresso); color: var(--c-white); padding: var(--s-3) var(--s-5); border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: var(--s-4); color: var(--c-white); }

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

/* 4. Layout ----------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .65); }
.section--linen { background: var(--c-linen); }
.section--cream { background: var(--c-linen-2); }
.section--dark { background: var(--c-espresso); color: var(--c-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--c-white); }
.section--dark p { color: var(--c-on-dark-muted); }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head p { font-size: var(--fs-md); color: var(--c-muted); margin-bottom: 0; }
.section-head--split { max-width: none; display: grid; gap: var(--s-5); align-items: end; }
.section-head--split > p { max-width: 34rem; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr .9fr; } }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
  .split--reverse > :first-child { order: 2; }
}

.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: var(--s-8); }
.prose h3 { margin-top: var(--s-6); margin-bottom: var(--s-3); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: var(--s-2); }
.prose li::marker { color: var(--c-walnut); }
.lead { font-size: var(--fs-lg); line-height: 1.5; color: var(--c-muted); }
.muted { color: var(--c-muted); }

/* 5. Header & navigation --------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 8px 24px -18px rgba(43, 36, 32, .35); }
.header__inner { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.brand { display: inline-flex; flex-shrink: 0; padding-block: var(--s-2); }
.brand img { width: 176px; height: auto; }
@media (min-width: 480px) { .brand img { width: 210px; } }

.nav { display: none; margin-left: auto; }
.nav__list { display: flex; gap: clamp(.25rem, .1rem + .5vw, 1rem); margin: 0; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .55rem;
  color: var(--c-text); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: .55rem; right: .55rem; bottom: 9px; height: 2px;
  background: var(--c-walnut); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease);
}
.nav__link:hover { color: var(--c-walnut-dk); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--c-walnut-dk); font-weight: 650; }

.header__actions { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; flex-shrink: 0; }
.header__phone {
  display: none; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 .5rem;
  color: var(--c-text); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; flex-shrink: 0;
}
.header__phone:hover { color: var(--c-walnut-dk); }
.header__phone .icon { color: var(--c-walnut); }
.header__actions .header__cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -8px;
  border-radius: var(--r-sm); color: var(--c-espresso); cursor: pointer;
}
.menu-toggle__bars { display: grid; gap: 5px; width: 24px; }
.menu-toggle__bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--t-med) var(--ease), opacity var(--t-fast); }
.menu-toggle__bars span:nth-child(2) { width: 70%; justify-self: end; }

@media (min-width: 720px) {
  .header__actions .header__cta { display: inline-flex; }
  .header__phone { display: inline-flex; justify-content: center; width: 44px; padding: 0; border: 1px solid var(--c-line-strong); border-radius: 50%; }
  .header__phone:hover { border-color: var(--c-walnut); }
  .header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (min-width: 1240px) {
  .nav { display: block; }
  .header__actions { margin-left: var(--s-2); }
  .menu-toggle { display: none; }
}

/* mobile menu */
.mnav { position: fixed; inset: 0; z-index: 150; }
.mnav[hidden] { display: none; }
.mnav::before { content: ""; position: absolute; inset: 0; background: rgba(43, 36, 32, .5); opacity: 0; transition: opacity var(--t-med) var(--ease); }
.mnav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 26rem);
  display: flex; flex-direction: column; gap: var(--s-5);
  padding: var(--s-4) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom));
  background: var(--c-white); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform var(--t-med) var(--ease);
}
.mnav.is-open::before { opacity: 1; }
.mnav.is-open .mnav__panel { transform: none; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.mnav__close { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -10px; border: 0; background: none; color: var(--c-espresso); cursor: pointer; border-radius: var(--r-sm); }
.mnav__list { margin: 0; border-top: 1px solid var(--c-line); }
.mnav__link {
  display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--c-line);
  color: var(--c-text); text-decoration: none; font-size: 1.25rem; font-weight: 550;
}
.mnav__link[aria-current="page"] { color: var(--c-walnut-dk); font-weight: 650; box-shadow: inset 3px 0 0 var(--c-walnut); padding-left: var(--s-4); }
.mnav__contact { display: grid; gap: var(--s-3); margin-top: auto; }
body.menu-open { overflow: hidden; }

/* mobile sticky contact bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr;
  background: var(--c-white); border-top: 1px solid var(--c-line); box-shadow: 0 -8px 24px -16px rgba(43, 36, 32, .4);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 60px; color: var(--c-espresso); text-decoration: none; font-size: var(--fs-xs); font-weight: 600;
}
.mobile-bar a + a { border-left: 1px solid var(--c-line); }
.mobile-bar .icon { color: var(--c-walnut); }
.mobile-bar a[href^="https://wa.me"] .icon { color: var(--c-wa); }
.mobile-bar .mobile-bar__primary { background: var(--c-walnut); color: var(--c-white); border-left: 0; }
.mobile-bar .mobile-bar__primary .icon { color: var(--c-white); }
body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* breadcrumbs */
.breadcrumbs { padding-top: var(--s-5); font-size: var(--fs-sm); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); margin: 0; color: var(--c-muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--s-2); }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.breadcrumbs a:hover { color: var(--c-walnut-dk); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--c-text); font-weight: 550; }

/* 6. Buttons & links -------------------------------------------------- */
.btn {
  --btn-bg: var(--c-white); --btn-fg: var(--c-espresso); --btn-bd: var(--c-line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .75rem 1.4rem;
  font: inherit; font-weight: 620; font-size: var(--fs-base); line-height: 1.2; letter-spacing: -.005em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd); border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .icon { flex-shrink: 0; }
.btn--primary { --btn-bg: var(--c-walnut); --btn-fg: var(--c-white); --btn-bd: var(--c-walnut); }
.btn--primary:hover { --btn-bg: var(--c-walnut-dk); --btn-bd: var(--c-walnut-dk); color: var(--c-white); }
.btn--ghost:hover { --btn-bd: var(--c-espresso); color: var(--c-espresso); }
.btn--wa .icon { color: var(--c-wa); }
.btn--wa:hover { --btn-bd: var(--c-wa); color: var(--c-espresso); }
.btn--light { --btn-bg: var(--c-white); --btn-fg: var(--c-espresso); --btn-bd: var(--c-white); }
.btn--light:hover { --btn-bg: var(--c-linen); color: var(--c-espresso); }
.btn--wa-dark, .btn--on-dark { --btn-bg: transparent; --btn-fg: var(--c-white); --btn-bd: rgba(242, 236, 226, .35); }
.btn--wa-dark:hover, .btn--on-dark:hover { --btn-bd: var(--c-oak-mid); color: var(--c-white); box-shadow: none; }
.btn--wa-dark .icon { color: #7fd3a1; }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: var(--fs-sm); }
.btn--lg { min-height: 56px; padding: .9rem 1.8rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.link-more {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  font-weight: 620; color: var(--c-walnut-dk); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1px no-repeat;
  transition: background-size var(--t-med) var(--ease);
}
.link-more:hover { background-size: 0 1px; background-position: 100% calc(100% - 8px); color: var(--c-espresso); }

/* 7. Hero ------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.hero__grid { display: grid; gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.hero__title { font-size: var(--fs-display); font-weight: 640; letter-spacing: -.035em; line-height: 1.02; margin-bottom: var(--s-5); max-width: 13ch; }
.hero__lead { font-size: var(--fs-lg); line-height: 1.5; color: var(--c-muted); max-width: 34rem; margin-bottom: var(--s-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-4); }
.hero__phone { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--c-text); font-weight: 600; text-decoration: none; }
.hero__phone .icon { color: var(--c-walnut); }
.hero__phone:hover { color: var(--c-walnut-dk); text-decoration: underline; }
.hero__values { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-6) 0 0; padding-top: var(--s-5); border-top: 1px solid var(--c-line); }
.hero__values li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: var(--fs-sm); }
.hero__values .icon { color: var(--c-walnut); }
@media (max-width: 520px) { .hero__actions .btn { width: 100%; } }

/* the plan: kitchen elevation on drafting paper */
.plan {
  position: relative; margin: 0; padding: clamp(1rem, .5rem + 2vw, 2rem);
  background-color: var(--c-linen-2);
  background-image:
    linear-gradient(rgba(140, 90, 53, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 90, 53, .07) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--c-oak); border-radius: var(--r-md);
}
.plan__caption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-4);
  margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px dashed var(--c-oak);
  font-size: var(--fs-xs); color: var(--c-muted);
}
.plan__caption span { display: inline-flex; align-items: center; gap: .35rem; }
.plan__caption .icon { color: var(--c-walnut); }
.hero-drawing { width: 100%; height: auto; overflow: visible; }
.hero-drawing .part { fill: var(--c-white); stroke: var(--c-espresso); stroke-width: 1.5; }
.hero-drawing .top { fill: var(--c-oak); stroke: var(--c-espresso); stroke-width: 1.5; }
.hero-drawing .fuge { stroke: var(--c-espresso); stroke-width: 1; }
.hero-drawing .hdl { stroke: var(--c-walnut); stroke-width: 3; stroke-linecap: round; }
.hero-drawing .oven { fill: var(--c-espresso-2); stroke: var(--c-espresso); stroke-width: 1.5; }
.hero-drawing .sink { fill: #cfc6ba; stroke: var(--c-espresso); stroke-width: 1; }
.hero-drawing .hob { fill: var(--c-espresso); }
.hero-drawing .tap { fill: none; stroke: var(--c-espresso); stroke-width: 2.5; stroke-linecap: round; }
.hero-drawing .ln-floor { stroke: var(--c-espresso); stroke-width: 1.5; }
.hero-drawing .level rect:first-child { fill: #d9a63f; stroke: var(--c-espresso); stroke-width: 1.2; }
.hero-drawing .vial { fill: #cfe5d3; stroke: var(--c-espresso); stroke-width: .8; }
.hero-drawing .bubble { fill: var(--c-white); stroke: var(--c-espresso); stroke-width: .6; }
.hero-drawing .dim line { stroke: var(--c-walnut); stroke-width: 1; }
.hero-drawing .dim text { fill: var(--c-walnut-dk); font: 600 11px var(--font); letter-spacing: .02em; }

/* 8. Sections & components ------------------------------------------- */

/* page intro on subpages */
.page-intro { padding-block: clamp(2rem, 1.2rem + 3vw, 4rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.page-intro__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 980px) { .page-intro__grid { grid-template-columns: 1.1fr .9fr; } }
.page-intro h1 { max-width: 18ch; }
.page-intro .lead { max-width: 38rem; }
.page-intro .btn-row { margin-top: var(--s-6); }

/* media */
.media { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--c-linen); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.media--tall img { aspect-ratio: 4 / 5; }
.media--shadow { box-shadow: var(--sh-3); }
.media-label {
  position: absolute; left: var(--s-3); bottom: var(--s-3);
  padding: .2rem .55rem; border-radius: var(--r-xs);
  background: rgba(255, 255, 255, .92); color: var(--c-muted); font-size: .75rem; font-weight: 600; letter-spacing: .01em;
  pointer-events: none;
}

/* services */
.svc-feature-grid { display: grid; gap: var(--s-5); margin-bottom: var(--s-5); }
@media (min-width: 860px) { .svc-feature-grid { grid-template-columns: 1fr 1fr; } }
.svc-feature {
  display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); overflow: hidden; transition: box-shadow var(--t-med) var(--ease), border-color var(--t-med);
  position: relative;
}
.svc-feature:hover { box-shadow: var(--sh-2); border-color: var(--c-line-strong); }
.svc-feature .media { border-radius: 0; }
.svc-feature .media img { transition: transform .8s var(--ease); }
.svc-feature:hover .media img { transform: scale(1.025); }
.svc-feature__body { padding: clamp(1.25rem, 1rem + 1vw, 2rem); display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.svc-feature__title { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin: var(--s-3) 0 var(--s-3); }
.svc-feature__title a { color: inherit; text-decoration: none; }
.svc-feature__title a::after { content: ""; position: absolute; inset: 0; }
.svc-feature p { color: var(--c-muted); }
.svc-feature .link-more { margin-top: auto; position: relative; z-index: 1; }
.svc-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--c-linen); color: var(--c-walnut); flex-shrink: 0; }

.svc-list { display: grid; margin: 0; border-top: 1px solid var(--c-line); }
@media (min-width: 860px) { .svc-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-8); } }
.svc-row {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-4); align-items: start;
  padding: var(--s-5) 0; border-bottom: 1px solid var(--c-line);
}
.svc-row__title { font-size: var(--fs-md); margin: var(--s-1) 0 var(--s-1); }
.svc-row__title a { color: var(--c-text); text-decoration: none; }
.svc-row__title a::after { content: ""; position: absolute; inset: 0; }
.svc-row p { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); }
.svc-row__link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--c-walnut); border-radius: 50%; transition: background-color var(--t-fast), transform var(--t-med) var(--ease); }
.svc-row:hover .svc-row__link { background: var(--c-linen); transform: translateX(3px); }
.svc-row:hover .svc-row__title a { color: var(--c-walnut-dk); }

/* service detail sections (leistungen) */
.svc-detail { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 4rem); padding-block: clamp(3rem, 2rem + 3vw, 5rem); border-top: 1px solid var(--c-line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.svc-detail:first-of-type { border-top: 0; }
@media (min-width: 960px) { .svc-detail { grid-template-columns: 5fr 7fr; } .svc-detail__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.svc-detail h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); margin-top: var(--s-4); }
.svc-detail h3 { font-size: var(--fs-md); margin: var(--s-6) 0 var(--s-3); }
.svc-detail .media { margin-top: var(--s-5); }
.svc-detail__cols { display: grid; gap: var(--s-2) var(--s-6); }
@media (min-width: 640px) { .svc-detail__cols { grid-template-columns: 1fr 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0 0 var(--s-4); }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: var(--s-3); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--c-linen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c5a35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.section--linen .checklist li::before { background-color: var(--c-white); }
.dashlist { list-style: none; padding: 0; margin: 0 0 var(--s-4); }
.dashlist li { position: relative; padding-left: 1.4rem; margin-bottom: var(--s-2); }
.dashlist li::before { content: ""; position: absolute; left: 0; top: .8em; width: .7rem; height: 1.5px; background: var(--c-walnut); }

.note {
  display: flex; gap: var(--s-3); padding: var(--s-4) var(--s-5); margin: var(--s-5) 0;
  background: var(--c-linen-2); border-left: 3px solid var(--c-walnut); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: var(--fs-sm);
}
.note .icon { flex-shrink: 0; color: var(--c-walnut); margin-top: .15em; }
.note p:last-child { margin-bottom: 0; }

.jump-nav { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-6) 0 0; }
.jump-nav a {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .9rem;
  border: 1px solid var(--c-line-strong); border-radius: var(--r-sm); background: var(--c-white);
  color: var(--c-text); text-decoration: none; font-size: var(--fs-sm); font-weight: 560;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.jump-nav a .icon { color: var(--c-walnut); }
.jump-nav a:hover { border-color: var(--c-walnut); color: var(--c-walnut-dk); }

/* why */
.why-grid { display: grid; gap: var(--s-6) var(--s-7); margin: 0; }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } .why-grid--2 { grid-template-columns: repeat(2, 1fr); column-gap: var(--s-9); } }
.why { padding-top: var(--s-5); border-top: 1px solid var(--c-line-strong); }
.why__icon { display: inline-flex; color: var(--c-walnut); margin-bottom: var(--s-4); }
.why__title { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.why p { color: var(--c-muted); margin: 0; }


/* process */
.steps { counter-reset: none; display: grid; gap: var(--s-6); margin: 0; position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.step { position: relative; padding-left: 4.25rem; }
.step__num {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: 50%; border: 1.5px solid var(--c-walnut); background: var(--c-white);
  color: var(--c-walnut-dk); font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums;
}
.step:not(:last-child)::before { content: ""; position: absolute; left: 1.5rem; top: 3.5rem; bottom: calc(-1 * var(--s-6) + .5rem); border-left: 1.5px dashed var(--c-oak-mid); }
.step__title { font-size: var(--fs-md); margin-bottom: var(--s-2); padding-top: .55rem; }
.step p { color: var(--c-muted); margin: 0; font-size: var(--fs-sm); }
@media (min-width: 900px) {
  .step { padding-left: 0; padding-top: 4.5rem; }
  .step:not(:last-child)::before { left: 3.75rem; right: -.5rem; top: 1.5rem; bottom: auto; border-left: 0; border-top: 1.5px dashed var(--c-oak-mid); }
  .step__title { padding-top: 0; }
}
.section--linen .step__num { background: var(--c-linen); }

/* before / after slider */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 3 / 2;
  background: var(--c-linen); user-select: none; -webkit-user-select: none; touch-action: pan-y;
  box-shadow: var(--sh-2); cursor: ew-resize;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: var(--s-4); padding: .3rem .7rem; border-radius: var(--r-xs);
  background: rgba(43, 36, 32, .82); color: var(--c-white); font-size: var(--fs-xs); font-weight: 650; pointer-events: none;
}
.ba__tag--before { left: var(--s-4); }
.ba__tag--after { right: var(--s-4); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px;
  display: flex; align-items: center; justify-content: center; cursor: ew-resize; touch-action: none;
}
.ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--c-white); box-shadow: 0 0 0 1px rgba(43, 36, 32, .15); }
.ba__knob {
  position: relative; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-white); color: var(--c-espresso); box-shadow: 0 6px 20px rgba(43, 36, 32, .3);
  transition: transform var(--t-fast) var(--ease);
}
.ba__knob .icon { width: 16px; height: 16px; margin: 0 -2px; }
.ba__handle:hover .ba__knob, .ba.is-dragging .ba__knob { transform: scale(1.08); }
.ba__handle:focus-visible { outline: none; }
.ba__handle:focus-visible .ba__knob { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.ba .media-label { bottom: var(--s-4); left: var(--s-4); }
.ba-note { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--c-muted); }

/* gallery */
.filter { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.filter__btn {
  min-height: 44px; padding: .45rem 1.1rem; border-radius: 999px; border: 1px solid var(--c-line-strong);
  background: var(--c-white); color: var(--c-text); font: inherit; font-size: var(--fs-sm); font-weight: 560; cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.filter__btn:hover { border-color: var(--c-walnut); }
.filter__btn[aria-pressed="true"] { background: var(--c-espresso); border-color: var(--c-espresso); color: var(--c-white); }
.gallery { display: grid; gap: var(--s-5) var(--s-4); margin: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.gallery__item[hidden] { display: none; }
.gallery__link { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; background: var(--c-linen); }
.gallery__link img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__link:hover img { transform: scale(1.04); }
.gallery__zoom {
  position: absolute; right: var(--s-3); top: var(--s-3); display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--c-espresso);
  opacity: 0; transform: translateY(-4px); transition: opacity var(--t-med), transform var(--t-med) var(--ease);
}
.gallery__link:hover .gallery__zoom, .gallery__link:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery__cap { margin: var(--s-2) 0 0; font-size: var(--fs-sm); font-weight: 560; }
@media (hover: none) { .gallery__zoom { opacity: 1; transform: none; } }

/* lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(24, 20, 17, .96); color: var(--c-white); overflow: hidden;
}
.lightbox::backdrop { background: rgba(24, 20, 17, .9); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: var(--s-3); max-width: min(92vw, 1400px); touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 9rem); width: auto; height: auto; border-radius: var(--r-sm); object-fit: contain; }
.lightbox__cap { font-size: var(--fs-sm); color: var(--c-on-dark-muted); text-align: center; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: var(--c-white); cursor: pointer;
  transition: background-color var(--t-fast);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__prev { left: var(--s-4); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--s-4); top: 50%; transform: translateY(-50%); }
.lightbox__close { right: var(--s-4); top: var(--s-4); }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: var(--s-4); transform: none; } }

/* service area */
.area-inline { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); margin: var(--s-5) 0 0; }
.area-inline li { display: inline-flex; align-items: center; min-height: 36px; padding: .2rem .8rem; border: 1px solid var(--c-line-strong); border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 520; background: var(--c-white); }
.area-inline a { font-weight: 620; }
.area-groups { display: grid; gap: var(--s-6); }
@media (min-width: 800px) { .area-groups { grid-template-columns: 1fr 1fr; gap: var(--s-7) var(--s-8); } }
.area-group { padding-top: var(--s-5); border-top: 1px solid var(--c-line-strong); scroll-margin-top: calc(var(--header-h) + 1rem); }
.area-group__title { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.area-group__intro { color: var(--c-muted); font-size: var(--fs-sm); }
.area-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: var(--s-2) var(--s-4); margin: 0; }
.area-list li { display: flex; align-items: center; gap: .45rem; }
.area-list .icon { color: var(--c-walnut); flex-shrink: 0; }

.map-sketch { position: relative; margin: 0; }
.map-sketch svg { width: 100%; height: auto; }
.map-sketch figcaption { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--c-muted); }

/* faq */
.faq { max-width: 52rem; border-top: 1px solid var(--c-line-strong); }
.faq__item { border-bottom: 1px solid var(--c-line-strong); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 64px; padding: var(--s-4) 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: var(--fs-md); line-height: 1.35;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--c-walnut-dk); }
.faq__icon { flex-shrink: 0; color: var(--c-walnut); transition: transform var(--t-med) var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__a { padding: 0 var(--s-8) var(--s-5) 0; color: var(--c-muted); }
.faq__a p { margin: 0; max-width: var(--measure); }
.faq-layout { display: grid; gap: var(--s-6); }
@media (min-width: 980px) { .faq-layout { grid-template-columns: 4fr 8fr; gap: var(--s-9); } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }

/* CTA band */
.cta-band { background: var(--c-espresso); color: var(--c-on-dark); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: 50%; width: 360px; height: 360px; transform: translateY(-50%);
  background: url("/img/logo-mark-on-dark.svg") center / contain no-repeat; opacity: .07; pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 1000px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: var(--s-9); } }
.cta-band__title { color: var(--c-white); max-width: 22ch; }
.cta-band p { color: var(--c-on-dark-muted); max-width: 40rem; margin: 0; font-size: var(--fs-md); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (min-width: 1000px) { .cta-band__actions { flex-direction: column; align-items: stretch; min-width: 18rem; } }
@media (max-width: 520px) { .cta-band__actions .btn { width: 100%; } }

/* about */
.portrait-ph {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: var(--r-lg);
  background: var(--c-linen); border: 1.5px dashed var(--c-oak-mid); text-align: center; padding: var(--s-6); color: var(--c-muted);
}
.portrait-ph img { width: 96px; height: 96px; opacity: .55; margin: 0 auto var(--s-4); }
.principles { counter-reset: p; display: grid; gap: var(--s-5); margin: 0; }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; } }
.principles li { padding: var(--s-5); background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-md); }
.principles h3 { font-size: var(--fs-md); margin-bottom: var(--s-2); display: flex; align-items: center; gap: var(--s-3); }
.principles h3 .icon { color: var(--c-walnut); }
.principles p { margin: 0; color: var(--c-muted); }
.quote { margin: 0; padding-left: var(--s-5); border-left: 3px solid var(--c-walnut); font-size: var(--fs-lg); line-height: 1.45; font-weight: 520; }
.quote footer { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--c-muted); font-weight: 500; }

/* contact */
.contact-layout { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 7fr 5fr; } }
.form-card { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(1.25rem, .75rem + 2vw, 2.5rem); box-shadow: var(--sh-1); }
.contact-cards { display: grid; gap: var(--s-3); margin: 0 0 var(--s-6); }
.contact-card { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4); background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-md); }
.contact-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--c-linen); color: var(--c-walnut); flex-shrink: 0; }
.contact-card__icon--wa { color: var(--c-wa); }
.contact-card h3 { font-size: var(--fs-xs); font-weight: 650; color: var(--c-muted); margin: 0 0 2px; letter-spacing: .01em; }
.contact-card p { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-card a { color: var(--c-text); text-decoration: none; }
.contact-card a:hover { color: var(--c-walnut-dk); text-decoration: underline; }
.next-steps { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.next-steps li { counter-increment: n; position: relative; padding-left: 2.5rem; margin-bottom: var(--s-4); }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--c-espresso); color: var(--c-white); font-size: var(--fs-xs); font-weight: 700; }


/* status pages */
.status-page { padding-block: clamp(4rem, 3rem + 6vw, 9rem); text-align: center; }
.status-page .icon-wrap { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--c-linen); color: var(--c-walnut); margin-bottom: var(--s-5); }
.status-page h1 { margin-inline: auto; max-width: 20ch; }
.status-page p { max-width: 36rem; margin-inline: auto; }
.status-page .btn-row { justify-content: center; margin-top: var(--s-6); }
.status-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-5); margin-top: var(--s-6); }

/* legal */
.legal h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); }
.legal h3 { font-size: var(--fs-md); }
.legal p, .legal li { color: #3e3530; }
.legal-meta { font-size: var(--fs-sm); color: var(--c-muted); }
.legal-toc { padding: var(--s-5); background: var(--c-linen-2); border-radius: var(--r-md); margin-bottom: var(--s-7); }
.legal-toc h2 { font-size: var(--fs-base); margin: 0 0 var(--s-3); }
.legal-toc ol { margin: 0; columns: 2 16rem; column-gap: var(--s-7); }
.legal-toc li { margin-bottom: var(--s-1); break-inside: avoid; }

/* 9. Forms ------------------------------------------------------------ */
.form__grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: var(--s-2); font-weight: 600; font-size: var(--fs-sm); }
.field__opt { font-weight: 400; color: var(--c-muted); }
.req { color: var(--c-walnut); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--c-text);
  background: var(--c-white); border: 1px solid #a3968a; border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8a7d72; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-espresso); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-walnut); box-shadow: 0 0 0 3px rgba(140, 90, 53, .25); }
.select { position: relative; }
.select select { padding-right: 2.75rem; cursor: pointer; }
.select__icon { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--c-walnut); }
.field__hint { margin: var(--s-2) 0 0; font-size: var(--fs-xs); color: var(--c-muted); }
.field__error { display: flex; gap: .4rem; margin: var(--s-2) 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--c-error); }
.field__error::before { content: "!"; display: inline-grid; place-items: center; flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-top: .12em; border-radius: 50%; background: var(--c-error); color: var(--c-white); font-size: .75rem; }
.field__error[hidden] { display: none; }
.field [aria-invalid="true"] { border-color: var(--c-error); background: #fffafa; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(163, 39, 27, .22); }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: var(--s-1) var(--s-3); align-items: start; }
.field--check label { margin: 0; font-weight: 400; font-size: var(--fs-sm); line-height: 1.5; }
.field--check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--c-walnut); cursor: pointer; }
.field--check .field__error { grid-column: 1 / -1; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__summary { padding: var(--s-4) var(--s-5); margin-bottom: var(--s-5); border: 1px solid var(--c-error); border-left-width: 4px; border-radius: var(--r-sm); background: #fdf3f1; color: var(--c-error); }
.form__summary:focus { outline: 3px solid rgba(163, 39, 27, .35); outline-offset: 2px; }
.form__summary p { margin: 0 0 var(--s-2); font-weight: 650; }
.form__summary ul { margin: 0; padding-left: 1.2em; }
.form__summary a { color: var(--c-error); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-6); }
.form__req { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.form__photo-hint { display: flex; gap: var(--s-3); margin: var(--s-6) 0 0; padding: var(--s-4); background: var(--c-linen-2); border-radius: var(--r-sm); font-size: var(--fs-sm); }
.form__photo-hint .icon { flex-shrink: 0; color: var(--c-walnut); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.form-success { text-align: center; padding: var(--s-7) var(--s-4); }
.form-success:focus { outline: none; }
.form-success__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e6f1e8; color: var(--c-success); margin-bottom: var(--s-4); }
@media (max-width: 520px) { .form__foot .btn { width: 100%; } }

/* 10. Footer ---------------------------------------------------------- */
.site-footer { background: var(--c-espresso); color: var(--c-on-dark-muted); padding-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); font-size: var(--fs-sm); border-top: 1px solid rgba(242, 236, 226, .08); }
.footer__grid { display: grid; gap: var(--s-7) var(--s-6); padding-bottom: var(--s-8); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer__grid { grid-template-columns: 1.5fr 1.15fr 1.1fr 1fr .8fr; } }
.footer__brand img { width: 200px; height: auto; margin-bottom: var(--s-4); }
.footer__brand p { max-width: 22rem; }
.footer__values { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0 0; }
.footer__values li { padding: .15rem .6rem; border: 1px solid rgba(242, 236, 226, .2); border-radius: var(--r-xs); color: var(--c-on-dark); font-size: var(--fs-xs); font-weight: 560; }
.footer__h { font-size: var(--fs-sm); color: var(--c-oak-mid); font-weight: 650; letter-spacing: .01em; margin-bottom: var(--s-4); }
.footer__col ul { margin: 0; }
.footer__col li { margin-bottom: var(--s-1); }
.site-footer a { color: var(--c-on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; min-height: 36px; }
.site-footer a:hover { color: var(--c-white); text-decoration: underline; }
.footer__address { margin-bottom: var(--s-3); color: var(--c-on-dark); }
.footer__contact .icon { color: var(--c-oak-mid); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-6); padding-block: var(--s-5); border-top: 1px solid rgba(242, 236, 226, .12); }
.footer__bottom p { margin: 0; align-self: center; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); margin: 0; }

/* 11. Utilities ------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--s-6); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--s-4); }

/* 12. Motion ---------------------------------------------------------- */
/* Hero: the kitchen assembles once, part by part */
@keyframes asm-in { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes dim-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bubble { 0% { transform: translateX(-6px); } 60% { transform: translateX(2px); } 100% { transform: none; } }
.hero-drawing .asm { animation: asm-in .55s var(--ease) both; transform-box: fill-box; }
.hero-drawing .dim { animation: dim-in .6s ease both; }
.hero-drawing .d1 { animation-delay: .15s; }  .hero-drawing .d2 { animation-delay: .3s; }
.hero-drawing .d3 { animation-delay: .42s; }  .hero-drawing .d4 { animation-delay: .54s; }
.hero-drawing .d5 { animation-delay: .66s; }  .hero-drawing .d6 { animation-delay: .8s; }
.hero-drawing .d7 { animation-delay: .98s; }  .hero-drawing .d8 { animation-delay: 1.14s; }
.hero-drawing .d9 { animation-delay: 1.26s; } .hero-drawing .d10 { animation-delay: 1.38s; }
.hero-drawing .d11 { animation-delay: 1.6s; }  .hero-drawing .d12 { animation-delay: 1.85s; }
.hero-drawing .d13 { animation-delay: 2.05s; }
.hero-drawing .bubble { animation: bubble .9s var(--ease) 2.1s both; transform-box: fill-box; }

/* scroll reveal – only active once JS has marked the page */
.js-reveal .reveal:not(.is-in) { opacity: 0; }
.js-reveal .reveal.is-in { animation: reveal-in .7s var(--ease) var(--reveal-delay, 0ms) both; }
@keyframes reveal-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-reveal .reveal, .js-reveal .reveal:not(.is-in) { opacity: 1; animation: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

@media print {
  .site-header, .mobile-bar, .mnav, .cta-band, .site-footer nav, .menu-toggle { display: none !important; }
  body { padding: 0; }
  a { color: inherit; }
}

/* Small screens: the area sketch is too small to read – the place lists carry the information */
@media (max-width: 599px) {
  .map-sketch { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
  .gallery__cap { font-size: var(--fs-xs); }
  .gallery .media-label { left: var(--s-2); bottom: var(--s-2); font-size: .6875rem; }
}
.split > aside.note, .split > .note { align-self: start; margin-top: 0; }
@media (min-width: 900px) { .split > aside.note { margin-top: calc(var(--fs-h2) * 1.25 + var(--s-4)); } }


/* ===================================================================
   Final layout (simplified structure, real project photos)
   =================================================================== */
* { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }

/* photo proportions */
.media.is-portrait img { aspect-ratio: 4 / 5; }
.media--shadow img { aspect-ratio: 4 / 3; }
.media--shadow.is-portrait img { aspect-ratio: 4 / 5; }

/* service cards (home) */
.svc-cards { display: grid; gap: var(--s-5); margin: 0; }
@media (min-width: 700px) { .svc-cards { grid-template-columns: 1fr 1fr; } }
.svc-card { position: relative; display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow var(--t-med) var(--ease), border-color var(--t-med); }
.svc-card:hover { box-shadow: var(--sh-2); border-color: var(--c-line-strong); }
.svc-card .media { border-radius: 0; }
.svc-card .media img, .svc-card .media.is-portrait img { aspect-ratio: 16 / 10; transition: scale .8s var(--ease); }
.svc-card:hover .media img { scale: 1.03; }
.svc-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); flex: 1; }
.svc-card__title { font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem); margin: var(--s-2) 0 0; }
.svc-card__title a { color: inherit; text-decoration: none; }
.svc-card__title a::after { content: ""; position: absolute; inset: 0; }
.svc-card p { color: var(--c-muted); margin: 0 0 var(--s-2); }
.svc-card .link-more { margin-top: auto; }

/* before / after next to text */
.split--ba { align-items: center; }
@media (min-width: 900px) { .split--ba { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.ba-wrap { max-width: 520px; width: 100%; margin-inline: auto; }
.ba--portrait { aspect-ratio: 3 / 4; }

/* gallery: masonry with natural proportions */
.gallery { display: block; columns: 3 260px; column-gap: var(--s-4); margin: 0; }
.gallery__item { break-inside: avoid; margin-bottom: var(--s-4); }
.gallery__link img { aspect-ratio: auto; height: auto; }
.gallery__cap {
  position: absolute; left: var(--s-3); bottom: var(--s-3); right: auto; margin: 0;
  padding: .3rem .65rem; border-radius: var(--r-xs); background: rgba(255, 255, 255, .92);
  color: var(--c-text); font-size: var(--fs-xs); font-weight: 600; pointer-events: none;
}
.gallery--teaser { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); columns: auto; margin-top: var(--s-6); }
.gallery--teaser .gallery__item { margin: 0; }
.gallery--teaser .gallery__link img { aspect-ratio: 1 / 1; object-fit: cover; }
.gallery--teaser .gallery__cap { display: none; }

/* rows of photos on service pages */
.photo-row { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .photo-row { grid-template-columns: repeat(3, 1fr); } }
.photo-row .media img { aspect-ratio: 4 / 5; }

.cols-2 { display: grid; gap: var(--s-2) var(--s-7); }
@media (min-width: 720px) { .cols-2 { grid-template-columns: 1fr 1fr; } }
.svc-block { scroll-margin-top: calc(var(--header-h) + 1rem); }
.page-intro--compact { padding-bottom: var(--s-6); }
.contact-aside h2 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
.contact-aside h2 + * { margin-top: var(--s-4); }
.contact-aside .next-steps { margin-bottom: 0; }
.contact-aside .contact-cards { margin-bottom: var(--s-7); }
.area-groups { grid-template-columns: 1fr; gap: var(--s-5); margin-top: var(--s-5); }
@media (min-width: 640px) { .area-groups { grid-template-columns: repeat(3, 1fr); } }

/* body copy never below 16 px */
.why p, .step p, .svc-row p, .principles p, .area-group__intro, .faq__a { font-size: 1rem; }

/* form: fields in a row always share the same top line and height */
.form__grid { align-items: start; }
.field { display: grid; align-content: start; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select { height: 52px; }

/* header: five links */
@media (min-width: 1080px) {
  .nav { display: block; }
  .header__actions { margin-left: var(--s-2); }
  .menu-toggle { display: none; }
}
.gallery { columns: 2 150px; column-gap: var(--s-3); }
.gallery__item { margin-bottom: var(--s-3); }
@media (min-width: 900px) { .gallery { columns: 3; column-gap: var(--s-4); } .gallery__item { margin-bottom: var(--s-4); } }
@media (max-width: 520px) { .gallery__cap { left: var(--s-2); bottom: var(--s-2); font-size: .8125rem; } }
/* long German compound words on small phones */
h1, h2, h3, .legal p, .legal li, .lead { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* Button groups: main.js sets --btn-w to the widest button, so all buttons in a group match */
.btn-row > .btn, .hero__actions > .btn, .cta-band__actions > .btn { min-width: min(var(--btn-w, 0px), 100%); }
@media (max-width: 600px) { .btn-row > .btn, .hero__actions > .btn, .cta-band__actions > .btn { width: 100%; } }
