/*
Theme Name: ConsultD Theme
Theme URI: https://consultd.de
Description: Custom child theme for ConsultD based on the HTML landing page design. Red/black design system with DM Sans + Instrument Serif typography and scroll animations.
Author: ConsultD
Author URI: https://consultd.de
Template: kadence
Version: 1.0.0
Text Domain: consultd-theme
*/

/* ─── LOCAL FONTS ────────────────────────────── */
/* DM Sans — Variable weight 300-700 */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/dm-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'DM Sans';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/dm-sans-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'DM Sans';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/dm-sans-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Instrument Serif — Regular + Italic */
@font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/instrument-serif-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/instrument-serif-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Instrument Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/instrument-serif-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Instrument Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/instrument-serif-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ─── DESIGN TOKENS ─────────────────────────── */
:root {
    --red: #E52420;
    --red-dark: #C41E1A;
    --red-light: #FF3B37;
    --black: #0A0A0A;
    --charcoal: #1A1A1A;
    --dark-gray: #2A2A2A;
    --gray: #6B6B6B;
    --light-gray: #E8E8E8;
    --off-white: #F7F5F3;
    --white: #FFFFFF;
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
}

/* ─── RESET & BASE ───────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ─── UTILITY ────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); border: 0;
}

/* ─── ANIMATIONS ─────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideRight {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes morphBg {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.anim-fade-up {
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }

/* ─── NAV ────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all 0.4s ease;
    background: transparent;
}
.site-nav.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    padding: 0.75rem 0;
}
.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.nav-logo img {
    height: 44px;
    width: auto;
}
.nav-logo-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--black);
    letter-spacing: -0.02em;
}
.nav-logo-text span { color: var(--red); }

/* Nav menu items */
.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}
.nav-menu li { list-style: none; }
.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s ease;
}
.nav-menu a:hover::after { width: 100%; }
.nav-menu a:hover { color: var(--red); }

/* Nav CTA button */
.nav-menu .nav-cta a,
a.nav-cta {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}
.nav-menu .nav-cta a::after,
a.nav-cta::after { display: none !important; }
.nav-menu .nav-cta a:hover,
a.nav-cta:hover {
    background: var(--red-dark) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    margin: 6px 0;
    transition: all 0.3s;
}

/* Mobile nav overlay */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
}
.mobile-nav a:hover { color: var(--red); }
.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
}

/* ─── BUTTONS ────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}
.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(229,36,32,0.3);
}
.btn-primary:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229,36,32,0.35);
}
.btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 1.5px solid var(--light-gray);
}
.btn-secondary:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
}
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ─── HERO ───────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--white);
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(229,36,32,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--light-gray), transparent);
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 4rem;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(229,36,32,0.08);
    color: var(--red);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    line-height: 1.08;
    color: var(--black);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero h1 em {
    color: var(--red);
    font-style: italic;
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.5rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-graphic {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    position: relative;
}
.hero-graphic-bg {
    position: absolute;
    inset: 10%;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.08;
    animation: morphBg 8s ease-in-out infinite alternate;
}
.hero-logo-display {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-logo-display img {
    width: 65%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(229,36,32,0.15));
}
.hero-stat-cards { position: absolute; inset: 0; }
.stat-card {
    position: absolute;
    background: var(--white);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
}
.stat-card-1 {
    top: 10%;
    right: -5%;
    animation: fadeUp 0.8s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}
.stat-card-2 {
    bottom: 15%;
    left: -5%;
    animation: fadeUp 0.8s 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}
.stat-card-label {
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.stat-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-top: 0.15rem;
}
.stat-card-value span { color: var(--red); }

/* ─── MARQUEE ────────────────────────────────── */
.marquee-section {
    background: var(--black);
    padding: 1.1rem 0;
    overflow: hidden;
    position: relative;
}
.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}
.marquee-item {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3rem;
}
.marquee-item::after {
    content: '\25C6';
    color: var(--red);
    font-size: 0.5rem;
}

/* ─── SECTION COMMON ─────────────────────────── */
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--red);
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.section-title em {
    font-style: italic;
    color: var(--red);
}
.section-sub {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 3.5rem;
}

/* ─── SERVICES ───────────────────────────────── */
.services {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--white);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.service-card {
    background: var(--off-white);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    display: block;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--red);
    border-radius: 0 0 4px 0;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    border-color: rgba(229,36,32,0.1);
}
.service-card:hover::before { height: 100%; }
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.service-card:hover .service-icon {
    background: var(--red);
    color: var(--white);
    transform: scale(1.05);
}
.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--black);
}
.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}
.service-tag {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 0.02em;
}
.service-tag::after { content: ' \2192'; transition: margin-left 0.2s; }
.service-card:hover .service-tag::after { margin-left: 4px; }

