/* ──────────────────────────────────────────────────────────────────
   Swissblade Blog
   Tokens kept in sync with the main landing (paper / forest / ink).
   No images on blog pages by design — focus is text legibility.
   ────────────────────────────────────────────────────────────────── */

:root {
  --paper:        #F7F5F0;
  --paper-2:      #F1EEE6;
  --paper-hi:     #FBF9F4;
  --ink:          #171412;
  --ink-soft:     #2B2621;
  --ink-mute:     #525252;
  --muted:        #7A7368;
  --hairline:     #D9D4C9;
  --hairline-2:   #C9C3B5;
  --forest:       #0B4D3A;
  --forest-ink:   #083A2C;
  --forest-soft:  rgba(11, 77, 58, 0.08);
  --amber:        #d9a441;

  --sans:  'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --display: 'Figtree', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--forest-ink); }

.blog-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ──────────────────────────────────────────────────────────────────
   Shared site nav (mirrors the inline nav.top styles in audit.html /
   results.html so the _header.html partial renders identically here).
   Keep in sync with those if either changes.
   ────────────────────────────────────────────────────────────────── */
nav.top {
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 245, 240, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--hairline);
}
nav.top .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
nav.top .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
nav.top .brand .brand-logo {
  height: 60px;
  width: auto;
  display: block;
}
nav.top ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  justify-content: center;
}
nav.top ul a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
nav.top ul a:hover { color: var(--forest); }
nav.top ul a svg { opacity: .75; }

/* Desktop CTA pill — forest gradient, right side */
.nav-cta-desktop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 45%, rgba(0,0,0,0.10) 100%),
    linear-gradient(135deg, #0E5A45 0%, var(--forest) 60%, var(--forest-ink) 100%);
  color: #F3EFE4 !important;
  border: 0;
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease;
}
.nav-cta-desktop:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.14) inset, 0 10px 22px -8px rgba(8,58,44,0.55);
}
.nav-cta-desktop .nav-cta-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform .25s ease;
}
.nav-cta-desktop:hover .nav-cta-arrow { transform: translateX(3px); }

/* Mobile CTA pill — only visible on small screens */
.nav-cta-mobile {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: var(--forest);
  color: var(--paper-hi) !important;
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-cta-mobile:active { transform: scale(0.97); }
.nav-cta-mobile .nav-cta-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  line-height: 1;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
}
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
nav.top.is-open .nav-toggle .icon-menu { display: none; }
nav.top.is-open .nav-toggle .icon-close { display: block; }

/* Tablet: hide ul on narrow desktops, show hamburger flow on mobile */
@media (max-width: 900px) {
  nav.top .inner { grid-template-columns: auto 1fr; }
  nav.top ul { display: none; }
  .nav-cta-desktop { display: none; }
}

/* Mobile (<820px): brand | mobile-CTA | hamburger, ul slides down when open */
@media (max-width: 820px) {
  nav.top { padding: 14px 0; }
  nav.top .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 16px;
  }
  nav.top .brand .brand-logo { height: 44px; }
  nav.top ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper-hi);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    gap: 0;
    padding: 12px 20px;
    z-index: 50;
  }
  nav.top.is-open ul { display: flex; }
  nav.top ul li { width: 100%; }
  nav.top ul a {
    display: flex;
    width: 100%;
    padding: 14px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--hairline);
  }
  nav.top ul li:last-child a { border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
  .nav-cta-mobile { display: none; }  /* Hidden on mobile — funnel conversion happens via hero, not header shortcut */
}

@media (max-width: 360px) {
  /* Very narrow phones — drop the mobile CTA to keep brand + hamburger
     readable. Audit-starten reachable via the in-menu /de/ link. */
  .nav-cta-mobile { display: none; }
}

/* ───────── Index Hero ───────── */
.blog-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--hairline);
}
.blog-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 18px;
}
.blog-hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--ink);
}
.blog-lede {
  max-width: 640px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 720px) {
  .blog-hero { padding: 56px 0 36px; }
  .blog-lede { font-size: 17px; }
}

/* ───────── Filter tabs ───────── */
.blog-filters {
  padding: 24px 0 8px;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.filter-tab:hover {
  border-color: var(--forest);
  color: var(--forest);
}
.filter-tab.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper-hi);
}

/* ───────── Post list ───────── */
.blog-list {
  padding: 32px 0 80px;
}
.blog-featured {
  margin-bottom: 56px;
}

.post-card {
  padding: 32px 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding .2s ease;
}
.post-card:last-child { border-bottom: 0; }
.post-card:hover { padding-left: 8px; }

