/**
 * Marketing Polish — Anthropic/Notion-Style auf v2-Tokens (2026-04-26)
 *
 * Overlay-Layer fuer 10 SEO-Landingpages. Polished die existierenden
 * landing-redesign.css + seo-landing.css Surfaces auf den neuen Anthropic/
 * Notion-Style ohne Per-Seite-Rewrite. Light + Dark beide unterstuetzt.
 *
 * Specificity-Boost ueber `html[data-css="v2"] body[data-page-context="landing"]`.
 * Wird IN den 10 SEO-Pages als letzter <link> eingebunden.
 */

html[data-css="v2"] body[data-page-context="landing"] {
    /* Marketing-spezifische Tokens, basieren auf v2 */
    --mk-section-py: clamp(64px, 9vw, 128px);
    --mk-container-max: 1200px;
    --mk-container-x: clamp(20px, 4vw, 48px);
    --mk-radius: 16px;
    --mk-radius-lg: 24px;

    --mk-aurora-1: rgba(102, 126, 234, 0.10);
    --mk-aurora-2: rgba(168, 85, 247, 0.08);
    --mk-aurora-3: rgba(56, 189, 248, 0.06);

    --mk-section-tint: var(--surface-sunken, #fafaf9);
    --mk-card-bg: var(--surface-raised, #ffffff);
    --mk-card-border: var(--border, rgba(0, 0, 0, 0.08));

    background: var(--bg, #ffffff) !important;
    color: var(--text, #1a1a2e);
    font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.55;
}

html[data-css="v2"][data-theme="dark"] body[data-page-context="landing"] {
    --mk-aurora-1: rgba(102, 126, 234, 0.18);
    --mk-aurora-2: rgba(168, 85, 247, 0.14);
    --mk-aurora-3: rgba(56, 189, 248, 0.12);
    --mk-section-tint: var(--surface-sunken, #18181b);
    --mk-card-bg: var(--surface-raised, #1f1f23);
    --mk-card-border: var(--border, rgba(255, 255, 255, 0.08));
}

/* ============================================
   GLOBAL POLISH — overrides der schwergewichtigen
   landing-redesign.css / seo-landing.css Surfaces
============================================ */

/* Body-Background: ruhige Aurora-Spots statt Stockfoto-Lärm */
html[data-css="v2"] body[data-page-context="landing"]::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 5%, var(--mk-aurora-1), transparent 60%),
        radial-gradient(ellipse 50% 40% at 95% 25%, var(--mk-aurora-2), transparent 65%),
        radial-gradient(ellipse 60% 40% at 50% 100%, var(--mk-aurora-3), transparent 70%);
}

html[data-css="v2"] body[data-page-context="landing"] > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   NAVIGATION (header/nav) — sticky + backdrop
============================================ */

html[data-css="v2"] body[data-page-context="landing"] header,
html[data-css="v2"] body[data-page-context="landing"] nav.nav,
html[data-css="v2"] body[data-page-context="landing"] .landing-nav,
html[data-css="v2"] body[data-page-context="landing"] .seo-nav {
    background: color-mix(in srgb, var(--bg) 78%, transparent) !important;
    backdrop-filter: saturate(140%) blur(18px);
    -webkit-backdrop-filter: saturate(140%) blur(18px);
    border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.06)) !important;
    box-shadow: none !important;
}

html[data-css="v2"][data-theme="dark"] body[data-page-context="landing"] header,
html[data-css="v2"][data-theme="dark"] body[data-page-context="landing"] nav.nav,
html[data-css="v2"][data-theme="dark"] body[data-page-context="landing"] .landing-nav,
html[data-css="v2"][data-theme="dark"] body[data-page-context="landing"] .seo-nav {
    background: color-mix(in srgb, #0c0a09 75%, transparent) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ============================================
   HEADINGS — Anthropic-Style Typo
============================================ */

html[data-css="v2"] body[data-page-context="landing"] h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--text);
}

html[data-css="v2"] body[data-page-context="landing"] h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.018em;
    font-weight: 700;
    color: var(--text);
}

html[data-css="v2"] body[data-page-context="landing"] h3 {
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.3;
    letter-spacing: -0.012em;
    font-weight: 600;
    color: var(--text);
}

html[data-css="v2"] body[data-page-context="landing"] p {
    color: var(--text-muted);
    line-height: 1.6;
}

html[data-css="v2"] body[data-page-context="landing"] strong,
html[data-css="v2"] body[data-page-context="landing"] b {
    color: var(--text);
}

/* ============================================
   HERO — refined, ohne harte Gradients
============================================ */

html[data-css="v2"] body[data-page-context="landing"] .hero,
html[data-css="v2"] body[data-page-context="landing"] section.hero,
html[data-css="v2"] body[data-page-context="landing"] [class*="hero-section"],
html[data-css="v2"] body[data-page-context="landing"] [class*="seo-hero"] {
    background: transparent !important;
    color: var(--text) !important;
    padding-top: clamp(80px, 10vw, 140px) !important;
    padding-bottom: clamp(60px, 7vw, 100px) !important;
    position: relative;
    overflow: hidden;
}

html[data-css="v2"] body[data-page-context="landing"] .hero::before,
html[data-css="v2"] body[data-page-context="landing"] [class*="seo-hero"]::before,
html[data-css="v2"] body[data-page-context="landing"] section.hero::before {
    display: none !important;
}

html[data-css="v2"] body[data-page-context="landing"] .hero h1,
html[data-css="v2"] body[data-page-context="landing"] [class*="hero"] h1 {
    color: var(--text) !important;
    background: none !important;
    -webkit-text-fill-color: var(--text) !important;
    text-shadow: none !important;
}

html[data-css="v2"] body[data-page-context="landing"] .hero p,
html[data-css="v2"] body[data-page-context="landing"] [class*="hero"] p,
html[data-css="v2"] body[data-page-context="landing"] .hero-subtitle,
html[data-css="v2"] body[data-page-context="landing"] .hero-description,
html[data-css="v2"] body[data-page-context="landing"] .hero-lead {
    color: var(--text-muted) !important;
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.6;
    max-width: 640px;
}

/* ============================================
   CARDS — universelle Surface-Refining
============================================ */

html[data-css="v2"] body[data-page-context="landing"] .card,
html[data-css="v2"] body[data-page-context="landing"] [class*="feature-card"],
html[data-css="v2"] body[data-page-context="landing"] [class*="audience-card"],
html[data-css="v2"] body[data-page-context="landing"] [class*="testimonial"],
html[data-css="v2"] body[data-page-context="landing"] [class*="pricing-card"],
html[data-css="v2"] body[data-page-context="landing"] [class*="plan-card"],
html[data-css="v2"] body[data-page-context="landing"] [class*="problem-card"],
html[data-css="v2"] body[data-page-context="landing"] [class*="benefit-card"],
html[data-css="v2"] body[data-page-context="landing"] [class*="content-card"],
html[data-css="v2"] body[data-page-context="landing"] [class*="stat-card"],
html[data-css="v2"] body[data-page-context="landing"] [class*="trust-card"] {
    background: var(--mk-card-bg) !important;
    border: 1px solid var(--mk-card-border) !important;
    border-radius: var(--mk-radius) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: transform var(--dur-base, 220ms) var(--ease-out), box-shadow var(--dur-base, 220ms) var(--ease-out), border-color var(--dur-base, 220ms) var(--ease-out);
    color: var(--text) !important;
}

html[data-css="v2"] body[data-page-context="landing"] .card:hover,
html[data-css="v2"] body[data-page-context="landing"] [class*="feature-card"]:hover,
html[data-css="v2"] body[data-page-context="landing"] [class*="audience-card"]:hover,
html[data-css="v2"] body[data-page-context="landing"] [class*="pricing-card"]:hover,
html[data-css="v2"] body[data-page-context="landing"] [class*="plan-card"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--border-strong, rgba(0, 0, 0, 0.12)) !important;
}

