/* Balmer Systeme websites — one stylesheet for every domain. Brand: ink #102C3A, blue #245CFF, teal #007B76
   (docs: balmersysteme.de-site/docs/brand-guidelines.md). Mobile first; logical properties for right-to-left languages. */

/* Same typefaces as kontelio.de: Bricolage Grotesque for headings, Public Sans for text (both OFL, self-hosted). */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage-grotesque-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('/assets/fonts/public-sans-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #102C3A;
  --blue: #245CFF;
  --blue-dark: #1A47CC;
  --blue-soft: #E8EEFF;
  --teal: #007B76;
  --teal-soft: #E0F2F1;
  --paper: #F4F7F9;
  --tint: #F3F6FD;
  --muted: #47606D;
  --line: #DDE5EB;
  --white: #FFFFFF;
  --danger: #B42318;
  --success: #067647;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 44, 58, .05), 0 8px 24px rgba(16, 44, 58, .06);
  --shadow-lg: 0 20px 50px rgba(16, 44, 58, .12);
  --wrap: 75rem;
  --font: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Bricolage Grotesque', 'Public Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue-soft); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { --wrap: 46rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.muted { color: var(--muted); }
.accent { color: var(--blue); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 650; color: var(--muted); margin-bottom: .9rem; }
.eyebrow a { color: inherit; text-decoration: none; }

/* --- buttons ------------------------------------------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.4rem; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { flex: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn-outline:hover { background: var(--blue-soft); color: var(--blue-dark); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--blue-soft); color: var(--blue-dark); }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.link-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; }

/* --- header ------------------------------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.nav-toggle { margin-inline-start: auto; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; display: grid; place-items: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.2rem; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ''; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 1rem 1.25rem 1.5rem; max-height: calc(100vh - 4.5rem); overflow-y: auto; }
.site-nav.is-open { display: block; }
.nav-links { list-style: none; margin: 0 0 1rem; padding: 0; }
.nav-links > li > a, .nav-dropdown summary { display: flex; align-items: center; gap: .35rem; padding: .7rem .25rem; color: var(--ink); text-decoration: none; font-weight: 550; cursor: pointer; list-style: none; }
.nav-dropdown summary::-webkit-details-marker, .lang-menu summary::-webkit-details-marker { display: none; }
.nav-links a[aria-current="page"], .nav-dropdown summary.is-current { color: var(--blue); }
.nav-sub { list-style: none; margin: 0 0 .5rem; padding: 0 0 0 1rem; }
.nav-sub a { display: block; padding: .45rem .25rem; color: var(--muted); text-decoration: none; }
.nav-sub a:hover { color: var(--blue); }
.nav-sub-all a { color: var(--blue); font-weight: 600; }
.lang-menu { position: relative; margin-bottom: 1rem; }
.lang-menu summary { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; list-style: none; font-weight: 600; font-size: .95rem; }
.lang-list { list-style: none; margin: .4rem 0 0; padding: .4rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 15rem; }
.lang-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; }
.lang-list a:hover { background: var(--tint); }
.lang-list a[aria-current] { background: var(--blue-soft); color: var(--blue-dark); }
.lang-list a { justify-content: flex-start; align-items: center; }
.lang-region { font-weight: 650; }
.lang-name { margin-inline-start: auto; }
.flag { flex: none; width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(16, 44, 58, .15); }
.lang-name { color: var(--muted); }
.nav-actions { display: grid; gap: .6rem; }
.nav-actions .btn { width: 100%; }

@media (min-width: 75rem) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 1rem; position: static; padding: 0; border: 0; box-shadow: none; background: none; margin-inline-start: auto; max-height: none; overflow: visible; }
  .nav-links { display: flex; align-items: center; gap: .2rem; margin: 0; }
  .nav-links > li > a, .nav-dropdown summary { padding: .5rem .7rem; border-radius: 8px; font-size: .97rem; position: relative; }
  .nav-links > li > a:hover, .nav-dropdown summary:hover { background: var(--tint); }
  .nav-links > li > a[aria-current="page"]::after, .nav-dropdown summary.is-current::after { content: ''; position: absolute; inset-inline: .55rem; bottom: -1.05rem; height: 3px; background: var(--blue); border-radius: 3px; }
  .nav-dropdown { position: relative; }
  .nav-sub { position: absolute; top: calc(100% + .6rem); inset-inline-start: 0; min-width: 16rem; padding: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); }
  .nav-sub a { padding: .55rem .7rem; border-radius: 8px; color: var(--ink); }
  .nav-sub a:hover { background: var(--tint); }
  .lang-menu { margin: 0; }
  .lang-list { position: absolute; inset-inline-end: 0; top: calc(100% + .4rem); }
  .nav-actions { display: flex; gap: .5rem; }
  .nav-actions .btn { width: auto; min-height: 2.6rem; padding: .45rem .95rem; font-size: .93rem; white-space: nowrap; }
  .nav-links > li > a, .nav-dropdown summary { padding: .5rem .55rem; }
  .lang-menu summary span { display: none; }
}

/* --- breadcrumbs -------------------------------------------------------------------------------------------------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: 0; padding: 1rem 0 0; font-size: .9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-inline-end: .3rem; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs [aria-current] { color: var(--ink); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --- hero --------------------------------------------------------------------------------------------------------- */
.hero { padding: 2.5rem 0 3.5rem; background: linear-gradient(135deg, #F7F9FF 0%, #EEF3FF 55%, #F4F7F9 100%); border-bottom: 1px solid var(--line); }
.breadcrumbs + .hero { margin-top: -3.2rem; padding-top: 5rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 18ch; }
.hero-text h1 { max-width: none; }
.hero-text .lead { max-width: 70rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.trust { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.trust li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--muted); max-width: 12rem; line-height: 1.3; }
.trust svg { color: var(--blue); flex: none; }
.hero-media img, .hero-media picture { margin-inline: auto; }
.hero-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-lg); }
.hero-card .card-icon-lg { margin-bottom: 1.2rem; }
.product-icon { display: inline-block; width: 3rem; height: 3rem; border-radius: 12px; margin-bottom: 1rem; }
@media (min-width: 64rem) {
  .hero { padding: 4.5rem 0 5rem; }
  .breadcrumbs + .hero { padding-top: 6.5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
}

/* --- sections ----------------------------------------------------------------------------------------------------- */
.section { padding: 4rem 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head h2 { margin-bottom: .4rem; }
.section-head p:last-child { color: var(--muted); margin: 0; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head-row .section-head { margin: 0; }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 64rem) {
  .section { padding: 5.5rem 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.note { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }

/* --- cards -------------------------------------------------------------------------------------------------------- */
.cards { display: grid; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 40rem) { .cards-2, .cards-3, .cards-4, .cards-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .cards-5 { grid-template-columns: repeat(5, 1fr); }
}
.card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); color: var(--ink); }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: .8rem; }
.card-link { text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #C5D3FF; color: var(--ink); }
.card-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--blue-soft); color: var(--blue); margin-bottom: 1rem; flex: none; }
.card-icon-lg { width: 4rem; height: 4rem; }
.card-icon-lg svg { width: 34px; height: 34px; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; color: var(--blue); font-weight: 650; font-size: .95rem; }
.facts .card-icon { background: var(--teal-soft); color: var(--teal); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--teal); margin-top: .2rem; stroke-width: 2.4; }
.card .checklist li { font-size: .95rem; color: var(--ink); }
@media (min-width: 40rem) { .checklist-2 { grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; } }

