/* teerstop.de — site styles (pilot rebuild 2026-10). Brand tokens taken from the existing site. */
:root {
  --bg: #f8faf6; --bg2: #f0f4ec; --bg3: #e6ede0;
  --dark: #1a2e1a; --text: #2a3a2a; --muted: #6b7d6b; --muted2: #9aaa9a;
  --green: #2d6a2e; --green2: #3d8b3e; --lime: #8cc63f; --lime2: #a8d65a;
  --surface: #fff; --line: #dfe7d8;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --r1: 10px; --r2: 16px; --r3: 28px;
  --shadow-1: 0 1px 2px rgba(26,46,26,.06), 0 2px 6px rgba(45,106,46,.06);
  --shadow-2: 0 2px 4px rgba(26,46,26,.05), 0 10px 24px -6px rgba(45,106,46,.16), 0 24px 48px -24px rgba(26,46,26,.18);
  --shadow-3: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -12px rgba(26,46,26,.28), 0 4px 10px rgba(45,106,46,.10);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.7 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green2); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--s4), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: var(--s2); background: var(--dark); color: #fff; padding: var(--s2) var(--s4); border-radius: var(--r1); z-index: 50; }
.skip:focus { left: var(--s2); }

/* grain layer used on tinted sections */
.grain { position: relative; isolation: isolate; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.18  0 0 0 0 0.1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* health notice (top) */
.notice { background: var(--dark); color: #e8efe2; font-size: .875rem; line-height: 1.55; }
.notice .wrap { display: flex; gap: var(--s3); align-items: flex-start; padding-block: var(--s3); }
.notice strong { color: #fff; }
.notice a { color: var(--lime2); }

/* header — floating layer */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(248,250,246,.86); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(45,106,46,.10); box-shadow: 0 6px 20px -16px rgba(26,46,26,.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dark); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-word { font: 700 1.05rem/1 var(--display); letter-spacing: -.02em; }
.brand-word small { display: block; font: 500 .62rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: var(--s1); align-items: center; }
.nav a { position: relative; text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; padding: var(--s2) var(--s3); border-radius: 999px; transition: transform .35s var(--spring); }
.nav a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--bg3); opacity: 0; transition: opacity .2s ease; z-index: -1; }
.nav a:hover::before, .nav a[aria-current="page"]::before { opacity: 1; }
.nav a:active { transform: scale(.96); }
.nav .nav-cta { color: #fff; }
.nav .nav-cta::before { background: var(--green); opacity: 1; }
.nav .nav-cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--green2); opacity: 0; transition: opacity .2s ease; z-index: -1; }
.nav .nav-cta:hover::after { opacity: 1; }
.nav-toggle { display: none; }
@media (max-width: 820px) {
  .nav { display: none; position: absolute; left: var(--s4); right: var(--s4); top: 66px; flex-direction: column; align-items: stretch; background: var(--surface);
    padding: var(--s3); border-radius: var(--r2); box-shadow: var(--shadow-3); }
  .nav.open { display: flex; }
  .nav a { padding: var(--s3) var(--s4); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface);
    border-radius: 12px; color: var(--dark); cursor: pointer; transition: transform .35s var(--spring); }
  .nav-toggle:hover { transform: translateY(-1px); }
  .nav-toggle:active { transform: scale(.94); }
}

/* buttons */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 var(--s5);
  border-radius: 999px; font: 700 .98rem/1 var(--body); text-decoration: none; cursor: pointer; border: 0; transition: transform .4s var(--spring); }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 22px -10px rgba(45,106,46,.75); }
.btn-primary::after { background: var(--green2); }
.btn-primary:hover { color: #fff; }
.btn-ghost { background: var(--surface); color: var(--dark); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-1); }
.btn-ghost::after { background: var(--bg2); }
.btn-ghost:hover { color: var(--dark); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* hero */
.hero { padding-block: var(--s8) var(--s8); overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(140,198,63,.22), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(61,139,62,.14), transparent 65%),
    radial-gradient(40% 40% at 50% 0%, rgba(168,214,90,.16), transparent 70%),
    var(--bg); }
.hero .wrap { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font: 700 .75rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--green);
  background: rgba(140,198,63,.18); padding: 8px 12px; border-radius: 999px; }
h1, h2, h3 { font-family: var(--display); color: var(--dark); letter-spacing: -.03em; line-height: 1.12; margin: 0 0 var(--s4); font-weight: 700; }
h1 { font-size: clamp(2.05rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.3; }
.hero h1 em { font-style: normal; color: var(--green); }
.lead { font-size: 1.18rem; color: var(--text); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.facts { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: var(--s5) 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.facts li { display: inline-flex; gap: 8px; align-items: center; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(140,198,63,.22); }
.hero-media { position: relative; border-radius: var(--r3); overflow: hidden; box-shadow: var(--shadow-3); background: var(--bg2); }
.hero-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(26,46,26,.38)); z-index: 1; pointer-events: none; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--bg3); mix-blend-mode: multiply; opacity: .10; z-index: 2; pointer-events: none; }
.hero-media figcaption { position: absolute; left: var(--s4); bottom: var(--s4); z-index: 3; color: #fff; font-size: .85rem; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.45); }

/* sections */
section { scroll-margin-top: 80px; }
.section { padding-block: var(--s8); }
.section-tint { background: var(--bg2); }
.section-head { max-width: 46rem; margin-bottom: var(--s6); }
.section-head p { color: var(--muted); margin: 0; font-size: 1.08rem; }
.grid { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 600px) and (max-width: 1179px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }

/* cards — elevated layer */
.card { background: var(--surface); border-radius: var(--r2); padding: var(--s5); box-shadow: var(--shadow-2); border: 1px solid rgba(45,106,46,.07); }
.card p { margin: 0; color: var(--text); }
.step-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--dark); color: var(--lime2);
  font: 700 1rem/1 var(--display); margin-bottom: var(--s4); box-shadow: 0 8px 18px -10px rgba(26,46,26,.8); }

