/* Shared stylesheet for digital2physical.de.
 * Extracted from the inline <style> block of index.html so that
 * index.html, impressum.html and datenschutz.html share one copy.
 * Font paths are absolute so the file works from any directory depth.
 */
    /*
     * Self-hosted Inter variable font (GDPR-compliant, no Google Fonts CDN).
     * Download Inter from: https://github.com/rsms/inter/releases
     * Place InterVariable.woff2 in /fonts/
     *
     * The italic face was removed: it cost 388 KB to style the single <em>
     * in the hero. The browser synthesises an oblique instead, which is
     * indistinguishable at that size and saves more than the rest of the
     * page weighs.
     */
    @font-face {
      font-family: 'Inter';
      font-style: normal;
      font-weight: 100 900;
      font-display: swap;
      src: url('/fonts/InterVariable.woff2') format('woff2-variations');
    }

    :root {
      /* Proximety brand palette */
      --green: #34C759;
      --blue: #007AFF;
      --purple: #AF52DE;
      --white: #FFFFFF;

      /* Derived / UI colors */
      --black: #0a0a0a;
      --bg: #f9f9f7;
      --cream: #f2f1ed;
      --gray: #636366;
      --gray-light: #aeaeb2;
      --gray-faint: #d1d1d6;
      --green-light: #e8faf0;
      --blue-light: #e5f1ff;
      --amber: #92400e;
      --amber-light: #fef3c7;
      --border: rgba(10,10,10,0.06);
      --radius: 14px;
      --font: 'Inter', system-ui, -apple-system, sans-serif;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
    body { font-family: var(--font); background: var(--bg); color: var(--black); line-height: 1.6; min-height: 100vh; overflow-x: hidden; }

    /* Subtle grain overlay */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 100;
    }

    .container { max-width: 700px; margin: 0 auto; padding: 0 24px; }
    a { color: inherit; }

    /* === NAV === */
    nav { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; }
    .logo-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
    .logo-symbol {
      width: 32px; height: 32px;
      border-radius: 8px;
      overflow: hidden;
      flex-shrink: 0;
    }
    .logo-symbol img {
      width: 100%; height: 100%;
      object-fit: cover;
    }
    .logo-text { font-weight: 700; font-size: 16px; letter-spacing: -0.03em; }
    .logo-text span { color: var(--gray-light); }
    .nav-links { display: flex; gap: 24px; }
    .nav-links a { font-size: 13px; color: var(--gray); text-decoration: none; font-weight: 450; transition: color 0.2s; }
    .nav-links a:hover { color: var(--black); }

    /* === HERO === */
    .hero { padding: 64px 0 72px; animation: fadeUp 0.7s ease-out; }
    .hero h1 {
      font-size: clamp(32px, 5.5vw, 48px);
      line-height: 1.15;
      font-weight: 650;
      letter-spacing: -0.035em;
      margin-bottom: 20px;
      max-width: 560px;
    }
    .hero h1 em {
      font-style: italic;
      font-weight: 450;
      background: linear-gradient(135deg, var(--green), var(--blue));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      /* The dedicated italic face is gone, so the browser synthesises an
         oblique. Its slant pushes the last glyph past the inline box, and
         background-clip:text then shears the final "e" off. The padding
         widens the painted box; the negative margin keeps the layout put. */
      padding-right: 0.12em;
      margin-right: -0.12em;
    }
    .hero p { font-size: 16px; color: var(--gray); max-width: 460px; line-height: 1.7; font-weight: 350; }

    .divider { height: 1px; background: var(--border); }

    /* === SECTIONS === */
    section { padding: 56px 0; }
    .section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-light); margin-bottom: 28px; }

    /* === PRODUCT CARDS === */
    .products { display: flex; flex-direction: column; gap: 20px; }
    .product-card {
      background: var(--cream);
      border-radius: var(--radius);
      padding: 28px;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .product-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 24px rgba(0,0,0,0.05);
    }
    .product-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
    .product-name { font-size: 24px; font-weight: 650; letter-spacing: -0.02em; }
    .product-badge {
      font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
      padding: 3px 10px; border-radius: 100px;
      background: var(--green-light); color: var(--green);
      white-space: nowrap;
    }
    .product-badge.soon { background: var(--amber-light); color: var(--amber); }
    .product-tagline { font-size: 14px; color: var(--gray); margin-bottom: 18px; font-weight: 350; font-style: italic; }
    .product-links { display: flex; flex-wrap: wrap; gap: 6px; }
    .product-link {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 12px; font-weight: 500; color: var(--black);
      text-decoration: none; padding: 5px 12px;
      border-radius: 100px;
      background: rgba(255,255,255,0.7);
      border: 1px solid var(--border);
      transition: all 0.2s ease;
    }
    .product-link:hover { background: var(--black); color: var(--white); border-color: var(--black); }
    .product-link svg { width: 13px; height: 13px; flex-shrink: 0; }

    /* === CONTACT === */
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
    @media (max-width: 540px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
    .contact-block h3 { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
    .contact-block p { font-size: 13px; color: var(--gray); line-height: 1.75; font-weight: 350; }
    .contact-block a { text-decoration: none; color: var(--blue); font-weight: 450; transition: opacity 0.2s; }
    .contact-block a:hover { opacity: 0.7; }
    .founder-name { }
    .founder-role { }

    .vcard-btn {
      display: inline-flex; align-items: center; gap: 7px;
      margin-top: 20px; padding: 9px 18px;
      background: var(--black); color: var(--white);
      border: none; border-radius: 100px;
      font-family: var(--font); font-size: 12px; font-weight: 550;
      cursor: pointer; transition: all 0.2s ease; text-decoration: none;
    }
    .vcard-btn:hover { background: var(--blue); transform: translateY(-1px); }
    .vcard-btn svg { width: 14px; height: 14px; }

    /* === LEGAL PAGES === */
    .legal-page { display: none; padding: 56px 0 80px; animation: fadeUp 0.4s ease-out; }
    .legal-page.active { display: block; }
    .legal-page h2 { font-size: 28px; font-weight: 650; letter-spacing: -0.03em; margin-bottom: 32px; }
    .legal-page h3 { font-size: 15px; font-weight: 600; margin-top: 28px; margin-bottom: 8px; }
    .legal-page p, .legal-page li { font-size: 14px; color: var(--gray); line-height: 1.8; font-weight: 350; margin-bottom: 8px; }
    .legal-page ul { padding-left: 20px; margin-bottom: 12px; }
    .legal-page a { color: var(--blue); text-decoration: none; transition: opacity 0.2s; }
    .legal-page a:hover { opacity: 0.7; }
    .back-link {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: 13px; font-weight: 500; color: var(--gray);
      text-decoration: none; margin-bottom: 32px;
      transition: color 0.2s; cursor: pointer;
      border: none; background: none; font-family: var(--font); padding: 0;
    }
    .back-link:hover { color: var(--black); }

    /* === FOOTER === */
    footer { padding: 40px 0; border-top: 1px solid var(--border); }
    .footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
    footer p { font-size: 11px; color: var(--gray-light); font-weight: 350; }
    .footer-links { display: flex; gap: 20px; }
    .footer-links a { font-size: 11px; color: var(--gray-light); text-decoration: none; font-weight: 450; transition: color 0.2s; cursor: pointer; }
    .footer-links a:hover { color: var(--black); }

    /* === ANIMATIONS === */
    @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
    .animate { opacity: 0; transform: translateY(12px); animation: fadeUp 0.5s ease-out forwards; }
    .delay-1 { animation-delay: 0.08s; }
    .delay-2 { animation-delay: 0.16s; }

    @media (max-width: 480px) {
      .hero { padding: 40px 0 48px; }
      section { padding: 40px 0; }
      .product-card { padding: 20px; }
      .product-header { flex-direction: column; align-items: flex-start; gap: 6px; }
      .nav-links { gap: 16px; }
    }
