/*
Theme Name: AuraNexum Theme
Author: AuraNexum Business
Version: 1.2.0
Description: Eigenes, hochperformantes Bootstrap 5 Theme für AuraNexum.
*/

/* ==========================================
   1. FARBEN & BOOTSTRAP ÜBERSCHREIBUNGEN 
   ========================================== */
:root {
    /* --- Deine Basis-Farben --- */
    --auranexum-green: #5d857a;
    --auranexum-green-hover: #00372e;
    --auranexum-beige: #d1bc8a;
    --auranexum-bg-soft: #d9d9d9;
    --auranexum-text: #2c302e;
    --auranexum-muted: #464b49;
    --auranexum-border: #e2ded6;
    --auranexum-orange: #ff751f;
    
    /* Standard-Töne (Neutral) */
    --auranexum-white: #ffffff;
    --auranexum-black: #000000;
    --auranexum-off-white: #faf9f6;

    /* --- Aura Studio spezifische Variablen --- */
    --aura-green-primary: var(--auranexum-green);
    --aura-green-hover: var(--auranexum-green-hover);
    --aura-accent-beige: var(--auranexum-bg-soft);
    --aura-border: var(--auranexum-border);
    --aura-text-dark: var(--auranexum-text);
    --aura-text-muted: var(--auranexum-muted);
    
    /* --- Bootstrap nativ zwingen --- */
    --bs-primary: var(--auranexum-green);
    --bs-secondary: var(--auranexum-beige);
    --bs-light: var(--auranexum-bg-soft);
    --bs-dark: var(--auranexum-text);
    --bs-body-color: var(--auranexum-text);
    --bs-body-bg: var(--auranexum-white);
    --bs-border-color: var(--auranexum-border);
    
    /* --- RGB & Schatten --- */
    --bs-primary-rgb: 0, 77, 64; 
    --bs-secondary-rgb: 232, 226, 213;
    --header-bg: rgba(0, 0, 0, 0.3);
    --header-border: rgba(255, 255, 255, 0.1);
    --dropdown-bg: rgba(255, 255, 255, 0.95);
    --shadow-light: rgba(0, 0, 0, 0.05); /* Angepasst für einheitliche Karten */
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-heavy: rgba(0, 0, 0, 0.15);
    --focus-ring-shadow: rgba(93, 133, 122, 0.25); /* Aura-Grün für Fokus */
    --menu-border-light: rgba(255, 255, 255, 0.2);
    --text-white-muted: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   2. BASIS-TYPOGRAFIE 
   ========================================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.container-1600 {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   2.1. HERO TYPOGRAFIE
   ========================================== */

#hero-heading,
.hero-wrapper p.fs-5,
.hero-wrapper .btn-cta {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: normal; /* Fette Schrift nur, wenn via HTML <strong> oder <b> gesetzt */
}


/* ==========================================
   3. HEADER & NAVIGATION 
   ========================================== */
.an-header {
    background-color: var(--header-bg) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--header-border);
}

.dropdown-menu {
    background-color: var(--dropdown-bg);
    backdrop-filter: blur(10px);
}

.dropdown-item:hover {
    background-color: var(--auranexum-bg-soft);
    color: var(--auranexum-green);
    font-weight: 600;
}

/* ==========================================
   4. USP BAR 
   ========================================== */
.an-usp-bar {
    background: linear-gradient(90deg, var(--auranexum-green-hover) 0%, var(--auranexum-green) 50%, var(--auranexum-green-hover) 100%);
    box-shadow: inset 0 -2px 10px var(--shadow-medium);
}

/* ==========================================
   5. MIKRO-ANIMATIONEN 
   ========================================== */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(var(--bs-primary-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0); }
}
.btn-pulse { animation: pulse-green 2s infinite; }

@keyframes pulse-light {
    0% { box-shadow: 0 0 0 0 rgba(var(--bs-secondary-rgb), 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(var(--bs-secondary-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--bs-secondary-rgb), 0); }
}
.btn-pulse-light { animation: pulse-light 2s infinite; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

.custom-logo {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

/* --- DYNAMISCHES WORDPRESS MENÜ --- */
.auranexum-main-nav a {
    color: var(--auranexum-white);
    text-decoration: none;
    font-weight: 600;
    padding-bottom: 15px; 
}
.auranexum-main-nav a:hover {
    color: var(--auranexum-green-hover) !important;
    opacity: 0.8;
}
.auranexum-main-nav .menu-item-has-children { position: relative; }
.auranexum-main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dropdown-bg);
    backdrop-filter: blur(10px);
    min-width: 230px;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 10px 40px var(--shadow-heavy);
    list-style: none;
    margin-top: 5px; 
    z-index: 9999 !important; 
}
.auranexum-main-nav .menu-item-has-children:hover .sub-menu { display: block; }
.auranexum-main-nav .sub-menu a {
    color: var(--auranexum-text) !important;
    padding: 10px 20px; 
    display: block;
    font-size: 14px;
}
.auranexum-main-nav .sub-menu a:hover {
    background-color: var(--auranexum-bg-soft);
    color: var(--auranexum-green) !important;
}

/* --- MOBILES HAMBURGER MENÜ --- */
.navbar-toggler:focus { box-shadow: none !important; }
.auranexum-mobile-nav a {
    color: var(--auranexum-white) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 6px 0;
    display: block;
}
.auranexum-mobile-nav a:hover { color: var(--auranexum-green-hover) !important; }
.auranexum-mobile-nav .sub-menu {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 2px solid var(--menu-border-light);
}
.auranexum-mobile-nav .sub-menu a {
    font-size: 14px;
    color: var(--text-white-muted) !important;
}
#mobileNav {
    max-height: 75vh; 
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; 
}