/* packs */
.pack { display: flex; flex-direction: column; gap: var(--s3); }
.pack-size { font: 800 2rem/1 var(--display); letter-spacing: -.04em; color: var(--dark); }
.pack-size span { font: 600 .9rem/1 var(--body); letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.pack-meta { color: var(--muted); font-size: .92rem; line-height: 1.55; flex: 1; }
.pack .btn { width: 100%; min-height: 44px; font-size: .9rem; padding: 0 var(--s3); white-space: nowrap; }
.tag { align-self: flex-start; font: 700 .7rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--green); background: rgba(140,198,63,.18); padding: 6px 10px; border-radius: 999px; }
.note { color: var(--muted); font-size: .92rem; margin-top: var(--s4); }

/* health box */
.health { border-radius: var(--r2); padding: var(--s6); background: var(--surface); box-shadow: var(--shadow-2); border-left: 6px solid var(--dark); }
.health h2 { font-size: 1.35rem; }
.health p { margin: 0 0 var(--s3); }
.health p:last-child { margin: 0; }

/* faq */
.faq { display: grid; gap: var(--s3); max-width: 52rem; }
.faq details { background: var(--surface); border-radius: var(--r1); box-shadow: var(--shadow-1); border: 1px solid rgba(45,106,46,.08); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s4) var(--s5); font-weight: 700; color: var(--dark); display: flex; justify-content: space-between; gap: var(--s4); align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.3rem/1 var(--display); color: var(--green); transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--green); }
.faq .answer { padding: 0 var(--s5) var(--s5); }
.faq .answer p { margin: 0 0 var(--s2); }

/* guide links */
.guides a.card { display: block; text-decoration: none; transition: transform .4s var(--spring); }
.guides a.card:hover { transform: translateY(-3px); }
.guides a.card:active { transform: translateY(-1px) scale(.99); }
.guides a.card h3 { margin-bottom: var(--s2); }
.guides a.card p { color: var(--muted); font-size: .95rem; }
.guides a.card .more { display: inline-block; margin-top: var(--s3); font-weight: 700; color: var(--green); }

/* article */
.article { padding-block: var(--s7) var(--s8); }
.article .wrap { max-width: 760px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: var(--s5); }
.crumbs a { color: var(--muted); }
.article h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); }
.article h2 { font-size: clamp(1.35rem, 2.8vw, 1.75rem); margin-top: var(--s7); }
.article h3 { margin-top: var(--s5); }
.article p, .article li { font-size: 1.07rem; }
.article ol.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: var(--s4); }
.article ol.steps > li { counter-increment: s; position: relative; padding: var(--s5) var(--s5) var(--s5) 76px; background: var(--surface); border-radius: var(--r2); box-shadow: var(--shadow-1); }
.article ol.steps > li::before { content: counter(s); position: absolute; left: var(--s5); top: var(--s5); width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 10px; background: var(--dark); color: var(--lime2); font: 700 .95rem/1 var(--display); }
.article ol.steps > li strong { display: block; color: var(--dark); margin-bottom: 4px; }
.meta-line { color: var(--muted); font-size: .9rem; }
.callout { background: var(--bg2); border-radius: var(--r2); padding: var(--s5); margin: var(--s5) 0; border: 1px solid var(--line); }
.callout p:last-child { margin-bottom: 0; }
.toc { background: var(--surface); border-radius: var(--r2); padding: var(--s5); box-shadow: var(--shadow-1); margin: var(--s5) 0 var(--s6); }
.toc ol { margin: 0; padding-left: 1.2em; }
table.simple { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r1); overflow: hidden; box-shadow: var(--shadow-1); font-size: .98rem; }
table.simple th, table.simple td { text-align: left; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); vertical-align: top; }
table.simple th { background: var(--bg3); color: var(--dark); font-weight: 700; }

/* footer — base layer */
.site-footer { background: var(--dark); color: #cfdcc8; padding-block: var(--s7) var(--s6); font-size: .93rem; }
.site-footer a { color: #e8efe2; }
.site-footer a:hover { color: var(--lime2); }
.foot-grid { display: grid; gap: var(--s6); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: var(--s3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-small { border-top: 1px solid rgba(255,255,255,.12); margin-top: var(--s6); padding-top: var(--s4); color: #9fb197; font-size: .85rem; }

/* additions for the full page set (2026-10): scrollable tables, numbers, wide overview, sources, cards inside articles */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: var(--s4) 0; border-radius: var(--r1); }
.table-wrap table.simple { margin: 0; }
table.simple.wide { min-width: 40rem; }
table.simple th.num, table.simple td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.article.wide .wrap { max-width: var(--wrap); }
.article .card h3 { margin-top: 0; }
.article .guides { margin-top: var(--s4); }
.article .hero-actions { margin-bottom: var(--s5); }
.legal-cards { margin: var(--s5) 0 var(--s4); }
.sources { padding-left: 1.3em; }
.article .sources li { font-size: .95rem; margin-bottom: var(--s2); overflow-wrap: anywhere; }
.article [id] { scroll-margin-top: 88px; }
/* fix: in the open mobile menu the white panel covered the links' ::before layer, so the green CTA background (and hover states) were invisible */
.nav a { isolation: isolate; }
.table-hint { display: none; }
@media (max-width: 640px) { .article .table-hint { display: block; margin: var(--s3) 0 0; font-size: .9rem; color: var(--muted); } }
