/*
Theme Name: 1n2 Premium Light - KI Mode Berater
Theme URI: https://1n2.de
Description: Premium WordPress Design für den 1n2 KI Mode Berater (Light Mode).
Author: Antigravity
Version: 1.0
Text Domain: 1n2-theme-light
*/

:root {
    --tier-dark: #F8FAFC;
    /* Slate 50 - Background */
    --tier-bg-alt: #F1F5F9;
    /* Slate 100 */
    --tier-green-mid: #E2E8F0;
    /* Slate 200 */
    --tier-fuchsia: #D946EF;
    /* Fuchsia 500 */
    --tier-rose: #FB7185;
    /* Rose 400 */
    --tier-slate: #F8FAFC;
    --tier-cream: #0F172A;
    /* Dark text for light mode */
    --text-main: #0F172A;
    /* Slate 900 */
    --text-muted: #64748B;
    /* Slate 500 */
    --glass-bg: rgba(255, 255, 255, 0.85);
}

body {
    background-color: var(--tier-dark);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;
    letter-spacing: -0.01em;
    line-height: 1.6;
}

.fuchsia-gradient {
    background: linear-gradient(135deg, var(--tier-fuchsia) 0%, var(--tier-rose) 100%);
}

.fuchsia-gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--tier-rose) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rose-gradient-text {
    background: linear-gradient(135deg, var(--tier-fuchsia) 0%, var(--tier-rose) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* Dropdown Support */
.nav-menu li.group:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[x-cloak] {
    display: none !important;
}

/* WP Block Lists (Premium Style) */
.entry-content ul.wp-block-list,
.entry-content ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 1rem;
}

.entry-content ul.wp-block-list li,
.entry-content ul li {
    position: relative;
    padding: 1rem 1.5rem 1rem 3.5rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.entry-content ul.wp-block-list li:hover,
.entry-content ul li:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
    border-color: var(--tier-fuchsia);
}

.entry-content ul.wp-block-list li::before,
.entry-content ul li::before {
    content: "\f00c";
    /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tier-fuchsia);
    font-size: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(217, 70, 239, 0.1);
    border-radius: 50%;
}

/* Exclude navigation/UI lists if necessary, scope to article content */
.entry-content ol {
    counter-reset: item;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 1rem;
}

.entry-content ol li {
    position: relative;
    padding: 1rem 1.5rem 1rem 3.5rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    color: var(--text-main);
    counter-increment: item;
}

.entry-content ol li::before {
    content: counter(item);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tier-rose);
    font-weight: 800;
    font-size: 0.9rem;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 113, 133, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(251, 113, 133, 0.2);
}

/* Navigation Styles */
.dropdown-menu {
    transform-origin: top center;
    transform: translateY(10px) rotateX(-15deg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.15), 0 18px 36px -18px rgba(15, 23, 42, 0.1);
}

li.group:hover>.dropdown-menu {
    transform: translateY(0) rotateX(0);
    opacity: 1;
    visibility: visible;
}

.premium-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(217, 70, 239, 0.4);
    background: rgba(30, 41, 59, 0.6);
}

/* Typography Tweaks */
.entry-content {
    font-size: 1.25rem;
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.entry-content h1 {
    font-size: 3.5rem;
}

.entry-content h2 {
    font-size: 2.75rem;
    border-left: 4px solid var(--tier-fuchsia);
    padding-left: 1.5rem;
}

.entry-content h3 {
    font-size: 1.85rem;
    color: var(--tier-fuchsia);
}

.entry-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.entry-content blockquote {
    background: rgba(217, 70, 239, 0.05);
    border-left: 6px solid var(--tier-fuchsia);
    padding: 2.5rem;
    margin: 3rem 0;
    border-radius: 0 2rem 2rem 0;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-main);
    position: relative;
}

.entry-content blockquote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: var(--tier-fuchsia);
    opacity: 0.2;
    font-family: serif;
}

