/* PetErnita (DE): visual system aligned with peternita.it/guida and the
   peternidad.com country guides (same fonts, colours, cards, backgrounds).
   Loaded last on every page, after guia.css, common.css and each page's own <style>. */

/* ---------- fonts (Fontsource, SIL OFL 1.1) ---------- */
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/schibsted-grotesk-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/schibsted-grotesk-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/schibsted-grotesk-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/schibsted-grotesk-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: italic; font-display: swap; font-weight: 400; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-ext-400-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: italic; font-display: swap; font-weight: 400; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-400-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'PE Figures'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/schibsted-grotesk-latin-400-normal.woff2) format('woff2'); unicode-range: U+0030-0039; }
@font-face { font-family: 'PE Figures'; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/schibsted-grotesk-latin-600-normal.woff2) format('woff2'); unicode-range: U+0030-0039; }

/* ---------- tokens (shared palette) ---------- */
:root {
  --bg: #F5F6EE; --white: #FFFFFF;
  --ink: #33302C; --ink-soft: #615B54; --ink-faint: #77706A;
  --olive: #5F6B2A; --olive-dk: #4C5622; --tint: #EEF0E2;
  --green-soft: #EAF2EC; --green-line: #D6E2D9;
  --warm: #FBF1EA; --warm-line: #F0DACB; --terra: #A9472A; --terra-dk: #8C3A22;
  --line: #DEE1CF; --line-soft: #ECEEE3; --ring: rgba(95,107,42,.40);
  --head: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: 'PE Figures', 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* legacy tokens remapped (DE guia.css, page styles, IT-derived tool pages) */
  --brown-dark: #4C5622; --brown-mid: #5F6B2A; --brand-mid: #5F6B2A;
  --cream: #F5F6EE; --cream-dark: #DEE1CF;
  --text-dark: #33302C; --text-body: #33302C; --text-mid: #615B54; --text-light: #77706A; --text-muted: #77706A;
  --brand: #5F6B2A; --brand-dark: #4C5622; --brand-light: #EEF0E2;
  --accent: #A9472A; --accent-light: #FBF1EA; --espresso: #4C5622;
  --border: #DEE1CF; --border-soft: #ECEEE3; --bg-card: #FFFFFF;
  --shadow: none; --shadow-md: none; --radius: 10px; --radius-sm: 8px;
}

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
html body { font-family: var(--body); background: var(--bg); background-color: var(--bg); color: var(--ink); line-height: 1.65; font-size: 1rem; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--head) !important; font-weight: 500; color: var(--ink); line-height: 1.22; letter-spacing: -0.01em; }
button, input, select, textarea { font-family: inherit; }
strong, b { font-weight: 600; }
a { color: var(--olive-dk); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--olive); }
:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.skip-link { background: var(--olive-dk); font-size: 1rem; }
/* display fonts set by page styles */
.site-logo-inline span, .site-logo-link span, .site-logo-text, .tool-title, .score-number, .dim-score,
.result-headline, .info-card-title, .community-label, .contact-box p.cb-title,
[style*="Playfair"], [style*="Lora"], [style*="Georgia"] { font-family: var(--head) !important; }
.comparison-table th, .community-label .cl-count, #pm-banner { font-family: var(--body) !important; }