/* ─── SOLUTIONS DETAIL ───────────────────────── */
.solutions {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--charcoal);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.solutions::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(229,36,32,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.solutions .section-label { color: var(--red-light); }
.solutions .section-title { color: var(--white); }
.solutions .section-sub { color: rgba(255,255,255,0.55); }
.solutions-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.solution-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 2rem;
    transition: all 0.3s;
}
.solution-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(229,36,32,0.3);
    transform: translateY(-3px);
}
.solution-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--red);
    line-height: 1;
    margin-bottom: 1rem;
    font-style: italic;
}
.solution-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--white);
}
.solution-item p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
}

/* ─── DSGVO / TRUST ──────────────────────────── */
.trust {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--white);
}
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.trust-visual {
    background: var(--off-white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
}
.trust-shield {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
}
.trust-visual h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--black);
    margin-bottom: 0.5rem;
}
.trust-visual p {
    color: var(--gray);
    font-size: 0.95rem;
}
.trust-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.trust-badge {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.trust-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 1.5rem;
}
.trust-content h2 em { color: var(--red); font-style: italic; }
.trust-points { list-style: none; }
.trust-points li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}
.trust-points li::before {
    content: '\2713';
    color: var(--red);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ─── CTA ────────────────────────────────────── */
.cta-section {
    padding: clamp(5rem, 10vw, 7rem) 0;
    background: var(--black);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(229,36,32,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}
.cta-section h2 em { color: var(--red-light); font-style: italic; }
.cta-section p {
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    position: relative;
}
.cta-section .btn { position: relative; }

/* ─── FOOTER ─────────────────────────────────── */
.site-footer {
    background: var(--charcoal);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer-brand img { height: 36px; }
.footer-brand-text {
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
}
.footer-brand-text span { color: var(--red); }
.footer-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.footer-menu li { list-style: none; }
.footer-menu a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.footer-menu a:hover { color: var(--white); }
.footer-copy {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem;
}

/* ─── PAGE CONTENT ───────────────────────────── */
.page-header {
    padding: 10rem 0 3rem;
    background: var(--off-white);
    text-align: center;
}
.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    color: var(--black);
    letter-spacing: -0.02em;
}
.page-header h1 em { color: var(--red); font-style: italic; }
.page-content {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--white);
}
.page-content .container {
    max-width: 800px;
}
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    font-family: var(--font-display);
    color: var(--black);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.page-content h1 { font-size: 2.2rem; }
.page-content h2 { font-size: 1.8rem; }
.page-content h3 { font-size: 1.4rem; }
.page-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}
.page-content a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.page-content a:hover { color: var(--red-dark); }
.page-content ul,
.page-content ol {
    color: var(--gray);
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    line-height: 1.8;
}
.page-content li { margin-bottom: 0.5rem; }
.page-content blockquote {
    border-left: 4px solid var(--red);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--off-white);
    border-radius: 0 8px 8px 0;
    color: var(--gray);
    font-style: italic;
}
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.page-content th,
.page-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--light-gray);
    text-align: left;
    color: var(--gray);
}
.page-content th {
    font-weight: 700;
    color: var(--black);
}
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* ─── BLOG ARCHIVE ───────────────────────────── */
.blog-header {
    padding: 10rem 0 3rem;
    background: var(--charcoal);
    text-align: center;
}
.blog-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    color: var(--white);
    letter-spacing: -0.02em;
}
.blog-header h1 em { color: var(--red-light); font-style: italic; }
.blog-header p {
    color: rgba(255,255,255,0.5);
    font-size: 1.05rem;
    margin-top: 1rem;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    padding: clamp(3rem, 6vw, 5rem) 0;
}
.blog-card {
    background: var(--off-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    display: block;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    border-color: rgba(229,36,32,0.1);
}
.blog-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--light-gray);
}
.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-body {
    padding: 1.75rem;
}
.blog-card-meta {
    font-size: 0.78rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.blog-card-meta span { color: var(--red); }
.blog-card h2 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.blog-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.65;
}
.blog-card .service-tag { margin-top: 1rem; }

