@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --ink: #15251d;
    --ink-soft: #344a3e;
    --muted: #6c7d73;
    --paper: #fbfcf9;
    --surface: #ffffff;
    --line: rgba(21, 37, 29, .10);
    --sage: #dff2e6;
    --green: #347454;
    --accent: #f3a85f;
    --accent-light: #fff0df;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); line-height: 1.6; }
a { color: var(--green); }
a:hover { color: #245c40; }
.py-6 { padding-top: 6rem; padding-bottom: 6rem; }
.py-lg-7 { padding-top: 7.5rem; padding-bottom: 7.5rem; }

.site-header { background: rgba(251, 252, 249, .88); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); z-index: 1040; }
.navbar { min-height: 76px; }
.navbar-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); font-family: var(--font-display); letter-spacing: -.04em; }
.navbar-brand:hover { color: var(--ink); }
.brand-mark { display: inline-grid; width: 39px; height: 39px; place-items: center; color: var(--ink); background: var(--accent); border: 1px solid rgba(21, 37, 29, .13); border-radius: 12px; transform: rotate(-4deg); box-shadow: 0 6px 20px rgba(243, 168, 95, .28); }
.nav-link { color: var(--ink-soft); font-weight: 600; }
.nav-link:hover { color: var(--green); }
.btn { font-weight: 600; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #263d31; border-color: #263d31; }
.btn-accent { color: var(--ink); background: var(--accent); border: 1px solid var(--accent); }
.btn-accent:hover { color: var(--ink); background: #ffc080; border-color: #ffc080; transform: translateY(-1px); }

.hero-section { position: relative; background: radial-gradient(circle at 80% 10%, #e0f5e8 0, rgba(224,245,232,0) 34%), linear-gradient(180deg, #fff 0%, #f6faf5 100%); border-bottom: 1px solid var(--line); }
.hero-section::before { position: absolute; inset: 0; content: ''; opacity: .28; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.hero-glow { position: absolute; width: 420px; height: 420px; top: 10%; left: -210px; border-radius: 50%; background: rgba(243,168,95,.16); filter: blur(70px); }
.eyebrow, .section-kicker, .project-label { display: inline-flex; align-items: center; gap: .55rem; color: var(--green); font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { padding: .45rem .85rem; background: var(--sage); border: 1px solid rgba(52,116,84,.12); border-radius: 999px; }
.display-title { max-width: 820px; margin: 0; font-family: var(--font-display); font-size: clamp(3.2rem, 6.3vw, 6.6rem); font-weight: 700; line-height: .94; letter-spacing: -.075em; }
.display-title span { color: var(--green); }
.hero-lead { max-width: 690px; color: var(--ink-soft); font-size: 1.2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.8rem; color: var(--muted); }
.hero-facts span { display: flex; align-items: baseline; gap: .4rem; }
.hero-facts strong { color: var(--ink); font-family: var(--font-display); font-size: 1.35rem; }
.hero-forge { position: relative; width: min(100%, 510px); aspect-ratio: 1; margin-inline: auto; border: 1px solid var(--line); border-radius: 42%; background: radial-gradient(circle, rgba(255,255,255,.95) 0 24%, rgba(223,242,230,.65) 25% 46%, rgba(255,255,255,.78) 47% 100%); box-shadow: inset 0 0 0 18px rgba(255,255,255,.3), 0 30px 90px rgba(21,37,29,.12); }
.hero-forge::before, .hero-forge::after { position: absolute; inset: 12%; content: ''; border: 1px dashed rgba(52,116,84,.25); border-radius: 50%; }
.hero-forge::after { inset: 31%; border-style: solid; }
.forge-center { position: absolute; z-index: 3; inset: 35%; display: grid; place-items: center; align-content: center; color: #fff; background: var(--ink); border-radius: 50%; text-align: center; text-transform: uppercase; font-family: var(--font-display); font-size: .68rem; letter-spacing: .1em; box-shadow: 0 15px 40px rgba(21,37,29,.3); }
.forge-center i { margin-bottom: .35rem; color: var(--accent); font-size: 1.8rem; }
.floating-item { position: absolute; z-index: 2; display: grid; width: 18%; aspect-ratio: 1; place-items: center; padding: 2%; border: 1px solid var(--line); border-radius: 26%; background: rgba(255,255,255,.94); box-shadow: 0 10px 25px rgba(21,37,29,.1); animation: float 6s ease-in-out infinite; }
.floating-item img { width: 100%; height: 100%; object-fit: contain; }
.floating-item-1 { top: 2%; left: 40%; }.floating-item-2 { top: 10%; right: 12%; animation-delay: -.5s; }.floating-item-3 { top: 35%; right: 2%; animation-delay: -1s; }.floating-item-4 { bottom: 11%; right: 13%; animation-delay: -1.5s; }.floating-item-5 { bottom: 2%; left: 41%; animation-delay: -2s; }.floating-item-6 { bottom: 12%; left: 12%; animation-delay: -2.5s; }.floating-item-7 { top: 36%; left: 1%; animation-delay: -3s; }.floating-item-8 { top: 10%; left: 12%; animation-delay: -3.5s; }.floating-item-9 { top: 24%; left: 25%; width: 14%; animation-delay: -4s; }.floating-item-10 { top: 25%; right: 25%; width: 14%; animation-delay: -4.5s; }.floating-item-11 { bottom: 24%; left: 25%; width: 14%; animation-delay: -5s; }.floating-item-12 { right: 25%; bottom: 24%; width: 14%; animation-delay: -5.5s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }

.catalog-section { background: var(--surface); }
.section-heading { max-width: 760px; }
.section-heading h2, .download-panel h2, .subpage-hero h1 { margin: .6rem 0 .8rem; font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 4.2rem); font-weight: 700; line-height: 1.05; letter-spacing: -.055em; }
.section-heading p, .subpage-hero p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.search-box { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(21,37,29,.06); transition: border .2s, box-shadow .2s; }
.search-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(52,116,84,.1); }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; }
.search-box kbd { color: var(--muted); background: #f2f4f1; border: 1px solid var(--line); box-shadow: none; }
.group-filters { display: flex; gap: .65rem; padding-bottom: .35rem; overflow-x: auto; scrollbar-width: thin; }
.group-filter { flex: 0 0 auto; padding: .6rem .9rem; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 600; transition: .2s; }
.group-filter::before { display: inline-block; width: .55rem; height: .55rem; margin-right: .42rem; content: ''; border-radius: 50%; background: var(--group-color, var(--green)); }
.group-filter span { margin-left: .3rem; color: var(--muted); font-size: .78rem; }
.group-filter:hover, .group-filter.active { color: #fff; border-color: var(--ink); background: var(--ink); }
.group-filter.active span, .group-filter:hover span { color: rgba(255,255,255,.65); }
.catalog-meta { color: var(--muted); font-size: .9rem; }
.inventory-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.inventory-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 4px 14px rgba(21,37,29,.03); transition: transform .2s, box-shadow .2s, border-color .2s; }
.inventory-card:hover { z-index: 2; border-color: rgba(52,116,84,.3); transform: translateY(-4px); box-shadow: 0 18px 35px rgba(21,37,29,.1); }
.inventory-card.is-hidden { display: none; }
.inventory-image { display: grid; aspect-ratio: 1.12; place-items: center; padding: 1.15rem; background: linear-gradient(145deg, #fbfcfa, #f1f6f2); }
.inventory-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.inventory-card:hover img { transform: scale(1.06); }
.inventory-image > i { color: #b3bdb7; font-size: 2rem; }
.inventory-body { padding: .9rem 1rem 1rem; border-top: 1px solid var(--line); }
.inventory-group { display: block; color: var(--green); font-size: .69rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inventory-body h3 { margin: .18rem 0 .32rem; font-family: var(--font-display); font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inventory-body code { display: block; color: var(--muted); background: none; font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty-state { padding: 5rem 1rem; text-align: center; }
.empty-state i { color: var(--green); font-size: 2.5rem; }
.empty-state h3 { margin-top: 1rem; font-family: var(--font-display); }

.group-showcase { border-block: 1px solid var(--line); background: #f4f8f3; }
.group-showcase .section-heading, .projects-preview .section-heading { max-width: 700px; }
.group-card { position: relative; padding: 1.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.group-card::before { position: absolute; width: 120px; height: 120px; top: -60px; right: -50px; content: ''; border-radius: 50%; background: var(--group-color); opacity: .18; }
.group-images { display: grid; min-height: 170px; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.group-images img { width: 100%; height: 82px; padding: .5rem; object-fit: contain; border-radius: 14px; background: #f4f7f4; }
.group-card h3 { margin: 1rem 0 0; font-family: var(--font-display); font-size: 1.25rem; }
.group-card p { margin: .1rem 0 0; color: var(--muted); font-size: .9rem; }

.download-section { background: #fff; }
.download-panel { padding: clamp(1.5rem, 5vw, 4.5rem); color: #fff; border-radius: 34px; background: radial-gradient(circle at 8% 0, rgba(243,168,95,.23), transparent 35%), radial-gradient(circle at 100% 100%, rgba(77,145,104,.25), transparent 40%), var(--ink); box-shadow: 0 30px 80px rgba(21,37,29,.2); }
.eyebrow-light { color: #d4f1df; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.07); }
.download-panel h2 { color: #fff; }
.download-panel > .row > div > p { color: #c6d1ca; font-size: 1.05rem; }
.download-list { display: grid; gap: .7rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.download-list i { margin-right: .6rem; color: var(--accent); }
.download-form { padding: clamp(1.3rem, 4vw, 2.4rem); color: var(--ink); border-radius: 24px; background: #fff; }
.download-form h3 { margin: 0; font-family: var(--font-display); font-size: 1.7rem; }
.form-intro { color: var(--muted); }
.form-label { font-weight: 700; }
.form-control { border-color: var(--line); border-radius: 13px; }
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 .25rem rgba(52,116,84,.12); }
.language-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }
.language-option { cursor: pointer; }
.language-option input { position: absolute; opacity: 0; pointer-events: none; }
.language-option span { display: flex; min-height: 58px; align-items: center; gap: .55rem; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: .76rem; transition: .2s; }
.language-option strong { display: grid; min-width: 31px; height: 31px; place-items: center; color: var(--ink); border-radius: 8px; background: #eef3ef; font-size: .68rem; }
.language-option input:checked + span { color: var(--ink); border-color: var(--green); background: #f0faf4; box-shadow: 0 0 0 2px rgba(52,116,84,.08); }
.language-option input:focus-visible + span { outline: 3px solid rgba(52,116,84,.2); }
.consent-check { display: grid; grid-template-columns: 21px 1fr; gap: .7rem; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.consent-check input { width: 19px; height: 19px; margin-top: .1rem; accent-color: var(--green); }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: .76rem; text-align: center; }
.form-note i { margin-right: .3rem; color: var(--green); }

.projects-preview { background: linear-gradient(180deg, #fbfcf9, #fff); }
.project-card { position: relative; padding: 2.2rem; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 15px 45px rgba(21,37,29,.06); }
.project-card::after { position: absolute; width: 180px; height: 180px; right: -70px; bottom: -90px; content: ''; border-radius: 50%; background: var(--sage); }
.project-status { display: inline-block; padding: .35rem .7rem; color: #245c40; border-radius: 999px; background: var(--sage); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.project-status-soon { color: #8b531d; background: var(--accent-light); }
.project-icon { display: block; margin-top: 2.5rem; color: var(--green); font-size: 2.4rem; }
.project-card h3 { margin: 1.1rem 0 .5rem; font-family: var(--font-display); font-size: 1.8rem; }
.project-card p { color: var(--muted); }
.project-card > a { font-weight: 700; text-decoration: none; }
.coming-soon { color: var(--muted); font-size: .88rem; font-weight: 600; }

.subpage-hero { border-bottom: 1px solid var(--line); background: radial-gradient(circle at 70% 0, #dcf3e5, transparent 30%), #fff; }
.subpage-hero p { max-width: 750px; }
.subpage-hero h1 { max-width: 900px; }
.container-xl h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 700; letter-spacing: -.05em; }
.feature-list { display: grid; gap: .7rem; padding: 0; list-style: none; }
.feature-list i { margin-right: .6rem; color: var(--green); }
.project-visual { display: grid; min-height: 430px; place-items: center; align-content: center; border: 1px solid var(--line); border-radius: 30px; text-align: center; }
.project-visual i { margin-bottom: 1.5rem; font-size: 5rem; }
.project-visual span { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.15; }
.discovery-visual { color: #245c40; background: radial-gradient(circle, rgba(255,255,255,.6), transparent 55%), var(--sage); }
.schwarzenbach-visual { color: #fff; background: radial-gradient(circle at 70% 20%, rgba(243,168,95,.3), transparent 30%), var(--ink); }
.project-alt { border-block: 1px solid var(--line); background: #f4f8f3; }
.coming-panel { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid rgba(243,168,95,.35); border-radius: 16px; background: var(--accent-light); }
.coming-panel > i { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; background: var(--accent); }
.coming-panel strong, .coming-panel span { display: block; }
.coming-panel span { color: var(--muted); font-size: .88rem; }
.license-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.license-grid article { padding: 2rem; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.license-grid article > i { color: var(--green); font-size: 1.8rem; }
.license-grid h2 { margin-top: 1.1rem; font-size: 1.4rem; letter-spacing: -.03em; }
.license-grid p { margin-bottom: 0; color: var(--muted); }
.attribution-box { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.4rem; border: 1px solid rgba(52,116,84,.2); border-radius: 20px; background: var(--sage); }
.attribution-box > span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.attribution-box code { flex: 1; min-width: 260px; color: var(--ink); background: #fff; padding: .8rem 1rem; border-radius: 10px; }

.message-section { display: grid; min-height: 72vh; place-items: center; padding: 5rem 1rem; background: radial-gradient(circle at 50% 20%, var(--sage), transparent 35%); }
.message-card, .download-ready-card { max-width: 700px; margin: auto; padding: clamp(2rem, 6vw, 4rem); border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: 0 25px 70px rgba(21,37,29,.12); text-align: center; }
.message-card h1, .download-ready-card h1 { margin: 1rem 0; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.055em; }
.message-card p, .download-ready-card > p { color: var(--muted); }
.message-icon { display: grid; width: 68px; height: 68px; margin: 0 auto 1rem; place-items: center; border-radius: 22px; color: var(--ink); background: var(--accent); font-size: 1.8rem; transform: rotate(-4deg); }
.message-error .message-icon { background: #ffd9cf; }
.download-ready-card { max-width: 760px; }
.download-actions { display: grid; gap: .75rem; margin-top: 2rem; text-align: left; }
.download-file { display: grid; grid-template-columns: 44px 1fr 25px; align-items: center; gap: 1rem; padding: 1rem; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: .2s; }
.download-file:hover { color: var(--ink); border-color: var(--green); transform: translateY(-2px); }
.download-file > i:first-child { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; color: var(--green); background: var(--sage); font-size: 1.3rem; }
.download-file span, .download-file small { display: block; }
.download-file small { color: var(--muted); }
.primary-file { color: #fff; background: var(--ink); }
.primary-file:hover { color: #fff; background: #263d31; }
.primary-file > i:first-child { color: var(--ink); background: var(--accent); }
.primary-file small { color: #becac3; }

.site-footer { color: #dce5df; background: #101b15; }
.site-footer .navbar-brand { color: #fff; }
.footer-copy { max-width: 610px; color: #96a59c; }
.site-footer a:not(.navbar-brand) { display: inline-block; margin-left: 1.2rem; color: #dce5df; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 1199.98px) { .inventory-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
    .py-6, .py-lg-7 { padding-top: 4.5rem; padding-bottom: 4.5rem; }
    .navbar-collapse { padding: 1rem 0 1.3rem; }
    .navbar-nav { align-items: stretch !important; }
    .hero-forge { max-width: 500px; }
    .language-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { justify-content: flex-start; }
}
@media (max-width: 767.98px) {
    .display-title { font-size: clamp(3rem, 14vw, 4.8rem); }
    .hero-lead { font-size: 1.05rem; }
    .hero-forge { border-radius: 32%; }
    .inventory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    .inventory-body { padding: .75rem; }
    .inventory-image { padding: .8rem; }
    .license-grid { grid-template-columns: 1fr; }
    .download-panel { border-radius: 24px; }
    .site-footer a:not(.navbar-brand) { display: block; margin: .4rem 0; }
}
@media (max-width: 420px) {
    .language-grid { grid-template-columns: 1fr; }
    .hero-facts { gap: .8rem 1.2rem; }
    .hero-facts strong { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