.badge-card { position: relative; background: linear-gradient(160deg, var(--ink), #1E4459); color: var(--white); border-radius: 22px; padding: 2.4rem; box-shadow: var(--shadow-lg); }
.badge-card > svg { width: 56px; height: 56px; color: #8FB0FF; margin-bottom: 1.5rem; }
.badge-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.badge-card a { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--white); text-decoration: none; font-weight: 600; }
.badge-card a:hover { background: rgba(255, 255, 255, .16); color: var(--white); }
.badge-card a svg { color: #5FD0C6; }

/* --- products ----------------------------------------------------------------------------------------------------- */
.product-list { display: grid; gap: 2rem; }
.product { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; box-shadow: var(--shadow); }
.product-grid { display: grid; gap: 2rem; align-items: center; }
.product-name { display: flex; align-items: center; gap: .9rem; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.product-name .product-icon { margin: 0; }
.product-lead { font-size: 1.12rem; font-weight: 550; }
.product .facts { margin-top: 2rem; }
.shot { border-radius: 14px; }
.product-media img, .hero-media .shot img { border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 16 / 11; object-fit: cover; object-position: top; width: 100%; }
.product-media img[src$='.svg'], .hero-media img[src$='.svg'] { box-shadow: none; border: 0; aspect-ratio: auto; }
@media (min-width: 64rem) {
  .product { padding: 2.5rem; }
  .product-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; }
}

/* --- hosting plans ------------------------------------------------------------------------------------------------ */
.plans { display: grid; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 40rem) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem 1.5rem; box-shadow: var(--shadow); }
.plan-recommended { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -.85rem; inset-inline: 1.5rem; margin: 0; text-align: center; background: var(--blue); color: var(--white); font-size: .8rem; font-weight: 700; border-radius: 99px; padding: .2rem .8rem; }
.plan-desc { color: var(--muted); font-size: .92rem; min-height: 2.8em; }
.plan-price { font-family: var(--display); font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; margin: .2rem 0 1.2rem; }
.plan-price span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan-price-text { font-size: 1.3rem; }
.plan .checklist { margin-bottom: 1.5rem; }
.plan .btn { margin-top: auto; }

/* --- steps, facts, sites ------------------------------------------------------------------------------------------ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 48rem) { .section > .wrap > .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.step-no { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 750; }
.facts-grid { list-style: none; margin: 0; padding: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: var(--tint); border-radius: 20px; }
.facts-grid li { background: var(--white); border-radius: 14px; padding: 1.3rem; text-align: center; box-shadow: var(--shadow); }
.facts-grid strong { display: block; font-family: var(--display); font-size: 2.2rem; color: var(--blue); line-height: 1.1; }
.facts-grid span { color: var(--muted); font-size: .92rem; }
.sites { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .sites { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .sites { grid-template-columns: repeat(4, 1fr); } }
.sites a { display: block; padding: 1.2rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.sites a:hover, .sites a[aria-current] { border-color: var(--blue); }
.sites strong { display: block; font-size: 1.1rem; }
.sites span { color: var(--muted); font-size: .92rem; }

/* --- FAQ ---------------------------------------------------------------------------------------------------------- */
.faq-grid { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .faq-grid { grid-template-columns: 1fr 2fr; gap: 3rem; } }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .8rem; box-shadow: var(--shadow); }
.faq-list summary { cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 650; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; inset-inline-end: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }

/* --- blog --------------------------------------------------------------------------------------------------------- */
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
@media (min-width: 40rem) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--ink); }
.post-card img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-card .post-meta, .post-card h3, .post-card p, .post-card .card-more { margin-inline: 1.4rem; }
.post-card .post-meta { margin-top: 1.2rem; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card .card-more { margin-bottom: 1.4rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; color: var(--muted); font-size: .88rem; margin-bottom: .6rem; }
.tag { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; }
.post-header { padding: 2.5rem 0 1.5rem; }
.post-header h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.2rem); }
.post-header .lead { max-width: 70rem; }
.post-image, .post-image img { display: block; width: 100%; border-radius: 18px; }
.post-image img { aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 64rem) { .post-image img { aspect-ratio: 21 / 9; } }
.post-image { margin-bottom: 2.5rem; }
/* article: wide text column + table of contents beside it (sticky) on large screens, above the text on small ones */
.post-layout { display: grid; gap: 2rem; margin-bottom: 3rem; }
.post-main { min-width: 0; }
@media (min-width: 64rem) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 17rem; gap: 3.5rem; align-items: start; }
  .post-aside { grid-column: 2; grid-row: 1; position: sticky; top: 6rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
  .post-main { grid-column: 1; grid-row: 1; }
  .post-aside .toc { margin: 0; }
}
.prose { font-size: 1.12rem; line-height: 1.75; }
.prose > p, .prose > ul, .prose > ol { max-width: 58rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-inline-start: 1.3rem; }
.prose li { margin-bottom: .4em; }
.post-header .lead { margin-bottom: 1rem; }
.toc { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin-bottom: 2.2rem; }
.toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .7rem; }
.toc ol { margin: 0; padding-inline-start: 1.3rem; display: grid; gap: .35rem; }
.toc a { text-decoration: none; font-weight: 550; }
.post-aside .toc li { font-size: .93rem; line-height: 1.4; }
.prose h2, .prose h3 { scroll-margin-top: 6rem; }
.prose ol { padding-inline-start: 1.4rem; }
.prose code { font-size: .92em; background: var(--tint); border: 1px solid var(--line); border-radius: 5px; padding: .05em .35em; }
.prose ul.checks { list-style: none; padding-inline-start: 0; }
.prose ul.checks li { position: relative; padding-inline-start: 2rem; }
.prose ul.checks li::before { content: ''; position: absolute; inset-inline-start: 0; top: .3em; width: 1.1rem; height: 1.1rem; border: 2px solid var(--blue); border-radius: 4px; }
.prose ul.checks li.done::before { background: var(--blue); }
.callout { background: var(--blue-soft); border-inline-start: 4px solid var(--blue); border-radius: 10px; padding: 1rem 1.3rem; margin: 1.6em 0; }
.callout p { margin: 0; font-size: 1.02rem; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; line-height: 1.5; }
.prose th, .prose td { text-align: start; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--tint); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.related .product-icon { margin: 0; flex: none; }
.related { flex-direction: row; gap: 1.2rem; margin: 2.5rem 0 1.5rem; align-items: flex-start; }
.related h2 { font-size: 1.3rem; }
.related .eyebrow { margin-bottom: .3rem; }