/* Featured / Highlighted card */
html[data-css="v2"] body[data-page-context="landing"] [class*="featured"],
html[data-css="v2"] body[data-page-context="landing"] [class*="popular"],
html[data-css="v2"] body[data-page-context="landing"] [class*="recommended"],
html[data-css="v2"] body[data-page-context="landing"] .pricing-card.highlighted,
html[data-css="v2"] body[data-page-context="landing"] .plan-card.highlighted {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-md) !important;
}

/* ============================================
   BUTTONS / CTAs
============================================ */

html[data-css="v2"] body[data-page-context="landing"] .btn-primary,
html[data-css="v2"] body[data-page-context="landing"] .cta-primary,
html[data-css="v2"] body[data-page-context="landing"] [class*="btn--primary"],
html[data-css="v2"] body[data-page-context="landing"] a.button-primary,
html[data-css="v2"] body[data-page-context="landing"] button.primary,
html[data-css="v2"] body[data-page-context="landing"] .nav-btn-cta,
html[data-css="v2"] body[data-page-context="landing"] .seo-cta-btn,
html[data-css="v2"] body[data-page-context="landing"] .hero-cta,
html[data-css="v2"] body[data-page-context="landing"] [class*="cta-btn"]:not([class*="-secondary"]):not([class*="-ghost"]) {
    background: var(--text) !important;
    color: var(--bg) !important;
    border: 1px solid var(--text) !important;
    border-radius: 100px !important;
    padding: 14px 28px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    box-shadow: var(--shadow-sm) !important;
    transition: transform var(--dur-fast, 150ms) var(--ease-out), box-shadow var(--dur-fast, 150ms) var(--ease-out);
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

html[data-css="v2"] body[data-page-context="landing"] .btn-primary:hover,
html[data-css="v2"] body[data-page-context="landing"] .cta-primary:hover,
html[data-css="v2"] body[data-page-context="landing"] [class*="btn--primary"]:hover,
html[data-css="v2"] body[data-page-context="landing"] a.button-primary:hover,
html[data-css="v2"] body[data-page-context="landing"] .nav-btn-cta:hover,
html[data-css="v2"] body[data-page-context="landing"] .seo-cta-btn:hover,
html[data-css="v2"] body[data-page-context="landing"] .hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md) !important;
}

