/* =========================================================================
 * KIRSCH FINANZ — Warm Modern Design System
 * Built from scratch around a warm cream palette (parchment / sand / walnut)
 * with burgundy as brand accent. Restraint over decoration; lines and tonal
 * shifts before cards. Fraunces serif for display, Manrope for everything UI.
 * ====================================================================== */

/* -------------------------------------------------------------------------
 * 1. Design tokens
 * ---------------------------------------------------------------------- */
:root {
  /* Warm neutrals — the dominant identity */
  --bg:                 #F4ECDB;   /* parchment, page background */
  --bg-tint:            #EFE5CF;   /* tinted band, alternating section */
  --bg-deep:            #E9DEC4;   /* deeper sand for bands and breaks */
  --surface:            #FBF6EC;   /* lifted surface, slightly warmer than bg */
  --surface-2:          #F8F1E1;   /* second-step surface */

  /* Walnut text scale — warm dark, never #000 */
  --ink:                #2E2018;   /* primary text */
  --ink-soft:           #4D3A30;   /* secondary text */
  --ink-muted:          #7A6857;   /* muted/captions */
  --ink-faint:          #A8967F;   /* placeholder, hint */

  /* Borders — warm beige, never grey */
  --line:               #D9C9A8;   /* default border */
  --line-soft:          #E6D9BD;   /* subtle separator */
  --line-strong:        #BFA985;   /* stronger border for inputs */

  /* Brand — used as punctuation, not field */
  --brand:              #960000;   /* burgundy, CTA + emphasis */
  --brand-dark:         #6B0000;   /* hover */
  --brand-soft:         #F1DCD8;   /* burgundy tinted background */
  --gold:               #B58A38;   /* warmer gold than the original */
  --gold-soft:          #E8D6A8;   /* gold tinted surface */

  /* Functional roles */
  --on-brand:           #FBF6EC;   /* text on burgundy */
  --focus:              #B58A38;   /* focus ring, gold for warmth */
  --success:            #4A6B3A;   /* warm olive green */
  --success-soft:       #DFE6D2;
  --error:              #7E2020;
  --error-soft:         #F0DCD8;

  /* Typography */
  --font-display:       'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:          'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:          ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, monospace;

  /* Fluid type scale */
  --text-xs:    clamp(0.75rem, 0.72rem + 0.13vw, 0.8125rem);
  --text-sm:    clamp(0.8125rem, 0.78rem + 0.16vw, 0.875rem);
  --text-base:  clamp(0.9375rem, 0.91rem + 0.16vw, 1rem);
  --text-md:    clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg:    clamp(1.125rem, 1.06rem + 0.32vw, 1.25rem);
  --text-xl:    clamp(1.375rem, 1.23rem + 0.62vw, 1.625rem);
  --text-2xl:   clamp(1.75rem, 1.51rem + 1.05vw, 2.25rem);
  --text-3xl:   clamp(2.25rem, 1.81rem + 1.93vw, 3.125rem);
  --text-4xl:   clamp(2.75rem, 2.07rem + 2.99vw, 4.25rem);
  --text-5xl:   clamp(3.25rem, 2.31rem + 4.18vw, 5.25rem);

  /* Spacing — 4px scale */
  --s-1:        0.25rem;
  --s-2:        0.5rem;
  --s-3:        0.75rem;
  --s-4:        1rem;
  --s-5:        1.25rem;
  --s-6:        1.5rem;
  --s-7:        1.75rem;
  --s-8:        2rem;
  --s-10:       2.5rem;
  --s-12:       3rem;
  --s-14:       3.5rem;
  --s-16:       4rem;
  --s-20:       5rem;
  --s-24:       6rem;
  --s-32:       8rem;

  /* Radius — disciplined, not rounded-everything */
  --r-xs:       2px;
  --r-sm:       4px;
  --r-md:       8px;
  --r-lg:       14px;
  --r-pill:     999px;

  /* Shadows — warm-tinted, never generic black */
  --shadow-xs:  0 1px 2px rgba(46, 32, 24, 0.04);
  --shadow-sm:  0 2px 6px rgba(46, 32, 24, 0.06), 0 1px 2px rgba(46, 32, 24, 0.04);
  --shadow-md:  0 8px 20px rgba(46, 32, 24, 0.08), 0 2px 6px rgba(46, 32, 24, 0.05);
  --shadow-lg:  0 20px 48px rgba(46, 32, 24, 0.12), 0 6px 18px rgba(46, 32, 24, 0.06);
  --shadow-focus: 0 0 0 3px rgba(181, 138, 56, 0.28);

  /* Transitions */
  --t-fast:     140ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --t:          220ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-slow:     360ms cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Layout */
  --container:  min(1240px, 100% - 2.5rem);
  --container-narrow: min(820px, 100% - 2rem);
  --container-prose:  min(700px, 100% - 2rem);

  /* Header height for scroll-padding */
  --header-h:   88px;
}