.post-card-featured {
  padding: 40px 0;
  border-top: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  margin-bottom: 40px;
}
.post-card-featured:hover { padding-left: 12px; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.post-sep { opacity: 0.5; }
.post-category {
  color: var(--forest);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11.5px;
}

.post-title {
  font-family: var(--display);
  font-size: clamp(24px, 3.5vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 12px;
}
.post-card-featured .post-title {
  font-size: clamp(28px, 4.5vw, 40px);
}
.post-title a {
  color: var(--ink);
}
.post-title a:hover {
  color: var(--forest);
}

.post-description {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 720px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-featured .post-description {
  font-size: 18px;
  -webkit-line-clamp: 3;
}

.post-readmore {
  display: inline-block;
  color: var(--forest);
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s ease;
}
.post-readmore:hover { transform: translateX(3px); }

.blog-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
  font-size: 17px;
}

@media (max-width: 720px) {
  .post-card,
  .post-card-featured {
    padding: 24px 0;
  }
  .post-card:hover,
  .post-card-featured:hover { padding-left: 0; }
  .post-description { font-size: 15.5px; }
}

/* ───────── Article ───────── */
.blog-breadcrumb {
  padding: 24px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.blog-breadcrumb a { color: var(--muted); }
.blog-breadcrumb a:hover { color: var(--forest); }
.crumb-sep { margin: 0 8px; opacity: 0.6; }
.crumb-current { color: var(--ink-soft); }

.blog-article {
  padding: 32px 0 64px;
}
.blog-article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.post-category-badge {
  display: inline-block;
  background: var(--forest-soft);
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.article-title {
  font-family: var(--display);
  font-size: clamp(36px, 5.5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--ink);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 500;
}
.meta-sep { opacity: 0.5; }

.article-lede {
  font-style: italic;
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 32px;
  border-left: 3px solid var(--forest);
  padding-left: 18px;
}

.article-rule {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 32px 0;
}

.article-body {
  font-size: 18px;
  line-height: 1.78;
  color: var(--ink);
}
@media (min-width: 720px) {
  .article-body { font-size: 19px; }
}

.article-body p { margin: 0 0 22px; }

.article-body h2 {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 60px 0 18px;
  color: var(--ink);
  scroll-margin-top: 80px;
}
@media (min-width: 720px) {
  .article-body h2 { font-size: 32px; }
}

.article-body h3 {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--ink);
}
@media (min-width: 720px) {
  .article-body h3 { font-size: 24px; }
}

.article-body strong { font-weight: 700; color: var(--ink); }
.article-body em { font-style: italic; }

.article-body a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--forest-ink); }

.article-body ul,
.article-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--forest);
  background: var(--forest-soft);
  border-radius: 0 8px 8px 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}
.article-body blockquote p:last-child { margin-bottom: 0; }

.article-body code {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 0.9em;
  background: var(--paper-2);
  padding: 2px 6px;
  border-radius: 4px;
}
.article-body pre {
  background: var(--paper-2);
  padding: 18px 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14.5px;
  line-height: 1.55;
}
.article-body pre code {
  background: transparent;
  padding: 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
}
.article-body th,
.article-body td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
}
.article-body th {
  background: var(--paper-2);
  font-weight: 700;
}
.article-body tr:nth-child(even) td { background: rgba(241, 238, 230, 0.5); }

/* ───────── FAQ ───────── */
.article-faq {
  margin: 56px 0 40px;
}
.article-faq h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--ink);
}
.faq-list {
  border-top: 1px solid var(--hairline);
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 28px 18px 0;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--forest);
  font-size: 22px;
  line-height: 1;
  transition: transform .2s ease;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-answer {
  padding: 0 0 20px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.7;
}
.faq-answer p { margin: 0; }

/* ───────── Author box ───────── */
.author-box {
  margin: 48px 0 0;
  padding: 24px 24px 24px 28px;
  border-left: 3px solid var(--forest);
  background: var(--paper-hi);
  border-radius: 0 10px 10px 0;
}
.author-box h3 {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--forest);
  margin: 0 0 8px;
}
.author-box p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.author-more {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--forest);
}

/* ───────── Post CTA (full-width forest) ───────── */
.post-cta {
  margin-top: 80px;
  padding: 72px 0;
  background: var(--forest);
  color: var(--paper-hi);
  text-align: center;
}
.post-cta h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 18px;
}
.post-cta p {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(247, 245, 240, 0.92);
}
.post-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-hi);
  color: var(--forest-ink) !important;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 17px;
  transition: transform .15s ease, background .2s ease;
}
.post-cta-btn:hover {
  transform: translateY(-1px);
  background: #ffffff;
}
.post-cta-trust {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.85);
}
.post-cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-cta-trust svg { color: var(--amber); }

@media (max-width: 720px) {
  .post-cta { padding: 48px 0; }
  .post-cta-trust { gap: 14px 18px; font-size: 11px; }
}

/* ───────── Related ───────── */
.related-articles {
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
}
.related-articles h2 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 28px;
  color: var(--ink);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  padding: 22px;
  background: var(--paper-hi);
  border-radius: 10px;
  border: 1px solid var(--hairline);
  transition: transform .15s ease, border-color .2s ease;
}
.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--forest);
}
.related-card .post-meta { margin-bottom: 8px; font-size: 12px; }
.related-card h3 {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 14px;
  font-weight: 700;
}
.related-card h3 a { color: var(--ink); }
.related-card h3 a:hover { color: var(--forest); }
.related-card .post-readmore { font-size: 14px; }