/* ==========================================
   6. EINHEITLICHES UI: TOOLS & DASHBOARDS 
   ========================================== */

/* --- TOOL CONTAINER (max 800px, zentriert) --- */
.aura-studio-container {
    width: 100% !important;
    max-width: 800px !important; /* Standardisiert auf 800px */
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.aura-studio-container .aura-studio-header {
    text-align: center !important;
    margin-bottom: 30px !important;
}

.aura-studio-container .aura-studio-header h1 {
    color: var(--aura-green-primary) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

/* --- EINHEITLICHE KARTEN (CARDS) --- */
.aura-card {
    background: var(--auranexum-white) !important;
    border-radius: 16px !important; /* Einheitlicher Radius */
    padding: 30px !important;
    border: 1px solid var(--aura-border) !important; /* Dünner, fester Rand */
    box-shadow: 0 4px 15px var(--shadow-light) !important; /* Dezenter Schatten */
    margin-bottom: 20px !important;
}

/* --- FORMULARE & EINGABEFELDER --- */
.aura-studio-container label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--aura-text-dark) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 6px !important;
}

.aura-studio-container input[type="text"], 
.aura-studio-container input[type="email"],
.aura-studio-container input[type="number"],
.aura-studio-container select,
.aura-studio-container textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    border: 1px solid var(--aura-border) !important;
    background-color: var(--auranexum-off-white) !important; /* Einheitlich Off-White */
    font-size: 14px !important;
    color: var(--auranexum-black) !important;
    transition: all 0.2s ease !important;
}

.aura-studio-container input:focus, 
.aura-studio-container select:focus, 
.aura-studio-container textarea:focus {
    outline: none !important;
    border-color: var(--aura-green-primary) !important;
    background-color: var(--auranexum-white) !important;
    box-shadow: 0 0 0 4px var(--focus-ring-shadow) !important; /* Einheitlicher grüner Fokus */
}

/* --- BUTTONS --- */
.btn-primary {
    --bs-btn-bg: var(--auranexum-green);
    --bs-btn-border-color: var(--auranexum-green);
    --bs-btn-hover-bg: var(--auranexum-green-hover);
    --bs-btn-hover-border-color: var(--auranexum-green-hover);
    --bs-btn-active-bg: var(--auranexum-green-hover);
    color: var(--auranexum-white) !important;
}

.btn-cta {
    background-color: var(--auranexum-orange) !important;
    border-color: var(--auranexum-orange) !important;
    color: var(--auranexum-white) !important;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #e56210 !important; 
    border-color: #e56210 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 117, 31, 0.4);
}

/* ==========================================
   7. GLOBALE BARRIEREFREIHEIT (BFSG / A11Y) 
   ========================================== */
*:focus-visible {
    outline: 3px solid var(--auranexum-green) !important;
    outline-offset: 3px !important;
    box-shadow: none !important;
}
*:focus:not(:focus-visible) { outline: none !important; }

.skip-link {
    position: absolute;
    top: -100px; 
    left: 10px;
    background-color: var(--auranexum-green);
    color: var(--auranexum-white) !important;
    padding: 12px 24px;
    font-weight: 700;
    border-radius: 0 0 10px 10px;
    z-index: 999999;
    text-decoration: none;
    transition: top 0.2s ease-in-out;
}
.skip-link:focus {
    top: 0; 
    outline: 3px solid var(--auranexum-beige) !important;
}

/* ==========================================
   9. HOMEPAGE BOXEN (INTERAKTIV)
   ========================================== */
.an-hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--auranexum-border) !important;
    border-radius: 16px;
    background-color: var(--auranexum-white);
    display: flex;
    flex-direction: column;
    height: 100%; 
    text-decoration: none !important; 
    color: inherit; 
}
.an-hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-medium) !important;
    border-color: var(--auranexum-green) !important;
}