@media (max-width: 700px) {
  :root { --header-h: 72px; }
}

/* -------------------------------------------------------------------------
 * 2. Reset
 * ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  font-feature-settings: "ss01", "ss02", "cv11";
  font-weight: 400;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
img { font-style: italic; vertical-align: middle; }

button { background: none; border: none; font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

a { color: var(--brand); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-dark); }

ul, ol { list-style: none; }

table { border-collapse: collapse; width: 100%; }

::selection { background: var(--brand); color: var(--on-brand); }

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--r-sm);
}

/* -------------------------------------------------------------------------
 * 3. Typography roles
 * ---------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); line-height: 1.2; }
h4 { font-size: var(--text-lg); line-height: 1.3; }

em {
  font-style: italic;
  color: var(--brand);
}

p {
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}

strong { font-weight: 600; color: var(--ink); }

/* Reusable type primitives */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.display em { color: var(--brand); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow::before {
  content: '';
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
}
.eyebrow--solo { color: var(--gold); }
.eyebrow--solo::before { background: var(--gold); }

.lead {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  text-wrap: pretty;
}

.caption {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: -0.03em;
}

/* -------------------------------------------------------------------------
 * 4. Layout primitives
 * ---------------------------------------------------------------------- */
.wrap        { width: var(--container);        margin-inline: auto; }
.wrap-narrow { width: var(--container-narrow); margin-inline: auto; }
.wrap-prose  { width: var(--container-prose);  margin-inline: auto; }

main { display: block; }

/* Section primitive — every section gets vertical rhythm */
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
  position: relative;
}
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--xl    { padding-block: clamp(6rem, 10vw, 9rem); }
.section--tint  { background: var(--bg-tint); }
.section--deep  { background: var(--bg-deep); }
.section--ink   { background: var(--ink); color: rgba(251, 246, 236, 0.85); }
.section--ink h2, .section--ink h3 { color: var(--surface); }
.section--brand { background: linear-gradient(155deg, var(--brand) 0%, var(--brand-dark) 100%); color: rgba(251, 246, 236, 0.92); }
.section--brand h2, .section--brand h3 { color: var(--surface); }
.section--brand em { color: var(--gold-soft); }

/* Section header — eyebrow + heading + lead */
.section__head {
  display: grid;
  gap: var(--s-5);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 56rem;
}
.section__head--center { text-align: center; margin-inline: auto; }

/* -------------------------------------------------------------------------
 * 5. Buttons — one disciplined system
 * ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t-fast), box-shadow var(--t);
  position: relative;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; transition: transform var(--t); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn--primary:hover {
  background: var(--brand-dark);
  color: var(--on-brand);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
  color: var(--ink);
}

.btn--on-brand {
  background: var(--surface);
  color: var(--brand);
}
.btn--on-brand:hover {
  background: var(--bg);
  color: var(--brand-dark);
}

.btn--on-ink {
  background: var(--surface);
  color: var(--ink);
}
.btn--on-ink:hover { background: var(--bg); color: var(--ink); }

.btn--link {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--ink);
  position: relative;
}
.btn--link::after {
  content: '';
  position: absolute;
  inset: auto 0 -2px 0;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform var(--t);
}
.btn--link:hover { color: var(--brand); }
.btn--link:hover::after { background: var(--brand); transform: scaleX(1.05); }

.btn--lg { padding: 1.0625rem 1.875rem; font-size: var(--text-base); }
.btn--sm { padding: 0.6875rem 1.125rem; font-size: var(--text-xs); }

/* Icon-only button */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-soft);
  border: 1.5px solid var(--line);
  cursor: pointer;
  transition: var(--t);
}
.btn-icon:hover { color: var(--brand); border-color: var(--brand); }
.btn-icon svg { width: 1.125rem; height: 1.125rem; }