/* Blog pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 0 4rem;
}
.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--light-gray);
    color: var(--black);
}
.blog-pagination a:hover {
    border-color: var(--red);
    color: var(--red);
}
.blog-pagination .current {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

/* ─── SINGLE POST ────────────────────────────── */
.single-header {
    padding: 10rem 0 3rem;
    background: var(--charcoal);
    text-align: center;
}
.single-header .container {
    max-width: 800px;
}
.single-meta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.single-meta span { color: var(--red-light); }
.single-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.single-content {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--white);
}
.single-content .container {
    max-width: 800px;
}
.single-featured-img {
    margin: -2rem auto 3rem;
    max-width: 800px;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
}
.single-featured-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Post tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}
.post-tags a {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--off-white);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray);
    text-decoration: none;
    transition: all 0.2s;
}
.post-tags a:hover {
    background: var(--red);
    color: var(--white);
}

/* Post navigation */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}
.post-nav a {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.post-nav a:hover { color: var(--red); }
.post-nav-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    display: block;
}
.post-nav-next { text-align: right; }

/* ─── COMMENTS ───────────────────────────────── */
.comments-section {
    padding: 3rem 0;
    background: var(--off-white);
}
.comments-section .container {
    max-width: 800px;
}
.comments-section h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--black);
}
.comment-list {
    list-style: none;
    padding: 0;
}
.comment-list .comment {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--light-gray);
}
.comment-author {
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}
.comment-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}
.comment-respond { margin-top: 2rem; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--light-gray);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
    background: var(--white);
}
.comment-respond input:focus,
.comment-respond textarea:focus {
    outline: none;
    border-color: var(--red);
}
.comment-respond .submit {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.comment-respond .submit:hover { background: var(--red-dark); }

/* ─── 404 ────────────────────────────────────── */
.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--white);
    padding-top: 6rem;
}
.error-404 h1 {
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 12rem);
    color: var(--red);
    line-height: 1;
    font-style: italic;
    opacity: 0.15;
    margin-bottom: -2rem;
}
.error-404 h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--black);
    margin-bottom: 1rem;
    position: relative;
}
.error-404 p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* ─── WORDPRESS BLOCKS ───────────────────────── */
.wp-block-image { margin: 1.5rem 0; }
.wp-block-image img { border-radius: 12px; }
.wp-block-quote {
    border-left: 4px solid var(--red) !important;
    padding: 1rem 1.5rem !important;
    background: var(--off-white);
    border-radius: 0 8px 8px 0;
}
.wp-block-separator {
    border-color: var(--light-gray) !important;
    opacity: 0.5;
}
.wp-block-button__link {
    background: var(--red) !important;
    border-radius: 8px !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}
.wp-block-button__link:hover {
    background: var(--red-dark) !important;
    transform: translateY(-1px);
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 968px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .solutions-list { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .nav-menu { display: none; }
    .menu-toggle { display: block; }
    .blog-grid { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; gap: 1rem; }
    .post-nav-next { text-align: left; }
}

@media (max-width: 600px) {
    .solutions-list { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .stat-card { display: none; }
    .trust-badges { flex-wrap: wrap; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-menu { flex-wrap: wrap; justify-content: center; }
}

/* ─── KONTAKTFORMULAR ────────────────────────── */
.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}
.kontakt-info h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1rem;
}
.kontakt-info > p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.kontakt-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.kontakt-detail strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.kontakt-detail a,
.kontakt-detail span {
    color: var(--black);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.2s;
}
.kontakt-detail a:hover { color: var(--red); }

.kontakt-form {
    background: var(--off-white);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.4rem;
}
.form-group .required { color: var(--red); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--light-gray);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--black);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(229,36,32,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
    opacity: 0.6;
}
.form-group textarea { resize: vertical; min-height: 140px; }

.form-checkbox { margin-bottom: 1.5rem; }
.form-checkbox label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
}
.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--red);
    cursor: pointer;
}
.form-checkbox a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-checkbox a:hover { color: var(--red-dark); }

.kontakt-error {
    background: rgba(229,36,32,0.08);
    color: var(--red);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(229,36,32,0.15);
}

.kontakt-success {
    text-align: center;
    padding: 3rem 0;
    max-width: 500px;
    margin: 0 auto;
}
.kontakt-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}
.kontakt-success h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 0.75rem;
}
.kontakt-success p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 968px) {
    .kontakt-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .kontakt-form { padding: 1.5rem; }
}

/* ─── KADENCE OVERRIDES ──────────────────────── */
.site { overflow-x: hidden; }
.kadence-pro-mega-menu,
.kadence-pro-navigation,
.site-header { display: none !important; }
.entry-content-wrap { padding: 0 !important; }
.site-container { max-width: none !important; padding: 0 !important; }