@media (max-width: 720px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────────────
   Shared site footer (mirrors the canonical inline styles in
   audit.html / results.html so the _footer.html partial renders
   identically here). Keep in sync with those if either changes.
   ────────────────────────────────────────────────────────────────── */
footer.site {
  background: var(--paper);
  color: var(--ink);
  padding: 96px 0 48px;
  position: relative;
  border-top: 1px solid var(--hairline);
}
footer.site .wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 64px;
  max-width: 1120px;
  margin: 0 auto 56px;
  align-items: start;
}
.foot-col h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 20px;
}
.foot-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.foot-col ul a {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease;
}
.foot-col ul a:hover { color: var(--forest); }

.foot-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  text-decoration: none;
}
.foot-brand .brand-row .foot-brand-logo {
  height: 56px;
  width: auto;
  display: block;
}
.foot-brand .tagline {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 26px;
  max-width: 280px;
  letter-spacing: -0.005em;
}
.swiss-seal {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
}
.swiss-seal img {
  width: 150px;
  height: 150px;
  display: block;
  object-fit: contain;
}

.foot-legal-div {
  height: 1px;
  background: var(--hairline);
  margin: 20px 0 18px;
}
.foot-address {
  font-family: 'Figtree', Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  row-gap: 2px;
}
.foot-address .addr-item { white-space: nowrap; }
.foot-address .addr-company {
  font-weight: 700;
  color: var(--ink);
  flex-basis: 100%;
  margin-bottom: 2px;
}
.foot-address .addr-company + .addr-sep { display: none; }
.foot-address .addr-sep {
  color: var(--hairline);
  font-weight: 400;
  user-select: none;
}
.foot-address .addr-sep-comma { margin-left: -8px; color: var(--ink-soft); }
.foot-address a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.foot-address a:hover { border-bottom-color: var(--ink); }

.foot-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.foot-bottom .made-ch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.foot-bottom .made-ch .mini-cross {
  width: 12px; height: 12px;
  background: #D2042D;
  border-radius: 1.5px;
  position: relative;
  display: inline-block;
}
.foot-bottom .made-ch .mini-cross::before,
.foot-bottom .made-ch .mini-cross::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 0.5px;
}
.foot-bottom .made-ch .mini-cross::before {
  left: 50%; top: 20%; bottom: 20%;
  width: 2px; transform: translateX(-50%);
}
.foot-bottom .made-ch .mini-cross::after {
  top: 50%; left: 20%; right: 20%;
  height: 2px; transform: translateY(-50%);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px 32px;
  }
  .foot-brand { grid-column: 1 / -1; }
  footer.site { padding: 72px 0 40px; }
}
@media (max-width: 540px) {
  .footer-grid { gap: 32px 24px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* Compact mobile (<820px): horizontal pill links + hidden swiss-seal */
@media (max-width: 820px) {
  footer.site { padding: 44px 0 24px !important; }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    margin-bottom: 28px !important;
  }
  .foot-col h4 {
    font-size: 10px !important;
    letter-spacing: 0.18em !important;
    margin-bottom: 10px !important;
  }
  .foot-col ul {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px 6px !important;
  }
  .foot-col ul li { display: inline-flex; }
  .foot-col ul a {
    display: inline-flex;
    align-items: center;
    font-size: 13px !important;
    padding: 7px 12px;
    background: rgba(11, 77, 58, 0.05);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1;
  }
  .foot-col ul a:hover {
    background: rgba(11, 77, 58, 0.12);
    border-color: rgba(11, 77, 58, 0.25);
  }
  .foot-brand { display: block; }
  .foot-brand .brand-row { margin-bottom: 14px !important; }
  .foot-brand .brand-row .foot-brand-logo { height: 52px !important; }
  .foot-brand .tagline {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    max-width: none !important;
  }
  .foot-brand .swiss-seal { display: none !important; }
  .foot-legal-div {
    margin: 4px 0 12px !important;
    grid-column: 1 / -1;
  }
  /* Adresse mobile: jede Zeile auf eigener Zeile, kein Separator, sauberer Rhythmus */
  .foot-address {
    flex-direction: column !important;
    gap: 4px !important;
    row-gap: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    justify-content: center !important;
    text-align: center;
  }
  .foot-address .addr-sep { display: none !important; }
  .foot-address .addr-item {
    flex-basis: auto !important;
    width: 100%;
    text-align: center;
  }
  .foot-address .addr-company {
    font-size: 15px !important;
    margin-bottom: 6px !important;
  }
  /* Center-align footer content on mobile (app-like) */
  .foot-brand { text-align: center; }
  .foot-brand .brand-row { justify-content: center; }
  .foot-col { text-align: center; }
  .foot-col ul { justify-content: center !important; }
  .foot-bottom {
    padding-top: 16px !important;
    gap: 8px 12px !important;
    font-size: 11.5px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
}