/* -------------------------------------------------------------------------
 * 6. Links
 * ---------------------------------------------------------------------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}
.link-arrow::after {
  content: '→';
  transition: transform var(--t);
}
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100000;
  padding: 0.75rem 1.25rem;
  background: var(--brand);
  color: var(--on-brand);
  text-decoration: none;
  border-radius: var(--r-md);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* -------------------------------------------------------------------------
 * 7. Site header — friendly, human-scaled, segmented
 * ---------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 236, 219, 0.85);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.site-header.is-scrolled {
  background: rgba(244, 236, 219, 0.94);
  border-bottom-color: var(--line-soft);
}

/* Slim contact strip — only on wide screens */
.topbar {
  background: var(--ink);
  color: rgba(251, 246, 236, 0.78);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding-block: 0.625rem;
  flex-wrap: wrap;
}
.topbar a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  transition: color var(--t-fast);
}
.topbar a:hover { color: var(--gold-soft); }
.topbar__contact {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.topbar__meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.topbar svg { width: 12px; height: 12px; color: var(--gold); }
@media (max-width: 720px) {
  .topbar { display: none; }
}

/* Main nav — bigger, more confident */
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-8);
  padding-block: clamp(1rem, 1.5vw, 1.25rem);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--brand) 0%, var(--brand-dark) 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand__tag {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
@media (max-width: 480px) {
  .brand__tag { display: none; }
}

/* Custom WordPress logo */
.custom-logo-link { display: inline-block; }
.custom-logo { max-height: 44px; width: auto; }

/* Primary menu — clean, segmented hover */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  justify-content: center;
}
.nav__menu > li { position: relative; }
.nav__menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.625rem 0.9375rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--r-pill);
  transition: color var(--t-fast), background var(--t-fast);
  letter-spacing: 0.01em;
}
.nav__menu > li > a:hover,
.nav__menu > li > a:focus-visible {
  color: var(--ink);
  background: var(--surface-2);
}
.nav__menu > li.is-current > a,
.nav__menu > li > a.is-active {
  color: var(--brand);
}
.nav__menu > li.has-submenu > a::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.5;
  transition: transform var(--t), opacity var(--t);
}
.nav__menu > li.has-submenu:hover > a::after,
.nav__menu > li.has-submenu:focus-within > a::after {
  opacity: 1;
  transform: rotate(45deg) translateY(0);
}

/* Submenu — flyout */
.submenu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 260px;
  padding: 0.625rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t), transform var(--t);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.submenu > li > a {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--r-md);
  transition: background var(--t-fast), color var(--t-fast);
}
.submenu > li > a:hover { background: var(--bg-tint); color: var(--brand); }

/* Nav CTA + mobile toggle */
.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  justify-self: end;
}
.nav__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: transparent;
  transition: var(--t);
}
.nav__toggle:hover { border-color: var(--brand); color: var(--brand); }
.nav__toggle svg { width: 1.125rem; height: 1.125rem; }

/* Mobile menu */
@media (max-width: 1000px) {
  .nav { grid-template-columns: auto 1fr; gap: var(--s-4); }
  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    padding: var(--s-6) var(--s-5) var(--s-8);
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t-slow), opacity var(--t), visibility var(--t);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--line);
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__menu > li > a {
    padding: 1rem 1.125rem;
    font-size: var(--text-lg);
    font-family: var(--font-display);
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    justify-content: space-between;
  }
  .nav__menu > li > a:hover { background: transparent; color: var(--brand); }
  .nav__menu > li:last-child > a { border-bottom: none; }
  .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: var(--bg-tint);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0.25rem 1rem 0.75rem;
    margin-top: 0;
  }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }
}

body.is-menu-open { overflow: hidden; }

/* -------------------------------------------------------------------------
 * 8. Page hero (inner pages — not the home page hero)
 * ---------------------------------------------------------------------- */
.page-hero {
  padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.page-hero__inner {
  display: grid;
  gap: var(--s-5);
  max-width: 64rem;
}
.page-hero h1 {
  font-size: var(--text-4xl);
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--ink);
}
.page-hero h1 em { color: var(--brand); font-style: italic; }
.page-hero__lead {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* Breadcrumb */
.breadcrumb {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--s-2);
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-muted); text-decoration: none; transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb > * + *::before {
  content: '/';
  margin-right: 0.4375rem;
  color: var(--line-strong);
}
.breadcrumb span:last-child { color: var(--ink); }

/* -------------------------------------------------------------------------
 * 9. Prose (long-form content for legal pages, blog posts)
 * ---------------------------------------------------------------------- */
.prose {
  max-width: 42rem;
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose > * + * { margin-top: 1.25rem; }
.prose h2 {
  font-size: var(--text-2xl);
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.prose p { font-size: var(--text-md); color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol {
  padding-left: 1.5rem;
  list-style: revert;
  color: var(--ink-soft);
}
.prose li { margin-block: 0.375rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li {
  position: relative;
  padding-left: 1.5rem;
}
.prose ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.4375rem;
  height: 1px;
  background: var(--gold);
}
.prose a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--brand-dark); }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--r-lg); }
.prose figcaption { font-size: var(--text-xs); color: var(--ink-muted); text-align: center; margin-top: 0.5rem; }
.prose blockquote {
  margin: 2rem 0;
  padding: 1rem 0 1rem 1.5rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--ink);
}
.prose .info-block {
  margin: 1.5rem 0;
  padding: 1.125rem 1.375rem;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
}
.prose .info-block p { font-size: var(--text-sm); margin: 0; }
.prose .info-block p + p { margin-top: 0.5rem; }
.prose .meta {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}

