/* ============================================================
   legal.css — Impressum / AGB / Datenschutz (maikie.de/legal.php)
   Load-Order: fonts.css → design-tokens.css → shop-layout.css
               → figma-overrides.css → legal.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        :root {
            /* primäre Akzentfarben kommen aus design-tokens.css */
            --white: #fff; --gray-50: #f8fafc; --gray-100: #f1f5f9; --gray-200: #e2e8f0;
            --gray-300: #cbd5e1; --gray-400: #94a3b8; --gray-500: #64748b; --gray-600: #475569;
            --gray-700: #334155; --gray-800: #1e293b; --gray-900: #0f172a;
        }
        html { scroll-behavior: smooth; overflow-x: hidden; }
        body { font-family: var(--font-body, 'DM Sans', system-ui, sans-serif); font-size: 1.0625rem; color: var(--navy, #0f1f2e); background: var(--sand, #f5f1eb); -webkit-font-smoothing: antialiased; line-height: 1.7; }
        h1,h2,h3,h4,h5 { font-family: var(--font-display, 'Cormorant Garamond', serif); letter-spacing: -0.025em; line-height: 1.25; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

        /* === NAV (identical to index.html) === */
        .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(0,0,0,0.06); }
        .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
        .nav-logo img { height: 36px; width: auto; }
        .nav-links { display: flex; align-items: center; gap: 0.25rem; }
        .nav-links a { padding: 0.5rem 1rem; font-size: 0.9375rem; font-weight: 500; color: var(--muted, #9AA3B8); text-decoration: none; border-radius: 0.5rem; transition: all 0.2s; }
        .nav-links a:hover { color: var(--navy, #0f1f2e); background: var(--sand, #f5f1eb); }
        .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 600; border-radius: 0.75rem; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; }
        .nav-cta { background: linear-gradient(135deg, var(--accent2, #0099CC), var(--accent, #00C8F0)) !important; color: white !important; font-weight: 600 !important; box-shadow: 0 2px 8px rgba(57,175,229,0.3); }
        .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
        @media (max-width: 768px) { .nav-links { display: none; } .nav-toggle { display: block; } .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: white; padding: 1rem; border-bottom: 1px solid var(--border, rgba(255,255,255,0.08)); box-shadow: 0 10px 25px rgba(0,0,0,0.1); } .footer-grid { grid-template-columns: 1fr 1fr; } .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; } .imprint-grid { grid-template-columns: 1fr; } .legal-card { overflow-x: auto; word-break: break-word; } .legal-card table { font-size: 0.875rem; } }

        /* === PAGE HEADER === */
        .page-header { padding: 7rem 0 2rem; text-align: center; background: linear-gradient(135deg, #fff 0%, var(--sand, #f5f1eb) 50%, rgba(0,153,204,0.06) 100%); }
        .page-header h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; color: var(--navy, #0f1f2e); margin-bottom: 0.5rem; }
        .page-header p { color: var(--muted, #9AA3B8); font-size: 1.0625rem; }

        /* === LEGAL NAV PILLS === */
        .legal-nav { max-width: 800px; margin: -1.25rem auto 2rem; padding: 0 1.5rem; position: relative; z-index: 10; }
        .legal-nav-inner { display: flex; gap: 0.375rem; background: #fff; padding: 0.375rem; border-radius: 0.75rem; box-shadow: 0 4px 12px rgba(0,0,0,0.08); overflow-x: auto; }
        .legal-nav a { flex: 1; text-align: center; padding: 0.625rem 1rem; border-radius: 0.5rem; text-decoration: none; font-size: 0.875rem; font-weight: 600; color: var(--muted, #9AA3B8); transition: all 0.2s; white-space: nowrap; }
        .legal-nav a:hover { color: var(--navy, #0f1f2e); background: var(--sand, #f5f1eb); }
        .legal-nav a.active { background: var(--accent2, #0099CC); color: white; }

        /* === CONTENT === */
        .legal-content { max-width: 800px; margin: 0 auto 3rem; padding: 0 1.5rem; }
        .legal-card { background: #fff; border-radius: 1.5rem; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 1px 3px rgba(0,0,0,0.1); border: 1px solid var(--border); }
        .legal-card h1,.legal-card h2,.legal-card h3 { font-family: var(--font-display, 'Cormorant Garamond', serif); color: var(--navy, #0f1f2e); }
        .legal-card h1 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--border); }
        .legal-card h2 { font-size: 1.25rem; font-weight: 700; margin: 1.75rem 0 0.75rem; }
        .legal-card h3 { font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
        .legal-card p { margin-bottom: 1rem; color: var(--subtle, #6b7a99); }
        .legal-card ul,.legal-card ol { margin-bottom: 1rem; padding-left: 1.5rem; color: var(--subtle, #6b7a99); }
        .legal-card li { margin-bottom: 0.375rem; }
        .legal-card a { color: var(--accent2, #0099CC); text-decoration: none; font-weight: 500; }
        .legal-card a:hover { text-decoration: underline; }
        .legal-card strong { color: var(--text-strong, #F0F2F7); }
        .legal-card table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
        .legal-card td,.legal-card th { padding: 0.75rem; border: 1px solid var(--border, rgba(255,255,255,0.08)); text-align: left; }

        /* === IMPRESSUM GRID === */
        .imprint-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
        .imprint-card { background: var(--sand, #f5f1eb); border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem; transition: all 0.2s; }
        .imprint-card:hover { border-color: var(--border, rgba(255,255,255,0.08)); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
        .imprint-card h3 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(154,163,184,0.6); margin-bottom: 0.5rem; }
        .imprint-name { font-size: 1.125rem; font-weight: 700; color: var(--navy, #0f1f2e) !important; }

        /* === FOOTER (identical to index.html) === */
        .footer { background: var(--navy, #0f1f2e); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
        .footer-brand img { height: 28px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.9; }
        .footer-brand p { font-size: 0.875rem; line-height: 1.6; max-width: 280px; }
        .footer-contact { margin-top: 1rem; font-size: 0.8125rem; }
        .footer-contact a { color: rgba(255,255,255,0.7); text-decoration: none; }
        .footer-contact a:hover { color: white; }
        .footer h4 { font-family: var(--font-display, 'Cormorant Garamond', serif); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
        .footer ul { list-style: none; }
        .footer li { margin-bottom: 0.5rem; }
        .footer li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
        .footer li a:hover { color: white; }
        .footer-partner { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; text-decoration: none; }
        .footer-partner img { height: 20px; filter: brightness(0) invert(1); opacity: 0.5; transition: opacity 0.2s; }
        .footer-partner:hover img { opacity: 1; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
        @media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; } }

        @media print { .nav,.legal-nav,.footer { display: none; } .page-header { padding: 1rem 0; background: none; } .legal-card { box-shadow: none; border: none; padding: 0; } }
