/* pages/a.css — pagina-specifieke stijlen (gegenereerd) */

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--paper); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
.top-actions { display: flex; gap: 12px; align-items: center; }
.btn-on-green--gold { background: var(--gold); color: #fff; border: 1.5px solid var(--gold); padding: 13px 26px; font-family: inherit; font-size: 14px; font-weight: 400; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; border-radius: 3px; letter-spacing: 0.01em; text-decoration: none; display: inline-block; }
.hero { position: relative; padding: 8px 48px 160px; overflow: hidden; isolation: isolate; background: var(--forest); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 46, 37, 1) 0%, rgba(22, 46, 37, 1) 50%, rgba(22, 46, 37, 0.78) 65%, rgba(22, 46, 37, 0.55) 85%, rgba(22, 46, 37, 0.42) 100%); z-index: -1; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 120px; background: linear-gradient(180deg, rgba(7, 42, 32, 0.55) 0%, transparent 100%); pointer-events: none; z-index: 0; }
.hero h1 { font-size: clamp(36px, 4.5vw, 56px); font-weight: 700; line-height: 1.1; color: #fff; letter-spacing: -0.015em; max-width: 780px; margin-bottom: 28px; margin-top: 20px; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3); }
.hero-sub { color: #fff; font-size: 16px; font-weight: 400; margin-bottom: 32px; line-height: 1.5; opacity: 0.98; }
.hero-sub-end { white-space: nowrap; }
.swiss-flag { display: inline-block; width: 18px; height: 18px; background: #dc0018; position: relative; border-radius: 2px; vertical-align: middle; margin-left: 6px; }
.swiss-flag::before, .swiss-flag::after { content: ''; position: absolute; background: #fff; }
.swiss-flag::before { left: 7px; top: 3px; width: 4px; height: 12px; }
.swiss-flag::after { left: 3px; top: 7px; width: 12px; height: 4px; }
.signup-form { display: flex; gap: 10px; max-width: 620px; margin-bottom: 48px; }
.signup-form input { flex: 1; padding: 15px 20px; border: none; background: var(--paper); font-family: inherit; font-size: 15px; border-radius: 3px; outline: none; box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.signup-form input::placeholder { color: #9a9a9a; }
.signup-form input:focus { box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 0 0 2px var(--forest); }
.hero-tagline { color: #fff; font-size: 20px; font-weight: 400; line-height: 1.4; max-width: 720px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25); }
.hero-tagline strong { font-weight: 700; color: #fff; }
.metals-section { position: relative; margin-top: -90px; padding: 0 48px 20px; z-index: 2; background: linear-gradient(to bottom, transparent 90px, var(--paper) 90px); }
.metals-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.metal-card { background: var(--paper); padding: 28px 22px; border-radius: 4px; border: 1px solid rgba(22, 46, 37, 0.25); position: relative; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; }
.metal-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--forest); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.metal-card:hover { transform: translateY(-4px); }
.metal-card:hover::before { transform: scaleX(1); }
.metal-name { font-size: 18px; font-weight: 700; color: var(--ink); text-align: center; margin-bottom: 6px; }
.metal-chart-link { display: block; text-align: center; font-size: 12px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; margin-bottom: 20px; }
.metal-divider { height: 1px; background: var(--grey-line); margin-bottom: 18px; }
.metal-label { font-size: 12px; color: var(--text-muted); text-align: center; margin-bottom: 8px; }
.metal-price { font-size: 22px; font-weight: 700; color: var(--gold); text-align: center; letter-spacing: -0.01em; white-space: nowrap; }
.metal-price .unit { font-size: 0.59em; font-weight: 400; color: var(--gold); }
.trust-strip { background: var(--paper); padding: 27px 48px 48px; }
.newsletter-input { padding: 12px 16px; border: 1px solid rgba(22, 46, 37, 0.2); background: var(--paper); font-family: inherit; font-size: 14px; border-radius: 3px; outline: none; width: 220px; transition: border-color 0.2s ease; }
.footer { background: var(--cream); padding: 48px 48px 40px; border-top: 1px solid rgba(22, 46, 37, 0.1); }
.app-badge { display: inline-block; line-height: 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.app-badge:hover { transform: translateY(-2px); opacity: 0.9; }
.app-badge img { height: 44px; width: auto; display: block; }
@media (max-width: 1100px) {
    .metals-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-inner { grid-template-columns: repeat(3, 1fr); }
  }
@media (max-width: 720px) {
    .top-bar { gap: 12px; padding-top: 14px; padding-bottom: 14px; }
    .top-actions { gap: 8px; }
    .top-actions .btn-on-cream { padding: 10px 16px; font-size: 13px; }
    .top-bar, .nav-bar, .hero, .metals-section, .trust-strip, .footer { padding-left: 24px; padding-right: 24px; }
    .nav-bar { gap: 20px; flex-wrap: wrap; }
    .metals-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .signup-form { flex-direction: column; }
    .trust-inner { flex-direction: column; align-items: flex-start; }
    .newsletter { flex-wrap: wrap; }
    /* Header-foto heel licht zichtbaar op mobiel */
    .hero .hero-bg { display: block; left: 0; right: 0; width: 100%; background-size: cover; background-position: center; }
    .hero-overlay { background: rgba(22, 46, 37, 0.9); }
    /* Tagline: max 3 regels, vult de breedte (br negeren op mobiel) */
    .hero-tagline { font-size: clamp(17px, 5.4vw, 21px); line-height: 1.3; text-wrap: balance; }
    .hero-tagline br { display: none; }
    /* Header minder hoog: kaarten dichter bij de tagline (gap = padding-onder - 90px overlap) */
    .hero { padding-bottom: 115px; }
    /* Kaarten over de header (boven de fold); harde overgang i.p.v. zachte witte fade */
    .metals-section { margin-top: -90px; background: linear-gradient(to bottom, transparent 90px, var(--paper) 90px); }
    /* Witte kaarten contrast geven op de beige achtergrond */
    .metal-card { border: 1px solid rgba(22, 46, 37, 0.12); padding: 16px 16px; }
    .metal-card .metal-name { margin-bottom: 4px; }
    .metal-card .metal-chart-link { margin-bottom: 12px; }
    .metal-card .metal-divider { margin-bottom: 12px; }
    .metal-card .metal-label { margin-bottom: 6px; }
    /* Prijs (€ + bedrag + /g) op 1 regel houden; schaalt mee tot 300px */
    .metal-card .metal-price { font-size: clamp(13px, 4.6vw, 22px); }
    .logo { height: 40px; }
  }
.top-actions { gap: 10px; }
.metal-card { text-decoration: none; color: inherit; cursor: pointer; display: block; }
.metal-chart-link { cursor: pointer; }
