/*
Theme Name: GMS - Consulting Theme v3
Theme URI: https://gms.nrw/themes
Author: GMS - Gerber Multimedia Solutions
Author URI: https://gms.nrw
Description: Dritte Generation des GMS Consulting Themes mit dunklem Executive-Look, Video-Hero, Sidebar-Portrait und optimierten Layouts für Consulting-Inhalte.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gms-consulting-theme-v3
*/

:root {
    --bg-body: #020617;
    --border-subtle: rgba(148, 163, 184, 0.35);
    --accent-primary: #22d3ee;
    --accent-secondary: #a855f7;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --text-soft: #6b7280;
    --radius-lg: 18px;
    --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.65);
    --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.6);
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    background: radial-gradient(circle at top, #0b1120 0, #020617 45%, #000 100%);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* Links */
a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
    color: #7dd3fc;
    text-shadow: 0 0 12px rgba(125, 211, 252, 0.7);
}

/* Animations */
@keyframes fadeUpSoft {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatGlow {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0.4;
    }
    50% {
        transform: translate3d(10px, -8px, 0);
        opacity: 0.8;
    }
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 0.4;
    }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.2), transparent 55%),
                radial-gradient(circle at top right, rgba(168, 85, 247, 0.12), transparent 55%),
                rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.45);
}

.site-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.site-branding {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    animation: fadeUpSoft 0.5s ease-out both;
}

.site-title a {
    color: #f9fafb;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 650;
    letter-spacing: 0.03em;
}

.site-description {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 380px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    animation: fadeUpSoft 0.6s ease-out both;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 500;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.86;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    border-bottom-color: var(--accent-primary);
    opacity: 1;
}

/* Layout */
.site-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem 2.5rem;
}





.hero-exec::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(15, 23, 42, 0.3) 0, transparent 40%, transparent 60%, rgba(15, 23, 42, 0.8) 100%);
    mix-blend-mode: soft-light;
}



.hero-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.hero-exec h1 {
    margin: 0;
    font-size: 2.1rem;
    line-height: 1.2;
}

.hero-highlight {
    background: linear-gradient(120deg, #e5e7eb, #7dd3fc);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    margin-top: 0.8rem;
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 34rem;
}

.hero-cta {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.8);
    background: radial-gradient(circle at top left, #22d3ee, #06b6d4);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9), 0 18px 38px rgba(8, 47, 73, 0.9);
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 22px 45px rgba(8, 47, 73, 1);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.65);
    color: var(--text-main);
    font-size: 0.88rem;
    cursor: pointer;
}

.hero-secondary {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.hero-taglist {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.hero-tag {
    font-size: 0.76rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.7);
    color: var(--text-muted);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-metric {
    padding: 0.75rem 0.8rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.75));
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
    border-color: rgba(34, 211, 238, 0.8);
}

/* Content grid */
.site-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.1fr);
    gap: 2rem;
}

.site-main {
    position: relative;
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), #020617);
    padding: 1.8rem 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-subtle);
    animation: fadeUpSoft 0.6s ease-out both;
    overflow: hidden;
}

.site-main::before {
    content: "";
    position: absolute;
    inset: -20%;
    background-image: url('assets/it-security-wave.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Sidebar */
.sidebar {
    background: linear-gradient(145deg, #020617, #020617);
    padding: 1.4rem 1.4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(30, 64, 175, 0.55);
    animation: fadeUpSoft 0.7s ease-out both;
}

.sidebar h2,
.sidebar h3 {
    color: #f9fafb;
}

.sidebar p,
.sidebar li {
    color: var(--text-muted);
}

.sidebar a {
    color: var(--accent-primary);
}

/* Sidebar avatar & profile */
.sidebar-profile {
    text-align: center;
    margin-bottom: 1.4rem;
}

.sidebar-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 0.7rem;
}

.sidebar-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.95);
    border: 2px solid rgba(34, 211, 238, 0.8);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
    opacity: 0.98;
}

.sidebar-avatar img:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 1);
    border-color: rgba(168, 85, 247, 0.9);
    opacity: 1;
}

.sidebar-profile-name {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.sidebar-profile-role {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-top: 0.2rem;
}

.sidebar-profile-link {
    margin-top: 0.6rem;
    font-size: 0.82rem;
}

/* Widgets */
.widget {
    margin-bottom: 1.4rem;
}

.widget-title {
    margin: 0 0 0.6rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-soft);
    border-bottom: 1px solid rgba(148, 163, 184, 0.45);
    padding-bottom: 0.3rem;
}

/* Typography in main */
.entry-title,
.page-header h1 {
    margin-top: 0;
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.page-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(55, 65, 81, 0.9);
}

.entry-content p {
    margin-top: 0.3rem;
    margin-bottom: 0.7rem;
    color: var(--text-muted);
}

.entry-content h2 {
    margin-top: 1.6rem;
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #e5e7eb;
}

.entry-content h3 {
    margin-top: 1.1rem;
    margin-bottom: 0.2rem;
    font-size: 1rem;
    color: #e5e7eb;
}

.entry-content ul {
    padding-left: 1.2rem;
    margin-top: 0.4rem;
    margin-bottom: 0.8rem;
}

.entry-content li {
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

/* Content images */
.entry-content img {
    max-width: 100%;
    border-radius: 14px;
    display: block;
    margin: 0.75rem 0 1rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
    opacity: 0.96;
}

.entry-content img:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.95);
    border-color: rgba(34, 211, 238, 0.7);
    opacity: 1;
}

/* Meta */
.entry-meta {
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-bottom: 0.75rem;
}

/* Footer */
.site-footer {
    background: #020617;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    color: var(--text-soft);
    padding: 1.7rem 1.5rem 2rem;
    margin-top: 0;
}

.site-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: center;
}

.site-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-footer-logo img {
    height: 28px;
    width: auto;
    display: block;
}

/* Responsive */
@media (max-width: 960px) {
    
    


    .hero-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .site-content {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .site-shell {
        padding-inline: 1.25rem;
    }
    .site-content {
        padding-inline: 1.25rem;
    }
}



    to   { background-position: -800px 0; }
}

/* Header logo inline with title */
.site-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.site-branding-inner {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.site-branding-logo img {
    height: 64px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.6));
}























.hero-exec {
    position: relative;
    margin-top: 1.25rem;
    margin-bottom: 2.25rem;
    padding: 2.8rem 2.4rem;
    border-radius: 26px;
    background: #020617;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.4);
    overflow: hidden;
    animation: fadeUpSoft 0.7s ease-out both;
    min-height: 320px;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) saturate(1.05);
    transform: scale(1.04);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(15, 23, 42, 0.45), transparent 55%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9));
    mix-blend-mode: multiply;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr);
    gap: 2.25rem;
    z-index: 1;
}



/* === Video visibility override (1–10 scale) === */
.hero-video {
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1.03);
}

.hero-video-overlay {
    position:absolute;
    inset:0;
    mix-blend-mode:multiply;
}