/* ---------- header ---------- */
body > header.site-header { background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: none; height: 68px; padding: 0 max(20px, calc((100% - 960px) / 2 + 20px)); }
body > header.site-header .site-logo { height: 40px; }
body > header.site-header .site-nav { gap: 28px; font-size: 1rem; }
body > header.site-header .site-nav a:not(.nav-cta) { border: 0; background: transparent; color: var(--ink) !important; padding: 0; border-radius: 0; font-weight: 400; font-size: 1rem; min-height: 44px; display: inline-flex; align-items: center; }
body > header.site-header .site-nav a:not(.nav-cta):hover { background: transparent; color: var(--olive) !important; }
body > header.site-header .site-nav a.nav-cta { background: var(--olive) !important; color: #fff !important; padding: 10px 18px; border-radius: 4px; font-weight: 600; font-size: 1rem !important; }
body > header.site-header .site-nav a.nav-cta:hover { background: var(--olive-dk) !important; }

/* ---------- breadcrumb and article header ---------- */
.breadcrumb { max-width: 800px; margin: 0 auto; padding: 22px 20px 0; font-size: .9rem; color: var(--ink-faint); background: transparent; border: 0; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--olive-dk); text-decoration: underline; }
.breadcrumb .sep { color: var(--ink-faint); }
.hero:has(.breadcrumb) { padding: 20px 0 28px; border-bottom: none; }
.hero:has(.breadcrumb) .breadcrumb { padding: 0; margin-bottom: 22px; max-width: none; }
.hero > .container { max-width: 800px; padding: 0 20px; }
.tag-label, .article-cat, .hero-pill { display: inline-block; background: #fff; color: var(--olive-dk); box-shadow: inset 0 0 0 1px #BFC9A3; font-family: var(--body); font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; line-height: 1.3; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; border: 0; }
h1, .article-header h1, .hub-hero h1 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); font-weight: 500; line-height: 1.14; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 20px; }
.hero-intro { font-size: 1.15rem; line-height: 1.55; font-weight: 400; color: var(--ink); max-width: 38em; }
.article-meta { font-size: .9rem; color: var(--ink-faint); line-height: 1.7; }
.article-meta strong { color: var(--ink-soft); font-weight: 600; }
.article-meta .dot { background: var(--line); }

.article-wrap { max-width: 800px; margin: 0 auto; padding: 0 20px 8px; background: transparent; box-shadow: none; border: 0; border-radius: 0; }
.article-wrap > .article-header { background: transparent; padding: 18px 0 28px; margin: 0; border: 0; box-shadow: none; border-radius: 0; }

/* ---------- article panel ---------- */
.article-wrap > .article-body { background: var(--white); border-radius: 12px; padding: 40px 44px; margin: 0 0 40px; box-shadow: none; border: 0; }
.article-body:has(> .container) { padding: 0 20px; }
.article-body > .container { max-width: 760px; background: var(--white); border-radius: 12px; padding: 40px 44px; }
.article-body p, .article-body li { font-size: 1.0625rem; color: var(--ink); overflow-wrap: break-word; }
.article-body li { line-height: 1.6; margin-bottom: 8px; }
.article-body h2 { font-size: 1.6rem; font-weight: 500; margin: 44px 0 14px; line-height: 1.22; letter-spacing: -0.01em; color: var(--ink); }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 10px; color: var(--ink); }
.article-body h4 { font-weight: 600; color: var(--ink); }
.article-body ~ .container { max-width: 800px; padding: 0 20px !important; margin-top: 16px; }
.article-body ~ .container .related-section { background: var(--white); border-radius: 12px; padding: 28px 44px 32px !important; margin: 0 0 40px !important; border-top: 0 !important; }

/* inline-styled boxes inside DE articles */
#kernpunkte { background: var(--green-soft) !important; border: 0 !important; border-left: 4px solid var(--olive-dk) !important; border-radius: 0 12px 12px 0 !important; padding: 18px 22px !important; }
#kernpunkte > strong { font-family: var(--body) !important; color: var(--olive-dk) !important; font-size: .78rem !important; font-weight: 600; letter-spacing: .05em !important; }
#kernpunkte ul, #kernpunkte li { color: var(--ink) !important; }
#kernpunkte a { color: var(--olive-dk) !important; }
.article-body div[style*="#e5e7eb"] { background: var(--bg) !important; border: 0 !important; border-radius: 10px !important; padding: 24px 28px !important; }
.article-body div[style*="#e5e7eb"] h3 { font-size: 1.15rem !important; font-weight: 600 !important; color: var(--ink) !important; }
.article-body div[style*="#e5e7eb"] li, .article-body div[style*="#e5e7eb"] ul { font-size: .95rem !important; color: var(--ink-soft) !important; }
[style*="color:#2C5F4A"], [style*="color: #2C5F4A"], [style*="color:#2c5f4a"] { color: var(--olive-dk) !important; }
[style*="color:#1a1a1a"], [style*="color:#333"] { color: var(--ink) !important; }
[style*="color:#4b5563"] { color: var(--ink-soft) !important; }
[style*="color:#6b7280"], [style*="color:#9ca3af"] { color: var(--ink-faint) !important; }
[style*="background:#E8F2EE"], [style*="background:#e8f2ee"] { background: var(--green-soft) !important; }