/* --- contact ------------------------------------------------------------------------------------------------------ */
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 64rem) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; } .contact-form { position: sticky; top: 6rem; } }
.options { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 1rem; }
.option { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.option > svg { flex: none; width: 3rem; height: 3rem; padding: .7rem; border-radius: 12px; background: var(--blue); color: var(--white); }
.option h3 { margin-bottom: .2rem; }
.option p { margin: 0 0 .3rem; color: var(--muted); }
.option a { font-weight: 650; display: inline-flex; align-items: center; gap: .3rem; overflow-wrap: anywhere; }
.contact-form { padding: 2rem; }
.contact-form h2 { font-size: 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid #C7D4DC; border-radius: 10px; padding: .75rem .9rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid var(--blue-soft); }
.field textarea { resize: vertical; min-height: 8rem; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.field-check input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; accent-color: var(--blue); }
.field-check label { font-weight: 400; font-size: .92rem; color: var(--muted); }
.field-check .field-error { grid-column: 2; }
.field-error { color: var(--danger); font-size: .88rem; margin: .3rem 0 0; }
.is-invalid input, .is-invalid textarea, .is-invalid select { border-color: var(--danger); }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: 10px; font-weight: 550; }
.form-status.is-success { background: #ECFDF3; color: var(--success); }
.form-status.is-error { background: #FEF3F2; color: var(--danger); }

/* --- blog pagination --- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; }
.pager ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 auto; padding: 0; }
.pager a, .pager [aria-current] { display: grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .7rem; border-radius: 10px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 600; color: var(--ink); }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager [aria-current] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pager .gap { align-self: center; color: var(--muted); padding: 0 .2rem; }
.pager-step { white-space: nowrap; }
@media (max-width: 40rem) { .pager { justify-content: center; } .pager-step { flex: 1 1 40%; } }

/* --- blog preview (tools/preview.mjs) --- */
.preview-note { margin-top: 1rem; padding: .7rem 1rem; border-radius: 10px; background: #FFF4D6; color: #6B4E00; font-weight: 600; }

/* --- cookie consent: small card at the bottom; accept and reject look the same (equal choice) ------------------- */
.consent { position: fixed; inset-inline: 1rem; bottom: 1rem; z-index: 60; max-width: 30rem; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 1.3rem 1.4rem; font-size: .95rem; }
.consent h2 { font-size: 1.1rem; margin-bottom: .4rem; }
.consent p { color: var(--muted); margin-bottom: .9rem; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.consent-actions .btn { flex: 1 1 8rem; min-height: 2.6rem; padding: .5rem 1rem; }
.consent-customize { flex-basis: 100%; text-align: center; }
.consent-options { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .8rem; }
.consent-options label { display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.consent-options input { width: 1.1rem; height: 1.1rem; accent-color: var(--blue); }
.consent-options p { margin: .2rem 0 0 1.6rem; font-size: .88rem; }
.consent-always { font-size: .8rem; color: var(--teal); font-weight: 600; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.site-footer .linklike { color: #E3EBF0; text-decoration: none; }
.site-footer .linklike:hover { color: var(--white); text-decoration: underline; }
@media (min-width: 40rem) { .consent { inset-inline: auto 1.5rem; bottom: 1.5rem; } }

/* --- CTA band ----------------------------------------------------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, #1640C8 100%); color: var(--white); padding: 3.5rem 0; }
.cta-inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .4rem; }
.cta-band p { margin: 0; color: #DCE6FF; max-width: 40rem; }
.cta-band .actions { margin: 0; }
@media (min-width: 64rem) { .cta-inner { grid-template-columns: 1fr auto; } }

/* --- footer ------------------------------------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #C9D6DE; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #E3EBF0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer .brand svg { color: var(--white); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #8FA6B3; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-sites { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-sites ul { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #8FA6B3; }
.footer-bottom p { margin: 0; }
@media (min-width: 64rem) {
  .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .cta-band, .contact-form { display: none; }
}