/* -------------------------------------------------------------------------
 * 10. Site footer
 * ---------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(251, 246, 236, 0.7);
  padding-block: clamp(4rem, 7vw, 6rem) var(--s-8);
  font-size: var(--text-sm);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  opacity: 0.4;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-12) var(--s-8);
  margin-bottom: var(--s-12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-10) var(--s-8); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand__name { color: var(--surface); }
.footer-brand .brand__tag  { color: rgba(251, 246, 236, 0.5); }
.footer-brand p {
  margin-top: var(--s-5);
  color: rgba(251, 246, 236, 0.55);
  font-size: var(--text-sm);
  max-width: 32ch;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-5);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col li { line-height: 1.5; }
.footer-col a {
  color: rgba(251, 246, 236, 0.7);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--gold-soft); }

.footer-bottom {
  padding-top: var(--s-6);
  border-top: 1px solid rgba(251, 246, 236, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-size: var(--text-xs);
  color: rgba(251, 246, 236, 0.45);
}
.footer-legal {
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.footer-legal a { color: rgba(251, 246, 236, 0.55); transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--gold-soft); }

/* =========================================================================
 * HOME PAGE
 * Warm split hero → process rail → broker note (image+quote) →
 * services shelf → proof band → closing split
 * ====================================================================== */

/* ---- Hero (home) — warm split, gently asymmetric ---- */
.home-hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 7vw, 6rem);
  background: var(--bg);
  overflow: hidden;
}
.home-hero::before {
  /* Warm light spill from the top-right corner */
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse 60% 50% at center, rgba(181, 138, 56, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 960px) {
  .home-hero__grid { grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 3.5rem); }
}

.home-hero__copy { max-width: 36rem; }

.home-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--ink);
  margin-top: var(--s-6);
  text-wrap: balance;
}
.home-hero__title em {
  font-style: italic;
  color: var(--brand);
}

.home-hero__lead {
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 50ch;
}

.home-hero__actions {
  margin-top: clamp(2rem, 3.5vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

.home-hero__meta {
  margin-top: clamp(2rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}
.home-hero__meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(74, 107, 58, 0.18);
}

/* Hero visual — photograph slot with logo-seal fallback */
.home-hero__visual {
  position: relative;
}

.home-hero__media {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-deep) 100%);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.home-hero__media img,
.home-hero__media picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Logo seal fallback when no hero photo is uploaded */
.home-hero__seal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
    linear-gradient(155deg, var(--surface) 0%, var(--bg-deep) 100%);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.home-hero__seal::before,
.home-hero__seal::after {
  content: '';
  position: absolute;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.22;
  pointer-events: none;
}
.home-hero__seal::before {
  width: 78%;
  aspect-ratio: 1;
}
.home-hero__seal::after {
  width: 56%;
  aspect-ratio: 1;
  opacity: 0.15;
}
.home-hero__seal-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 18rem;
}
.home-hero__seal-logo {
  width: 100%;
  height: auto;
  max-width: 14rem;
  filter: drop-shadow(0 12px 24px rgba(46, 32, 24, 0.12));
}
.home-hero__seal-divider {
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto 1.125rem;
}
.home-hero__seal-text {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Floating credentials badge over the visual */
.home-hero__credential {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  max-width: 17rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  z-index: 2;
}
@media (max-width: 600px) {
  .home-hero__credential { left: 1rem; bottom: -1.25rem; max-width: 16rem; padding: 0.875rem 1rem; }
}
.home-hero__credential-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.home-hero__credential-icon svg { width: 1.125rem; height: 1.125rem; }
.home-hero__credential-text {
  font-size: var(--text-xs);
  line-height: 1.45;
  color: var(--ink-soft);
}
.home-hero__credential-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}

/* ---- Process rail ----
   How we work, 4 steps as a horizontal journey rail.
   No cards — just numbered stops on a line. */
.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
  margin-top: clamp(3rem, 5vw, 4rem);
}
.process-rail::before {
  content: '';
  position: absolute;
  top: 1.125rem;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, var(--gold) 50%, var(--line) 100%);
  z-index: 0;
}
@media (max-width: 880px) {
  .process-rail { grid-template-columns: 1fr; gap: var(--s-6); }
  .process-rail::before { display: none; }
}
.process-step {
  position: relative;
  display: grid;
  gap: var(--s-3);
  padding-top: 0;
  text-align: left;
}
.process-step__dot {
  position: relative;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: var(--s-3);
}
.process-step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.process-step__body {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ---- Broker note — paired image + quote ---- */
.broker-note__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 880px) {
  .broker-note__grid { grid-template-columns: 1fr; }
}
.broker-note__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--surface-2) 100%);
  box-shadow: var(--shadow-sm);
}
.broker-note__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.broker-note__portrait-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.broker-note__portrait-fallback-mark {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--brand) 0%, var(--brand-dark) 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.broker-note__portrait-fallback-mark svg {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--surface);
}

.broker-note__quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 400;
  font-style: normal;
  margin-bottom: var(--s-6);
  text-wrap: pretty;
}
.broker-note__quote::before {
  content: '“';
  display: block;
  font-size: 3.5rem;
  line-height: 0.4;
  color: var(--gold);
  margin-bottom: 1rem;
}
.broker-note__quote em { color: var(--brand); font-style: italic; }

