/* Schädlingsfrei24 – Ratgeber-Blog. Farben/Schriften wie die bisherige Seite (Navy/Grün, Montserrat/Inter). */
:root {
  --navy: #0F2B46; --navy-2: #163A5C; --green: #1A7A4C; --green-2: #145E3A; --green-bg: #E8F5EE;
  --orange: #C2541A; --warn-bg: #FFF4E5; --warn-bd: #E8A23A;
  --bg: #FFFFFF; --bg-2: #F5F7FA; --line: #E1E6EE; --text: #1F2933; --muted: #5B6B7C;
  --f-head: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r: 12px; --shadow: 0 1px 3px rgba(15,43,70,.06), 0 6px 20px rgba(15,43,70,.06);
  --wrap: 1160px; --gutter: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--f-body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--green-2); }
h1, h2, h3 { font-family: var(--f-head); color: var(--navy); line-height: 1.22; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__logo svg { width: 36px; height: 36px; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--f-head); font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.brand__sub { font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; gap: 4px; }
.nav__link { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav__link:hover { background: var(--bg-2); color: var(--navy); }
.nav__link.is-active { color: var(--green); background: var(--green-bg); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; border-radius: 8px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px var(--gutter) 16px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav__link { padding: 12px; font-size: 1rem; }
}

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: .84rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: #9AA7B4; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs li[aria-current] { color: var(--text); font-weight: 600; max-width: 100%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-family: var(--f-head); font-size: .95rem; text-decoration: none; border: 2px solid transparent; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-2); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1B4A5E 100%); color: #DCE6F0; }
.hero__inner { padding: 56px var(--gutter) 60px; max-width: 900px; margin-left: auto; margin-right: auto; text-align: left; }
.hero h1 { color: #fff; }
.hero__lead { font-size: 1.1rem; max-width: 720px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 700; color: #7FD3A8; margin: 0 0 10px; }
.pest-head .eyebrow, .page-head .eyebrow { color: var(--green); }

/* Sections */
.section { padding: 48px 0; }
.section.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.section--tint { background: var(--bg-2); }
.section__head { margin-bottom: 22px; }
.section__head p { color: var(--muted); margin: 0; }
.page-head { padding: 22px 0 8px; max-width: 800px; }
.page-head p { color: var(--muted); font-size: 1.05rem; }

/* Tiles (Themen) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tiles--lg { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-bottom: 48px; }
.tiles--sm { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); margin-bottom: 40px; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-decoration: none; color: var(--navy); transition: border-color .15s, box-shadow .15s, transform .15s; }
.tile:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--navy); }
.tile__icon svg { width: 64px; height: 64px; display: block; }
.tile__name { font-family: var(--f-head); font-weight: 700; font-size: .98rem; display: block; }
.tile__meta { font-size: .78rem; color: var(--muted); }
.tile--row { flex-direction: row; text-align: left; align-items: center; gap: 14px; padding: 14px 16px; }
.tile--row .tile__icon svg { width: 56px; height: 56px; }
.tile__desc { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }

/* Cards (Artikel) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.cards--2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; position: relative; transition: box-shadow .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); border-color: #C9D3DF; }
.card__cat { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: var(--green-bg); padding: 4px 9px; border-radius: 999px; text-decoration: none; margin-bottom: 10px; position: relative; z-index: 2; }
.card__title { font-size: 1.08rem; margin: 0 0 8px; }
.card__title a { color: var(--navy); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:hover { color: var(--green); }
.card__text { color: var(--muted); font-size: .93rem; margin: 0 0 12px; flex: 1; }
.card__meta { font-size: .8rem; color: var(--muted); margin: 0; }

/* Chips + Kategorien */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: .86rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--navy); text-decoration: none; background: #fff; }
.chip:hover { border-color: var(--green); color: var(--green); }
.cat-group { padding: 26px 0 8px; border-top: 1px solid var(--line); margin-top: 18px; }
.cat-group h2 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cat-group__more { font-size: .85rem; font-family: var(--f-body); font-weight: 600; }
.cat-group:last-child { margin-bottom: 48px; }

/* Artikel */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 10px; padding-bottom: 40px; }
@media (min-width: 1100px) { .article-layout { grid-template-columns: minmax(0, 740px) 280px; justify-content: space-between; } }
.article { min-width: 0; }
.article__head { padding: 14px 0 6px; }
.article__meta { color: var(--muted); font-size: .9rem; margin: 0; }
.article__intro { font-size: 1.12rem; color: #33414F; margin: 18px 0 22px; }
.prose h2, .article h2 { margin-top: 1.8em; scroll-margin-top: 84px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--green); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .93rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-2); font-family: var(--f-head); color: var(--navy); }
.prose a[target="_blank"]::after { content: "↗"; font-size: .75em; margin-left: 2px; }
.lead { font-size: 1.12rem; color: #33414F; }

/* Inhaltsverzeichnis */
.toc { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); padding: 14px 18px; }
.toc summary, .toc__h { font-family: var(--f-head); font-weight: 700; color: var(--navy); cursor: pointer; margin: 0; }
.toc ol { margin: 10px 0 0; padding-left: 1.25em; font-size: .93rem; }
.toc li { margin: 5px 0; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover, .toc a.is-current { color: var(--green); text-decoration: underline; }
.toc--inline { margin-bottom: 10px; }
.article__aside { display: none; }
@media (min-width: 1100px) {
  .toc--inline { display: none; }
  .article__aside { display: block; }
  .toc--side { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 0; font-weight: 700; color: var(--navy); font-family: var(--f-head); font-size: 1rem; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.4rem; color: var(--green); font-weight: 400; }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0 0 16px; color: #33414F; }

/* Quellen, Redaktionsbox, CTA */
.sources ol { padding-left: 1.3em; font-size: .92rem; }
.sources li { margin-bottom: 6px; }
.sources__note { font-size: .82rem; color: var(--muted); }
.author-box { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--r); padding: 18px; margin: 32px 0; background: #fff; font-size: .93rem; }
.author-box__logo svg { width: 44px; height: 44px; display: block; }
.author-box__name { font-family: var(--f-head); font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.author-box p:last-child { margin: 0; }
.author-box__meta { color: var(--muted); font-size: .85rem; }
.cta-box { background: var(--green-bg); border-radius: var(--r); padding: 20px; margin: 24px 0; }
.cta-box__h { font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: 1.1rem; margin: 0 0 6px; }

/* Steckbrief */
.pest-head { display: flex; gap: 20px; align-items: center; padding: 22px 0 8px; }
.pest-head__icon svg { width: 96px; height: 96px; display: block; }
.pest-head h1 { margin-bottom: 4px; }
.pest-head__latin { color: var(--muted); margin: 0; }
.pest-body { max-width: 980px; padding-bottom: 48px; }
.pest-body > section { margin-top: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.panel { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.panel h2 { font-size: 1.12rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.note { background: var(--bg-2); border-radius: var(--r); padding: 20px 22px; }
.note h2 { font-size: 1.2rem; }
.small { font-size: .85rem; color: var(--muted); margin-top: 24px; }
.principles { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; max-width: 860px; }
.notice { background: var(--green-bg); border-radius: 10px; padding: 14px 16px; font-size: .95rem; }
.notice--warn { background: var(--warn-bg); border: 2px solid var(--warn-bd); }
.state h2 { font-size: 1.15rem; margin-top: 1.4em; }
.city-list { display: flex; flex-wrap: wrap; gap: 6px 16px; }
main.narrow { padding-bottom: 56px; }
main.prose { padding-top: 10px; }

/* Footer */
.site-footer { background: var(--navy); color: #B9C7D6; font-size: .92rem; padding: 44px 0 26px; }
.site-footer a { color: #DCE6F0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 28px; }
.site-footer__brand { font-family: var(--f-head); font-weight: 800; color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.site-footer__h { font-family: var(--f-head); font-weight: 700; color: #fff; margin-bottom: 10px; }
.cols2 { columns: 2; column-gap: 18px; }
.site-footer__note { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: .82rem; color: #93A4B6; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 40px; padding-bottom: 44px; }
  .pest-head { gap: 14px; }
  .pest-head__icon svg { width: 68px; height: 68px; }
  .author-box { flex-direction: column; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles--lg { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
}
@media print { .site-header, .site-footer, .article__aside, .toc, .cta-box { display: none; } }