html[data-css="v2"] body[data-page-context="landing"] .btn-secondary,
html[data-css="v2"] body[data-page-context="landing"] .cta-secondary,
html[data-css="v2"] body[data-page-context="landing"] [class*="btn--ghost"],
html[data-css="v2"] body[data-page-context="landing"] a.button-secondary,
html[data-css="v2"] body[data-page-context="landing"] button.secondary {
    background: var(--mk-card-bg) !important;
    color: var(--text) !important;
    border: 1px solid var(--mk-card-border) !important;
    border-radius: 100px !important;
    padding: 14px 28px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: transform var(--dur-fast, 150ms) var(--ease-out), border-color var(--dur-fast, 150ms) var(--ease-out);
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

html[data-css="v2"] body[data-page-context="landing"] .btn-secondary:hover,
html[data-css="v2"] body[data-page-context="landing"] .cta-secondary:hover {
    border-color: var(--border-strong) !important;
    transform: translateY(-1px);
}

/* ============================================
   NAV — refine nav links + login + cta
============================================ */

html[data-css="v2"] body[data-page-context="landing"] .nav-links a {
    color: var(--text-muted) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: color var(--dur-fast, 150ms) var(--ease-out, ease) !important;
}

html[data-css="v2"] body[data-page-context="landing"] .nav-links a:hover {
    color: var(--text) !important;
}

html[data-css="v2"] body[data-page-context="landing"] .nav-btn-login {
    color: var(--text-muted) !important;
}

html[data-css="v2"] body[data-page-context="landing"] .nav-btn-cta {
    padding: 10px 20px !important;
    font-size: 14px !important;
    border-radius: 100px !important;
}

/* ============================================
   TRUST / BADGES / PILLS
============================================ */

html[data-css="v2"] body[data-page-context="landing"] .trust-bar,
html[data-css="v2"] body[data-page-context="landing"] .trust-strip,
html[data-css="v2"] body[data-page-context="landing"] [class*="trust-section"] {
    background: var(--mk-section-tint) !important;
    border-top: 1px solid var(--border, rgba(0,0,0,0.06)) !important;
    border-bottom: 1px solid var(--border, rgba(0,0,0,0.06)) !important;
    padding: 32px 0 !important;
}

html[data-css="v2"] body[data-page-context="landing"] .trust-bar [class*="badge"],
html[data-css="v2"] body[data-page-context="landing"] .trust-strip [class*="badge"],
html[data-css="v2"] body[data-page-context="landing"] [class*="trust"] [class*="badge"] {
    background: var(--mk-card-bg) !important;
    border: 1px solid var(--mk-card-border) !important;
    color: var(--text-muted) !important;
    border-radius: 100px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

html[data-css="v2"] body[data-page-context="landing"] .badge,
html[data-css="v2"] body[data-page-context="landing"] .pill,
html[data-css="v2"] body[data-page-context="landing"] [class*="eyebrow"] {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-card-border);
    color: var(--text-muted);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   FAQ / DETAILS — Accordion Polish
============================================ */

html[data-css="v2"] body[data-page-context="landing"] details,
html[data-css="v2"] body[data-page-context="landing"] .faq-item,
html[data-css="v2"] body[data-page-context="landing"] [class*="faq-card"] {
    background: var(--mk-card-bg) !important;
    border: 1px solid var(--mk-card-border) !important;
    border-radius: 14px !important;
    padding: 20px 24px !important;
    margin-bottom: 12px;
    transition: border-color var(--dur-base) var(--ease-out);
}

html[data-css="v2"] body[data-page-context="landing"] details[open],
html[data-css="v2"] body[data-page-context="landing"] .faq-item.open {
    border-color: var(--border-strong) !important;
}

html[data-css="v2"] body[data-page-context="landing"] details summary,
html[data-css="v2"] body[data-page-context="landing"] .faq-question {
    cursor: pointer;
    font-weight: 600;
    color: var(--text) !important;
    font-size: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

html[data-css="v2"] body[data-page-context="landing"] details summary::-webkit-details-marker {
    display: none;
}

/* ============================================
   FOOTER
============================================ */

html[data-css="v2"] body[data-page-context="landing"] footer,
html[data-css="v2"] body[data-page-context="landing"] .landing-footer,
html[data-css="v2"] body[data-page-context="landing"] .seo-footer {
    background: var(--mk-section-tint) !important;
    color: var(--text-muted) !important;
    border-top: 1px solid var(--border) !important;
    padding: 64px 0 32px !important;
}

html[data-css="v2"] body[data-page-context="landing"] footer h3,
html[data-css="v2"] body[data-page-context="landing"] footer h4 {
    color: var(--text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

html[data-css="v2"] body[data-page-context="landing"] footer a {
    color: var(--text-muted) !important;
    transition: color var(--dur-fast) var(--ease-out);
}

html[data-css="v2"] body[data-page-context="landing"] footer a:hover {
    color: var(--text) !important;
}

/* ============================================
   SECTION-BACKGROUNDS — entlasten von harten Gradients
============================================ */

html[data-css="v2"] body[data-page-context="landing"] section {
    background: transparent !important;
}

html[data-css="v2"] body[data-page-context="landing"] section[class*="-tinted"],
html[data-css="v2"] body[data-page-context="landing"] section.bg-subtle,
html[data-css="v2"] body[data-page-context="landing"] section.bg-alt {
    background: var(--mk-section-tint) !important;
}

/* ============================================
   PRICING / PLANS — refined
============================================ */

html[data-css="v2"] body[data-page-context="landing"] [class*="price"]:not([class*="-card"]) {
    color: var(--text) !important;
    font-weight: 700;
}

/* Plan-Featured */
html[data-css="v2"] body[data-page-context="landing"] .plan-featured,
html[data-css="v2"] body[data-page-context="landing"] .pricing-card.featured {
    transform: scale(1.02);
}

/* ============================================
   INPUTS / FORMS (newsletter etc.)
============================================ */

html[data-css="v2"] body[data-page-context="landing"] input[type="email"],
html[data-css="v2"] body[data-page-context="landing"] input[type="text"] {
    background: var(--mk-card-bg) !important;
    border: 1px solid var(--mk-card-border) !important;
    color: var(--text) !important;
    border-radius: 100px !important;
    padding: 12px 20px !important;
    font-family: inherit;
    font-size: 15px !important;
    transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

html[data-css="v2"] body[data-page-context="landing"] input[type="email"]:focus,
html[data-css="v2"] body[data-page-context="landing"] input[type="text"]:focus {
    outline: none;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px var(--accent-ring) !important;
}

/* ============================================
   CODE / KBD
============================================ */

html[data-css="v2"] body[data-page-context="landing"] code,
html[data-css="v2"] body[data-page-context="landing"] kbd,
html[data-css="v2"] body[data-page-context="landing"] pre {
    font-family: var(--font-mono) !important;
    background: var(--surface-sunken) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: 8px !important;
    padding: 2px 8px !important;
    font-size: 0.875em !important;
}

html[data-css="v2"] body[data-page-context="landing"] pre {
    padding: 16px 20px !important;
}

/* ============================================
   TABLES (Comparison etc.)
============================================ */

html[data-css="v2"] body[data-page-context="landing"] table {
    width: 100%;
    border-collapse: collapse;
    background: var(--mk-card-bg);
    border-radius: var(--mk-radius);
    overflow: hidden;
    border: 1px solid var(--mk-card-border);
}

html[data-css="v2"] body[data-page-context="landing"] th,
html[data-css="v2"] body[data-page-context="landing"] td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

html[data-css="v2"] body[data-page-context="landing"] th {
    background: var(--surface-sunken);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

html[data-css="v2"] body[data-page-context="landing"] tr:last-child td {
    border-bottom: none;
}

/* ============================================
   ICONS — subtle accent containers
============================================ */

html[data-css="v2"] body[data-page-context="landing"] .icon-circle,
html[data-css="v2"] body[data-page-context="landing"] [class*="icon-bg"],
html[data-css="v2"] body[data-page-context="landing"] [class*="feature-icon"]:not(svg) {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-soft) !important;
    color: var(--accent) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* ============================================
   LINKS — Subtle Underline on Hover
============================================ */

html[data-css="v2"] body[data-page-context="landing"] main a:not(.btn-primary):not(.btn-secondary):not(.cta-primary):not(.cta-secondary):not([class*="btn"]) {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-fast) var(--ease-out);
}

html[data-css="v2"] body[data-page-context="landing"] main a:not(.btn-primary):not(.btn-secondary):not(.cta-primary):not(.cta-secondary):not([class*="btn"]):hover {
    border-bottom-color: var(--accent);
}

/* ============================================
   ANTI-LEGACY — neutralize harsh dark-premium effects
============================================ */

html[data-css="v2"] body[data-page-context="landing"] .aurora-shape,
html[data-css="v2"] body[data-page-context="landing"] .floating-shape,
html[data-css="v2"] body[data-page-context="landing"] [class*="orb"],
html[data-css="v2"] body[data-page-context="landing"] [class*="blob"]:not([class*="aurora-blob"]) {
    display: none !important;
}

/* Stockfoto-Hintergruende deaktivieren */
html[data-css="v2"] body[data-page-context="landing"] .page-bg-photo,
html[data-css="v2"] body[data-page-context="landing"] [class*="-bg-photo"],
html[data-css="v2"] body[data-page-context="landing"] [data-bg-photo] {
    background-image: none !important;
}

/* ============================================
   RESPONSIVE
============================================ */

@media (max-width: 768px) {
    html[data-css="v2"] body[data-page-context="landing"] h1 {
        font-size: clamp(32px, 8vw, 44px);
    }
    html[data-css="v2"] body[data-page-context="landing"] h2 {
        font-size: clamp(24px, 5vw, 32px);
    }
}

/* ============================================
   PRINT
============================================ */

@media print {
    html[data-css="v2"] body[data-page-context="landing"]::before {
        display: none;
    }
}