.broker-note__attribution {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--text-sm);
  color: var(--ink-muted);
}
.broker-note__attribution-rule {
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
}
.broker-note__attribution strong {
  font-weight: 600;
  color: var(--ink);
  margin-right: 0.4375rem;
}

/* ---- Services shelf ----
   Two columns (Privat | Firmen), each is a list of services with
   a small icon. No card chrome. Hover lifts the item. */
.services-shelf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 800px) {
  .services-shelf { grid-template-columns: 1fr; gap: var(--s-10); }
}

.services-shelf__col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.services-shelf__col-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.services-shelf__col-count {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.services-shelf__list { display: flex; flex-direction: column; }
.services-shelf__item {
  display: grid;
  grid-template-columns: 2.25rem 1fr auto;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-1);
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  transition: background var(--t-fast), padding var(--t);
}
.services-shelf__item:last-child { border-bottom: none; }
.services-shelf__item:hover {
  background: var(--surface-2);
  padding-inline: var(--s-3);
}
.services-shelf__item-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  color: var(--brand);
  transition: var(--t-fast);
}
.services-shelf__item:hover .services-shelf__item-icon {
  background: var(--brand-soft);
  border-color: var(--brand-soft);
}
.services-shelf__item-icon svg { width: 1.125rem; height: 1.125rem; stroke-width: 1.5; }
.services-shelf__item-label {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.services-shelf__item-desc {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--ink-muted);
  margin-top: 2px;
  line-height: 1.4;
  font-weight: 400;
}
.services-shelf__item-arrow {
  color: var(--ink-faint);
  transition: color var(--t-fast), transform var(--t);
}
.services-shelf__item:hover .services-shelf__item-arrow {
  color: var(--brand);
  transform: translateX(3px);
}
.services-shelf__item-arrow svg { width: 1.125rem; height: 1.125rem; stroke-width: 1.5; }

/* ---- Proof band — warm horizontal stats, hairline dividers, singular treatment ---- */
.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 720px) {
  .proof-band { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) 0; }
}
@media (max-width: 420px) {
  .proof-band { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-5); }
}
.proof-stat {
  text-align: center;
  padding-inline: var(--s-4);
  position: relative;
}
.proof-stat + .proof-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: var(--line-soft);
}
@media (max-width: 720px) {
  .proof-stat + .proof-stat::before { display: none; }
  .proof-stat:nth-child(odd) + .proof-stat::before {
    display: block;
    left: -0.5rem;
    top: 18%;
    bottom: 18%;
  }
}
.proof-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.025em;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-variant-numeric: tabular-nums;
}
.proof-stat__num em {
  font-style: italic;
  color: var(--brand);
  font-size: 0.65em;
  margin-left: 2px;
}
.proof-stat__label {
  display: block;
  margin-top: 0.625rem;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ---- Closing split (home page CTA section) ---- */
.closing-split {
  background: linear-gradient(155deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.closing-split::before,
.closing-split::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(232, 214, 168, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.closing-split::before {
  width: 600px;
  height: 600px;
  top: -260px;
  right: -180px;
}
.closing-split::after {
  width: 380px;
  height: 380px;
  top: -100px;
  right: -50px;
  border-color: rgba(232, 214, 168, 0.12);
}
.closing-split__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .closing-split__grid { grid-template-columns: 1fr; } }

.closing-split__copy { color: var(--surface); }
.closing-split__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: var(--s-5);
}
.closing-split__eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: currentColor;
}
.closing-split__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--surface);
  margin-bottom: var(--s-5);
}
.closing-split__title em {
  font-style: italic;
  color: var(--gold-soft);
}
.closing-split__lead {
  font-size: var(--text-md);
  line-height: 1.55;
  color: rgba(251, 246, 236, 0.78);
  max-width: 50ch;
  margin-bottom: var(--s-8);
}
.closing-split__actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  align-items: center;
}