/* Comments Styling */
.comments-area {
    margin-top: 5rem;
    padding: 4rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.comment-list .comment-body {
    background: rgba(0, 0, 0, 0.02);
    padding: 2rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.comment-reply-title {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: 1rem;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    border-color: var(--tier-fuchsia);
}

.submit-btn {
    background: var(--tier-fuchsia);
    color: #FFF;
    font-weight: 900;
    padding: 1rem 3rem;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(217, 70, 239, 0.3);
}

/* AI Form Radio Items - Premium Styling Aggressive Fix */
.aipkit-radio-item {
    display: block !important;
    margin-bottom: 12px !important;
    position: relative !important;
    background: rgba(248, 250, 252, 0.5) !important;
    border: 1px solid rgba(15, 23, 42, 0.05) !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    /* Extremely important: move padding to label */
    overflow: hidden;
}

/* Suppress any default plugin before/after elements on the container */
.aipkit-radio-item::before,
.aipkit-radio-item::after {
    content: none !important;
    display: none !important;
}

.aipkit-radio-item:hover {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(217, 70, 239, 0.3) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

.aipkit-radio-item input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.aipkit-radio-item label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 20px !important;
    /* Generous hit area */
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    user-select: none !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    width: 100% !important;
    min-height: 54px !important;
    /* Ensure a good height even for short text */
}

/* Custom Circle Marker ON THE LABEL */
.aipkit-radio-item label::before {
    content: '' !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    border: 2px solid rgba(217, 70, 239, 0.2) !important;
    border-radius: 50% !important;
    background: #fff !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    flex-shrink: 0 !important;
}

/* Selected State */
.aipkit-radio-item:has(input[type="radio"]:checked) {
    background: #fff !important;
    border-color: var(--tier-fuchsia) !important;
    box-shadow: 0 8px 24px -6px rgba(217, 70, 239, 0.15) !important;
}

.aipkit-radio-item:has(input[type="radio"]:checked) label {
    color: var(--text-main) !important;
    font-weight: 700 !important;
}

.aipkit-radio-item:has(input[type="radio"]:checked) label::before {
    border-color: var(--tier-fuchsia) !important;
    border-width: 7px !important;
    background: #fff !important;
    transform: scale(1.1) !important;
}

/* Focus State */
.aipkit-radio-item:focus-within {
    border-color: var(--tier-fuchsia) !important;
    outline: 2px solid rgba(217, 70, 239, 0.1) !important;
    outline-offset: 2px !important;
}/* AI Form Checkbox Items - Premium Styling */
.aipkit-checkbox-item {
    display: block !important;
    margin-bottom: 12px !important;
    position: relative !important;
    background: rgba(248, 250, 252, 0.5) !important;
    border: 1px solid rgba(15, 23, 42, 0.05) !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    overflow: hidden;
}

/* Suppress any default plugin before/after elements */
.aipkit-checkbox-item::before,
.aipkit-checkbox-item::after {
    content: none !important;
    display: none !important;
}

.aipkit-checkbox-item:hover {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(217, 70, 239, 0.3) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

.aipkit-checkbox-item input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.aipkit-checkbox-item label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    user-select: none !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    width: 100% !important;
    min-height: 54px !important;
    text-transform: none !important;
}

/* Custom Square Marker for Checkboxes */
.aipkit-checkbox-item label::before {
    content: '' !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    border: 2px solid rgba(217, 70, 239, 0.2) !important;
    border-radius: 6px !important;
    /* Rounded square */
    background: #fff !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    flex-shrink: 0 !important;
}

/* Selected State */
.aipkit-checkbox-item:has(input[type="checkbox"]:checked) {
    background: #fff !important;
    border-color: var(--tier-fuchsia) !important;
    box-shadow: 0 8px 24px -6px rgba(217, 70, 239, 0.15) !important;
}

.aipkit-checkbox-item:has(input[type="checkbox"]:checked) label {
    color: var(--text-main) !important;
    font-weight: 700 !important;
}

.aipkit-checkbox-item:has(input[type="checkbox"]:checked) label::before {
    border-color: var(--tier-fuchsia) !important;
    background: var(--tier-fuchsia) !important;
    transform: scale(1.1) !important;
    box-shadow: inset 0 0 0 4px #fff !important;
}

/* Focus State */
.aipkit-checkbox-item:focus-within {
    border-color: var(--tier-fuchsia) !important;
    outline: 2px solid rgba(217, 70, 239, 0.1) !important;
    outline-offset: 2px !important;
}
/* Hero Animations & Decorations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.hero-pattern {
    background-image:
        radial-gradient(rgba(203, 213, 225, 0.3) 1px, transparent 1px),
        radial-gradient(rgba(203, 213, 225, 0.3) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(60px);
}

.hero-glow-blue {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}
/* Animated Hero Background Effect */
@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-animated-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(217, 70, 239, 0.03) 0%,
            rgba(251, 113, 133, 0.05) 25%,
            rgba(255, 255, 255, 0) 50%,
            rgba(251, 113, 133, 0.05) 75%,
            rgba(217, 70, 239, 0.03) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 5;
    pointer-events: none;
}

.hero-mesh-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(at 20% 30%, rgba(217, 70, 239, 0.08) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(251, 113, 133, 0.06) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(255, 255, 255, 0.9) 0px, transparent 100%);
    z-index: 6;
    pointer-events: none;
}