/* ---------- answer and info boxes ---------- */
.key-takeaway { background: var(--green-soft); border: 0; border-left: 4px solid var(--olive-dk); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 0 0 28px; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.callout, .highlight-box { background: var(--green-soft); border: 0; border-left: 3px solid var(--olive-dk); border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 24px 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); box-shadow: none; }
.callout strong, .highlight-box strong { color: var(--ink); }
.callout-warm, .warning-box { background: var(--warm); border-left: 4px solid var(--terra); border-radius: 0 8px 8px 0; }

/* ---------- tables ---------- */
.table-wrap, .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0 8px; background: transparent; border: 0; box-shadow: none; border-radius: 0; }
table.comparison-table, table.price-table, table.data-table, table.score-table, table.tf-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .94rem; background: #fff; border: 1px solid var(--green-line); border-radius: 10px; overflow: hidden; margin: 0 0 20px; box-shadow: none; }
table.comparison-table caption, table.price-table caption { caption-side: top; text-align: left !important; font-family: var(--head) !important; font-weight: 600; font-size: 1rem !important; color: var(--ink) !important; background: var(--green-soft); padding: 12px 14px !important; border: 1px solid var(--green-line); border-bottom: 0; border-radius: 10px 10px 0 0; }
table.comparison-table:has(caption) { border-radius: 0 0 10px 10px; }
table.comparison-table th, table.price-table th, table.score-table th, table.tf-table th { color: var(--ink-soft); font-size: .84rem; font-weight: 600; text-transform: none; letter-spacing: 0; background: #fff; padding: 9px 12px; border-bottom: 1px solid var(--green-line); vertical-align: bottom; text-align: left; }
table.comparison-table td, table.price-table td, table.score-table td, table.tf-table td { padding: 9px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; line-height: 1.4; color: var(--ink); background: #fff; }
table.comparison-table tr:nth-child(even) td { background: #fff; }
table.comparison-table td:nth-child(3) { color: var(--ink); }
table.comparison-table tr:last-child td, table.price-table tr:last-child td, table.score-table tr:last-child td, table.tf-table tr:last-child td { border-bottom: none; }
.table-note { font-size: .88rem; color: var(--ink-faint); line-height: 1.45; margin-top: 6px; margin-bottom: 20px; }

/* ---------- cards inside the article panel ---------- */
.tier-card, .option-card, .info-card, .price-card { background: var(--bg); border: 0; border-radius: 10px; padding: 18px 20px; box-shadow: none; }
.tier-card h4, .option-card h3, .info-card-title { font-family: var(--head); font-weight: 600; color: var(--ink); }
.tier-card p, .option-card p, .info-card-text { color: var(--ink-soft); }
.option-number { background: var(--tint); color: var(--olive-dk); }
.option-cost { color: var(--ink-soft); }
.step-list li::before, .step-num { background: var(--tint); color: var(--olive-dk); font-family: var(--head); font-weight: 600; }
.step-list strong { color: var(--ink); }

/* ---------- related guides ---------- */
.article-body .related-section { border-top: 1px solid var(--line); background: transparent; margin-top: 40px; padding-top: 28px; }
.related-section h3 { font-size: 1.35rem; font-weight: 500; margin: 0 0 16px; color: var(--ink); }
.related-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.related-card { background: var(--bg); border: 0; border-radius: 10px; padding: 18px 20px; color: var(--ink); box-shadow: none; transform: none !important; }
.related-card:hover { box-shadow: 0 0 0 1px var(--olive); border-color: transparent; color: var(--ink); }
.rc-label, .related-card .rc-label { display: inline-block; background: #fff; color: var(--olive-dk); box-shadow: inset 0 0 0 1px #BFC9A3; font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; line-height: 1.3; padding: 5px 10px; border-radius: 999px; margin-bottom: 10px; }
.related-card h4 { font-size: 1.1rem; font-weight: 600; margin: 0; line-height: 1.3; color: var(--ink); }

/* ---------- navigation cards on the page background (hub, home) ---------- */
.hub-card, .hub-card.is-alt, .teaser-card, .feature-card, .city-card, .sidebar-card { position: relative; background: var(--white); border: 0; border-left: 4px solid var(--olive); border-radius: 10px; box-shadow: inset 0 0 0 1px #DEE1CF; transform: none !important; transition: background .15s, box-shadow .15s; }
.hub-card, .teaser-card { padding: 24px 24px 22px; }
.hub-card:hover, .hub-card:focus-within, .teaser-card:hover, .teaser-card:focus-within, .feature-card:hover, .city-card:hover, .city-card:focus-visible { background: var(--green-soft); box-shadow: inset 0 0 0 1px #4C5622; border-color: var(--olive); }
.hc-label, .hub-card .hc-label, .teaser-tag { align-self: flex-start; display: inline-block; background: #fff; color: var(--olive-dk); box-shadow: inset 0 0 0 1.5px #8C9A5B; font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; line-height: 1.3; padding: 7px 18px; border-radius: 999px; margin-bottom: 14px; border: 0; transition: background .15s, color .15s; }
.hub-card:hover .hc-label, .hub-card:focus-within .hc-label, .teaser-card:hover .teaser-tag { background: var(--olive); color: #fff; box-shadow: inset 0 0 0 1.5px var(--olive); }
.hub-card h2, .teaser-card h2 { font-size: 1.3rem; font-weight: 600; margin: 0 0 10px; line-height: 1.25; color: var(--ink); }
.hub-card p, .teaser-card p, .feature-card p { font-size: 1rem; color: var(--ink-soft); line-height: 1.55; }
.hc-arrow, .hub-card .hc-arrow, .teaser-link, .feature-cta, .view-all-link { color: var(--olive-dk); font-weight: 600; }
.city-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.city-card span { color: var(--ink-faint); font-size: .88rem; }
.community-group, .region-section { background: var(--white); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); padding: 20px 22px 22px; border: 0; }
.community-label, .region-header h3 { font-weight: 500; font-size: 1.25rem; color: var(--ink); }
.community-group .city-card, .region-section .city-card { background: var(--bg); box-shadow: none; }
.community-group .city-card:hover, .region-section .city-card:hover { background: var(--green-soft); box-shadow: inset 0 0 0 1px #4C5622; }
.section-label, .section-eyebrow { font-family: var(--head); font-weight: 500; font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.01em; text-transform: none; color: var(--ink); margin-bottom: 20px; }
.section-desc { color: var(--ink-soft); }
.hub-hero { border-bottom: none; text-align: left; background: transparent; }
.hub-hero p { color: var(--ink); }
.neutrality-card { background: var(--white); border: 0; border-radius: 12px; box-shadow: none; }
.sidebar-card { padding: 24px 24px 22px; }
.sidebar-card h2 { font-size: 1.3rem; font-weight: 600; line-height: 1.25; color: var(--ink); margin: 0 0 12px; }
.sidebar-card li { color: var(--ink-soft); }

/* home hero */
.hero:has(> .logo) { background: transparent; border-bottom: 0; }
.hero .subtitle { color: var(--ink); }
.hero .support-text { color: var(--ink-soft); }
.hero-guides-link { color: var(--olive-dk); font-weight: 600; }
.feature { background: var(--white); border: 0; border-left: 4px solid var(--olive); border-radius: 10px; box-shadow: inset 0 0 0 1px #DEE1CF; color: var(--ink); }
.feature:hover { background: var(--green-soft); box-shadow: inset 0 0 0 1px #4C5622; }
.feature-body strong { color: var(--ink); font-family: var(--head); font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.faq-section h2 { font-weight: 500; font-size: 1.6rem; text-align: left; }
.faq-list { gap: 0; border-top: 1px solid var(--line); }
.faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 2px; box-shadow: none; }
.faq-item[open] { padding-bottom: 16px; }
.faq-item summary { position: relative; min-height: 52px; padding: 14px 32px 14px 0; font-family: var(--body); font-weight: 600; font-size: 1.05rem; line-height: 1.45; color: var(--ink); }
.faq-item summary::after { position: absolute; right: 4px; top: 12px; float: none; color: var(--olive-dk); font-family: var(--head); font-size: 1.4rem; line-height: 1; }
.faq-item p { margin-top: 0; font-size: 1rem; color: var(--ink-soft); }

/* ---------- calls to action ---------- */
.cta-block { background: var(--olive-dk); color: #fff; border-radius: 10px; padding: 30px 32px; margin: 36px 0 8px; text-align: left; box-shadow: none; border: 0; }
.cta-block h2, .cta-block h3 { color: #fff !important; margin-top: 0; }
.cta-block p { color: rgba(255,255,255,.85); margin: 0 0 18px; max-width: none; }
.cta-btn { background: #fff; color: var(--olive-dk); border-radius: 4px; padding: 12px 24px; font-weight: 600; font-size: 1rem; }
.cta-btn:hover { background: var(--tint); color: var(--olive-dk); }
.result-cta { background: var(--olive); border-radius: 4px; }

/* ---------- author and footer ---------- */
.author-box { border-top: 1px solid var(--line); }
.author-avatar { background: var(--tint); }
.author-name { color: var(--ink); font-weight: 600; font-size: 1rem; }
.author-role { color: var(--ink-faint); font-size: .92rem; }
body > footer.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 32px 20px 36px; font-size: .92rem; color: var(--ink-soft); text-align: left; margin-top: 40px; }
body > footer.site-footer > p { max-width: 960px; margin-left: auto; margin-right: auto; }
body > footer.site-footer a { color: var(--olive-dk); text-decoration: underline; }
.legal-note { font-size: .82rem; line-height: 1.5; color: var(--ink-faint); }
.legal-body { background: var(--white); border-radius: 12px; }

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  body > header.site-header { padding: 0 16px; height: 58px; }
  body > header.site-header .site-logo { height: 32px; }
  body > header.site-header .site-nav { gap: 16px; }
  body > header.site-header .site-nav a:not(.nav-cta) { font-size: .95rem; }
  body > header.site-header .site-nav a.nav-cta { padding: 9px 14px; font-size: .95rem !important; }
  .breadcrumb { padding: 14px 16px 0; font-size: .85rem; }
  .hero:has(.breadcrumb) { padding: 14px 0 20px; }
  .hero > .container { padding: 0 16px; }
  h1, .article-header h1, .hub-hero h1 { font-size: 1.75rem; }
  .hero-intro { font-size: 1.06rem; }
  .article-wrap { padding: 0; }
  .article-wrap > .article-header { padding: 14px 16px 22px; }
  .article-wrap > .article-body { padding: 24px 16px 28px; border-radius: 0; }
  .article-body:has(> .container) { padding: 0; }
  .article-body > .container { padding: 24px 16px 28px; border-radius: 0; }
  .article-body h2 { font-size: 1.35rem; margin-top: 36px; }
  .article-body h3 { font-size: 1.1rem; }
  .article-body p, .article-body li { font-size: 1.03rem; }
  .article-body div[style*="#e5e7eb"] { padding: 20px 16px !important; }
  .hub-card, .teaser-card { padding: 20px 18px 18px; }
  .hub-card h2, .teaser-card h2 { font-size: 1.2rem; }
  .section-label, .section-eyebrow, .faq-section h2 { font-size: 1.35rem; }
  .cta-block { padding: 24px 20px; }
  body > footer.site-footer { padding: 26px 16px 30px; }
}
@media (max-width: 360px) {
  body > header.site-header .site-nav { gap: 10px; }
  body > header.site-header .site-nav a.nav-cta { padding: 8px 10px; }
}

/* ---------- hub (IT-structured) ---------- */
body:has(.hub-hero) .container, body:has(.hub-hero) .container-narrow { max-width: 1000px; padding: 0 20px; }
.hub-hero { padding: 40px 0 24px; }
.hub-intro { font-size: 1.15rem; line-height: 1.55; font-weight: 400; color: var(--ink); margin-left: 0; margin-right: 0; max-width: 38em; }
.hub-sub { color: var(--ink-soft); margin-left: 0; margin-right: 0; font-size: 1rem; max-width: 42em; }
.hub-meta, .faq-footnote { color: var(--ink-faint); font-size: .9rem; text-align: left; }
.hub-card.is-alt .hc-label, .hub-card.is-city .hc-label { background: #fff; color: var(--olive-dk); box-shadow: inset 0 0 0 1.5px #8C9A5B; }
.hub-card.is-alt:hover .hc-label { background: var(--olive); color: #fff; }
.section-desc { font-size: 1rem; color: var(--ink-soft); margin: -8px 0 18px; }
.community-label { font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.community-label .cl-count { font-size: .88rem; font-weight: 400; color: var(--ink-faint); }
.community-group .city-card { border-left: 4px solid var(--olive); }
.contact-box { background: var(--olive-dk); border-radius: 10px; }
.faq-list { max-width: none; }

/* ---------- small alignments ---------- */
.hero:has(.breadcrumb) { background: transparent; }
.article-wrap > .article-header .article-meta { border-top: 0; padding-top: 0; margin-top: 4px; }

/* ---------- mobile: data tables become cards (as on peternita.it) ---------- */
@media (max-width: 760px) {
  .table-wrap:has(table.t-cards) { overflow: visible; }
  table.t-cards, table.t-cards tbody { display: block; width: 100%; border: none; background: transparent; border-radius: 0; overflow: visible; }
  table.t-cards thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  table.t-cards caption { display: block; text-align: left; background: none; border: none; padding: 0 0 10px !important; font-size: 1.02rem !important; }
  table.t-cards tbody { display: grid; gap: 10px; }
  table.t-cards tr { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 10px; }
  table.t-cards td { display: block; text-align: left; padding: 6px 0; min-width: 0; border-bottom: none !important; white-space: normal; background: transparent; }
  table.t-cards td:first-child { font-family: var(--head); font-weight: 600; font-size: 1.04rem; line-height: 1.35; background: var(--green-soft); margin: -14px -16px 10px; padding: 12px 16px; border-radius: 11px 11px 0 0; border-bottom: 1px solid #D5E3D9 !important; }
  table.t-cards td:not(:first-child)::before { display: block; content: attr(data-label); color: var(--ink-faint); font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 3px; }
  table.t-cards td:empty { display: none; }
}
table.comparison-table th { white-space: normal; }
table.comparison-table td:nth-child(n+2) { white-space: nowrap; }
@media (max-width: 760px) { table.t-cards td:nth-child(n+2) { white-space: normal; } }
@media (max-width: 380px) {
  body > header.site-header { padding: 0 12px; gap: 8px; }
  body > header.site-header .site-logo { height: 26px; }
  body > header.site-header .site-nav a:not(.nav-cta) { font-size: .9rem; }
  body > header.site-header .site-nav a.nav-cta { padding: 8px 10px; font-size: .9rem !important; }
}

/* ---------- home page: one 960px content column for every block ---------- */
.hero .features { max-width: 960px; margin: 0 auto; gap: 16px; }
.neutrality-section { max-width: 1000px; margin: 28px auto 0; padding: 0 20px; }
.neutrality-card { border-left: 0; border-radius: 12px; padding: 28px 32px; box-shadow: none; }
.neutrality-card h2 { font-size: 1.35rem; font-weight: 500; margin: 0 0 12px; }
.neutrality-card p { font-size: 1rem; color: var(--ink-soft); }
.neutrality-card strong { color: var(--ink); }
.main-layout { max-width: 1000px; margin: 0 auto; padding: 32px 20px; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
.guide-teasers { gap: 20px; }
.guide-teasers .section-eyebrow { display: block; height: 40px; line-height: 40px; margin: 0; }
.guide-teasers .section-eyebrow a { color: var(--ink); text-decoration: none; }
.sidebar { position: static; top: auto; gap: 20px; }
@media (min-width: 821px) { .sidebar { padding-top: 60px; } }
.sidebar-card:has(a[href*="einaescherung-einschlaeferung-haustier"]) ul { columns: 2; column-gap: 18px; }
.sidebar-card:has(a[href*="einaescherung-einschlaeferung-haustier"]) li { break-inside: avoid; }
section.faq-home { margin: 0 auto 28px; }
.faq-home h3 { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: 20px 0 6px; }
.faq-home p { color: var(--ink-soft); }
.provider-contact { box-sizing: border-box; width: calc(100% - 40px); max-width: 960px; margin: 0 auto 44px; padding: 28px 32px; background: var(--white); border-radius: 12px; text-align: left; }
.provider-contact h2 { font-size: 1.35rem; font-weight: 500; margin: 0 0 10px; }
.provider-contact p { margin: 0; color: var(--ink-soft); }
.provider-contact a { color: var(--olive-dk); }
body > footer.site-footer, body > footer.site-footer p { text-align: left; }
body > footer.site-footer .legal-note { max-width: 960px; }
@media (max-width: 820px) {
  .neutrality-section { padding: 0 16px; margin-top: 20px; }
  .neutrality-card { padding: 22px 18px; }
  .main-layout { padding: 20px 16px; }
  .provider-contact { width: calc(100% - 32px); padding: 22px 18px; }
}
body > footer.site-footer .legal-note { max-width: 960px !important; margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 820px) { .hero { padding-left: 16px; padding-right: 16px; } }