.closing-split__card {
  background: rgba(251, 246, 236, 0.06);
  border: 1px solid rgba(232, 214, 168, 0.18);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.closing-split__card h3 {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: var(--s-5);
}
.closing-split__card-row {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: var(--s-4);
  align-items: flex-start;
  padding-block: var(--s-3);
  border-bottom: 1px solid rgba(232, 214, 168, 0.12);
  font-size: var(--text-sm);
  color: rgba(251, 246, 236, 0.85);
  line-height: 1.5;
}
.closing-split__card-row:last-child { border-bottom: none; }
.closing-split__card-row svg { width: 1rem; height: 1rem; color: var(--gold-soft); margin-top: 3px; flex-shrink: 0; }
.closing-split__card-row a { color: var(--surface); text-decoration: none; transition: color var(--t-fast); }
.closing-split__card-row a:hover { color: var(--gold-soft); }

/* =========================================================================
 * CONTACT PAGE
 * Warm split: form on left, contact info as friendly studio cards on right
 * ====================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; gap: var(--s-12); }
}

.contact-form-wrap { max-width: 36rem; }
.contact-form-wrap .eyebrow { margin-bottom: var(--s-5); }
.contact-form-wrap h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--s-4);
  color: var(--ink);
  line-height: 1.08;
}
.contact-form-wrap > p {
  font-size: var(--text-md);
  color: var(--ink-muted);
  margin-bottom: var(--s-8);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding: 0;
  background: transparent;
  border: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
}
.form-field label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.form-field label span[aria-hidden] {
  color: var(--brand);
  font-weight: 700;
  margin-left: 3px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--ink);
  line-height: 1.4;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}
.form-field input,
.form-field select { height: 52px; }
.form-field textarea {
  min-height: 160px;
  resize: vertical;
  padding-block: 1rem;
  line-height: 1.55;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-faint);
}
.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
  border-color: var(--line-strong);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(150, 0, 0, 0.10);
  background: var(--surface);
}

/* Select chevron */
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237A6857' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.125rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}

/* Consent box */
.consent-box {
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: 1.55;
  cursor: pointer;
  margin: 0;
}
.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}
.consent-label a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* Submit row */
.form-submit-row {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
  margin-top: var(--s-3);
}
.form-security-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: var(--text-xs);
  color: var(--ink-muted);
  margin: 0;
}
.form-security-note svg { color: var(--brand); flex-shrink: 0; }

/* Flash messages */
.form-flash {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  border: 1px solid;
  margin-bottom: var(--s-5);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.form-flash svg { flex-shrink: 0; margin-top: 2px; }
.form-flash strong { display: block; margin-bottom: 2px; font-weight: 600; }
.form-flash p { margin: 0; font-size: var(--text-sm); color: inherit; opacity: 0.85; }
.form-flash--success {
  border-color: rgba(74, 107, 58, 0.3);
  color: var(--success);
  background: var(--success-soft);
}
.form-flash--error {
  border-color: rgba(126, 32, 32, 0.3);
  color: var(--error);
  background: var(--error-soft);
}
.form-status {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  min-height: 1.2em;
  margin-top: var(--s-3);
}

/* Honeypot — keep visually hidden but accessible */
.contact-form > div[aria-hidden="true"] { display: none; }

/* Contact info sidebar — warm studio cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
@media (min-width: 961px) {
  .contact-info { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-xs);
}
.contact-card__head {
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line-soft);
}
.contact-card__badge {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4375rem;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}

.contact-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin: 0 0 var(--s-5);
  padding: 0;
}
.contact-card__list li {
  display: grid;
  grid-template-columns: 1.125rem 1fr;
  gap: 0.75rem;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ink-soft);
  align-items: start;
}
.contact-card__list svg {
  color: var(--brand);
  margin-top: 3px;
  width: 1.125rem;
  height: 1.125rem;
}
.contact-card__list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}
.contact-card__list a:hover { border-bottom-color: var(--brand); }

.contact-card__hours {
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-soft);
}
.contact-card__hours h4 {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.contact-card__hours p {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* Accent contact card (Schadensmeldung) */
.contact-card--accent {
  background: linear-gradient(155deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-color: transparent;
  color: rgba(251, 246, 236, 0.9);
  position: relative;
  overflow: hidden;
  padding: clamp(1.625rem, 3vw, 2rem);
}
.contact-card--accent::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(232, 214, 168, 0.3);
  border-radius: 50%;
  pointer-events: none;
}
.contact-card--accent h3 {
  color: var(--surface);
  font-style: italic;
  position: relative;
  z-index: 1;
}
.contact-card--accent p {
  color: rgba(251, 246, 236, 0.78);
  font-size: var(--text-sm);
  line-height: 1.55;
  margin: var(--s-3) 0 var(--s-5);
  position: relative;
  z-index: 1;
}
.contact-card--accent .btn {
  background: var(--surface);
  color: var(--brand);
  position: relative;
  z-index: 1;
}
.contact-card--accent .btn:hover {
  background: var(--bg);
  color: var(--brand-dark);
}

/* =========================================================================
 * LEISTUNGEN PAGE
 * Section privat (alternating tint) + section firmen (deep) + final CTA
 * ====================================================================== */
.services-detail__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 800px) { .services-detail__intro { grid-template-columns: 1fr; gap: var(--s-6); } }
.services-detail__intro h2 {
  font-size: var(--text-3xl);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.services-detail__intro p { color: var(--ink-muted); }

.services-shelf--detail .services-shelf__item {
  grid-template-columns: 3rem 1fr auto;
  gap: var(--s-5);
  padding-block: 1.125rem;
}
.services-shelf--detail .services-shelf__item-icon {
  width: 3rem;
  height: 3rem;
}
.services-shelf--detail .services-shelf__item-icon svg { width: 1.375rem; height: 1.375rem; }

/* =========================================================================
 * ÜBER UNS PAGE
 * Image-led hero band, values shelf, locations split
 * ====================================================================== */
.about-feature {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) { .about-feature { grid-template-columns: 1fr; } }
.about-feature__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--surface-2) 100%);
  box-shadow: var(--shadow-sm);
}
.about-feature__media-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.about-feature__media-fallback-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.about-feature__media-fallback-icon svg { width: 2.25rem; height: 2.25rem; }
.about-feature__body h2 {
  font-size: var(--text-3xl);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: var(--s-5);
}
.about-feature__body h2 em { color: var(--brand); font-style: italic; }
.about-feature__body p {
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--ink-soft);
}
.about-feature__body p + p { margin-top: var(--s-4); }

/* Values shelf — 2 columns, hairline grid */
.values-shelf {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
@media (max-width: 720px) { .values-shelf { grid-template-columns: 1fr; } }
.value-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--s-3);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  transition: background var(--t-fast);
}
.value-card:hover { background: var(--bg-tint); }
.value-card:nth-child(2n) { border-right: none; }
.value-card:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 720px) {
  .value-card { border-right: none; }
  .value-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .value-card:last-child { border-bottom: none; }
}
.value-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.value-card__icon svg { width: 1.125rem; height: 1.125rem; stroke-width: 1.5; }
.value-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 0.25rem;
}
.value-card p {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Locations split */
.locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}
@media (max-width: 700px) { .locations { grid-template-columns: 1fr; } }
.location {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.location__badge {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.location h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--s-3);
}
.location p {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: 1.6;
}
.location p strong { color: var(--ink); font-weight: 500; }
.location__contact {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
  font-size: var(--text-sm);
}
.location__contact a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}
.location__contact a:hover { border-bottom-color: var(--brand); }

/* =========================================================================
 * ERSTINFORMATION + COOKIE MODALS
 * Markup is fixed (JS depends on class names + body classes). Only the
 * visual layer is re-tuned to the warm-modern palette.
 * ====================================================================== */

/* Common dialog look — shared by both modals */
.erstinfo-modal,
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms cubic-bezier(0.2, 0.7, 0.2, 1), visibility 280ms;
}
.erstinfo-modal[hidden],
.cookie-modal[hidden] { display: none !important; }
.erstinfo-modal.is-open,
.cookie-modal.is-open { opacity: 1; visibility: visible; }

.erstinfo-modal__backdrop,
.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 32, 24, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.erstinfo-modal__dialog,
.cookie-modal__dialog {
  position: relative;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(0.985);
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.erstinfo-modal.is-open .erstinfo-modal__dialog,
.cookie-modal.is-open .cookie-modal__dialog {
  transform: translateY(0) scale(1);
}

.erstinfo-modal__close,
.cookie-modal__close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  z-index: 2;
}
.erstinfo-modal__close:hover,
.cookie-modal__close:hover { background: var(--bg-tint); color: var(--ink); }
.erstinfo-modal[data-mode="initial"] .erstinfo-modal__close,
.cookie-modal[data-mode="initial"] .cookie-modal__close { display: none !important; }

/* ---- Erstinformation modal ---- */
.erstinfo-modal__dialog {
  max-width: 640px;
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
}
.erstinfo-modal__header {
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem) var(--s-5);
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
  flex-shrink: 0;
}
.erstinfo-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 var(--s-2);
}
.erstinfo-modal__subtitle {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
}
.erstinfo-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--s-5) clamp(1.5rem, 3vw, 2rem);
  text-align: left;
  -webkit-overflow-scrolling: touch;
}
.erstinfo-modal__body section + section {
  margin-top: var(--s-6);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line-soft);
}
.erstinfo-modal__body h3 {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 var(--s-3);
  letter-spacing: -0.005em;
}
.erstinfo-modal__body p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 var(--s-3);
}
.erstinfo-modal__body p:last-child { margin-bottom: 0; }
.erstinfo-modal__body strong { font-weight: 600; color: var(--ink); }
.erstinfo-modal__body a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.erstinfo-modal__ack {
  padding: var(--s-5) clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line-soft);
  background: var(--bg-tint);
  flex-shrink: 0;
}
.erstinfo-modal__ack-label {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--ink);
  line-height: 1.5;
}
.erstinfo-modal__ack-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}
.erstinfo-modal__actions {
  padding: var(--s-5) clamp(1.5rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  flex-shrink: 0;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 520px) { .erstinfo-modal__actions { grid-template-columns: 1fr; } }
.erstinfo-modal__btn {
  width: 100%;
  justify-content: center;
}
.erstinfo-modal__btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---- Cookie modal ---- */
.cookie-modal__dialog {
  max-width: 540px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: clamp(1.5rem, 3vw, 2rem);
}
.cookie-modal__header {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.cookie-modal__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.cookie-modal__icon svg { width: 1.25rem; height: 1.25rem; }
.cookie-modal__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.375rem;
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
.cookie-modal__text {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 var(--s-5);
}
.cookie-modal__text strong { color: var(--ink); }
.cookie-modal__text a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.cookie-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
@media (max-width: 420px) { .cookie-modal__actions { grid-template-columns: 1fr; } }
.cookie-modal__btn { width: 100%; justify-content: center; }

.cookie-modal__settings-toggle {
  background: transparent;
  border: none;
  padding: 0.4375rem 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  transition: color var(--t-fast);
}
.cookie-modal__settings-toggle:hover { color: var(--ink); }
.cookie-modal__chevron { transition: transform var(--t); }
.cookie-modal__settings-toggle[aria-expanded="true"] .cookie-modal__chevron { transform: rotate(180deg); }

.cookie-modal__settings {
  margin-top: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-soft);
}
.cookie-modal__settings[hidden] { display: none; }

.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line-soft);
}
.cookie-option:last-of-type { border-bottom: none; }
.cookie-option__info { flex: 1; }
.cookie-option__title {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.cookie-option__desc {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  line-height: 1.5;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--line-strong);
  border-radius: var(--r-pill);
  transition: background var(--t-fast);
  cursor: pointer;
}
.toggle__slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--surface);
  border-radius: 50%;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t);
}
.toggle input:checked + .toggle__slider { background: var(--brand); }
.toggle input:checked + .toggle__slider::before { transform: translateX(16px); }
.toggle input:disabled + .toggle__slider { opacity: 0.6; cursor: not-allowed; }

.cookie-modal__save { width: 100%; margin-top: var(--s-4); justify-content: center; }

.cookie-modal__footer {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-size: var(--text-xs);
}
.cookie-modal__footer a {
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.cookie-modal__footer a:hover { color: var(--ink); border-bottom-color: currentColor; }
.cookie-modal__footer span { color: var(--line-strong); }

/* Floating "reopen cookie settings" button */
.cookie-toggle-btn {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 90;
  transition: var(--t);
}
.cookie-toggle-btn:hover {
  background: var(--brand);
  color: var(--surface);
  border-color: var(--brand);
}
.cookie-toggle-btn svg { width: 1.25rem; height: 1.25rem; }
.cookie-toggle-btn[hidden] { display: none; }

/* Body scroll lock — used by modal JS */
body.has-erstinfo-modal-open,
body.has-cookie-modal-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0);
}

/* =========================================================================
 * MOTION — reveal utilities + reduced-motion safety
 * MOTION_INTENSITY 4: calm slide-ins, no chapter spectacle.
 * ====================================================================== */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition: opacity 600ms cubic-bezier(0.2, 0.7, 0.2, 1),
                transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
  }
  [data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* =========================================================================
 * PRINT
 * - General print: clean prose, no chrome
 * - Erstinformation print: scoped via body.is-printing-erstinfo
 * ====================================================================== */
@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  body { font-size: 11pt; line-height: 1.5; }
  .site-header, .site-footer, .topbar,
  .cookie-modal, .cookie-toggle-btn,
  .nav__toggle, .chapter-rail { display: none !important; }
  h1, h2, h3 { page-break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  a { color: #000 !important; text-decoration: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555 !important; }
  a[href^="tel:"]::after, a[href^="mailto:"]::after { content: ""; }
}

@media print {
  body.is-printing-erstinfo > * { display: none !important; }
  body.is-printing-erstinfo .erstinfo-modal { display: block !important; position: static; opacity: 1; visibility: visible; padding: 0; }
  body.is-printing-erstinfo .erstinfo-modal[hidden] { display: block !important; }
  body.is-printing-erstinfo .erstinfo-modal__backdrop { display: none !important; }
  body.is-printing-erstinfo .erstinfo-modal__dialog {
    box-shadow: none !important;
    border: none !important;
    max-width: none !important;
    max-height: none !important;
    transform: none !important;
    width: 100% !important;
    display: block !important;
  }
  body.is-printing-erstinfo .erstinfo-modal__close,
  body.is-printing-erstinfo .erstinfo-modal__ack,
  body.is-printing-erstinfo .erstinfo-modal__actions { display: none !important; }
  body.is-printing-erstinfo .erstinfo-modal__header {
    border-bottom: 2px solid #000 !important;
    padding: 0 0 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }
  body.is-printing-erstinfo .erstinfo-modal__body {
    overflow: visible !important;
    padding: 0 !important;
  }
  body.is-printing-erstinfo .erstinfo-modal__title { font-size: 20pt !important; }
  body.is-printing-erstinfo .erstinfo-modal__body h3 { font-size: 12pt !important; margin-top: 1rem !important; }
  body.is-printing-erstinfo .erstinfo-modal__body p { font-size: 10pt !important; }
  body.is-printing-erstinfo .erstinfo-modal__body a::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555 !important;
  }
  body.is-printing-erstinfo .erstinfo-modal__body a[href^="tel:"]::after,
  body.is-printing-erstinfo .erstinfo-modal__body a[href^="mailto:"]::after { content: ""; }
}
