/* WebAufbau.ch Redesign CSS */
/* Modern, clean design with Bootstrap 5 styling */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --accent-color: #0056b3;
    --success-color: #28a745;
    --warning-color: #ffc107;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* ======================
   NAVBAR
   ====================== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0 !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav li {
    list-style: none;
}

.navbar-nav li a,
.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
    display: block;
}

.navbar-nav li a:hover,
.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Dark Mode Navbar Styles */
body.dark-mode .navbar {
    background: rgba(26, 26, 46, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .navbar-brand {
    color: #ffffff !important;
}

body.dark-mode .navbar-nav li a,
body.dark-mode .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.dark-mode .navbar-nav li a:hover,
body.dark-mode .nav-link:hover {
    color: var(--primary-color) !important;
}

body.dark-mode .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Spacing */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }

    .navbar-nav li {
        margin: 0.5rem 0;
    }

    .navbar-nav li a,
    .nav-link {
        padding: 1rem 1.5rem !important;
        margin: 0 !important;
        border-radius: 8px;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        margin-top: 1rem;
        padding: 0.5rem;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    body.dark-mode .navbar-collapse {
        background: rgba(26, 26, 46, 0.98);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .navbar-nav li a:hover,
    .nav-link:hover {
        background: rgba(0, 123, 255, 0.1);
    }

    /* Center search icon in mobile menu */
    .navbar .navbar-collapse > a.nav-link[href="/suche"] {
        display: block;
        text-align: center;
        margin: 0.5rem auto !important;
        max-width: fit-content;
    }

    .navbar .navbar-collapse > a.nav-link[href="/suche"] i {
        font-size: 1.5rem;
    }
}

/* ======================
   HERO SECTION
   ====================== */
/* Standard Hero - Normal height */
.hero-standard {
    position: relative;
    overflow: hidden;
}

.hero-standard.py-5 {
    min-height: auto !important;
    height: auto !important;
}

/* Fullscreen Hero - Takes full viewport */
.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Statisches Wellen-Overlay für alle Hero Sections (außer Homepage) */
.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
    z-index: 1;
}

/* Nur für Homepage: Verstecke statisches Overlay */
#home.hero-section::before {
    display: none;
}

/* Animierte Wellen im Hintergrund - NUR für Homepage #home */
#home.hero-section .wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

#home.hero-section .wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%23ffffff" fill-opacity="0.1" d="M0,64L48,95C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: 50% 100%;
    background-repeat: repeat-x;
    background-position: bottom;
    animation: wave 60s linear infinite;
    opacity: 0.3;
}

#home.hero-section .wave:nth-child(2) {
    animation: wave 80s linear infinite reverse;
    opacity: 0.2;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%23ffffff" fill-opacity="0.15" d="M-3,194L48,165.3C96,171,192,181,288,181.3C384,181,480,171,593,154.7C672,139,768,117,864,117.3C960,117,1056,139,1152,154.7C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,311C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,309,48,316L0,307Z"></path></svg>');
    background-size: 50% 100%;
}

#home.hero-section .wave:nth-child(3) {
    animation: wave 100s linear infinite;
    opacity: 0.15;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%23ffffff" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,208C672,213,768,203,864,186.7C960,171,1056,149,1152,154.7C1248,160,1344,192,1392,208L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: 50% 100%;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    color: white !important;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    margin: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: white;
    color: var(--primary-color);
}

/* Dark Mode Styles for Hero Buttons */
html.dark-mode .btn-hero-primary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

html.dark-mode .btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-hero-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================
   SECTIONS
   ====================== */
section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title p {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* ======================
   SERVICE CARDS
   ====================== */
.services-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    grid-template-columns: unset !important;
}

.service-card {
    padding: 2.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    word-wrap: break-word; /* Wrap long words */
    overflow-wrap: break-word; /* Modern standard */
    hyphens: auto; /* Enable hyphenation for German */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.service-card p {
    color: var(--secondary-color);
    line-height: 1.8;
}

/* ======================
   PORTFOLIO / SWIPER
   ====================== */
.portfolio-section {
    background: var(--light-color);
}

.swiper {
    width: 100%;
    padding-bottom: 3rem;
}

.portfolio-slide {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.portfolio-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: var(--light-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

/* ======================
   STATS SECTION
   ====================== */
.stats-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white !important;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    color: white !important;
}

/* ======================
   TECHNOLOGIES
   ====================== */
.tech-section {
    background: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.tech-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tech-item h4 {
    font-size: 1rem;
    margin: 0;
}

/* Tech Category Boxes */
.tech-category {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
}

.tech-category-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.tech-category-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Dark Mode Styles for Tech Badges */
html.dark-mode .tech-badge,
body.dark-mode .tech-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

html.dark-mode .tech-badge:hover,
body.dark-mode .tech-badge:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ======================
   CTA SECTION & BOX
   ====================== */
.cta-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white !important;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white !important;
}

/* CTA Box for Content Pages */
.cta-box {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    text-align: center;
    padding: 4rem 3rem;
    border-radius: 20px;
    margin-top: 5rem;
    box-shadow: 0 15px 50px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white !important;
    position: relative;
    z-index: 2;
}

.cta-box p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.btn-cta {
    display: inline-block;
    padding: 16px 40px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.btn-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .cta-box {
        padding: 3rem 2rem;
        margin-top: 3rem;
    }

    .cta-box h3 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* ======================
   PAGE HEADER (für Inhaltsseiten)
   ====================== */
#main {
    margin-top: 0;
}

/* Add margin only for pages without hero or page-header */
#main:not(:has(.hero-section)):not(:has(.page-header)) {
    margin-top: 80px;
}

.page-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 8rem 0 4rem 0; /* Increased top padding from 5rem to 8rem for fixed navbar */
    position: relative;
    overflow: hidden;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}

.page-header h1 {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white !important;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.9) !important;
}

.page-header .breadcrumb-item a {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
}

.page-header .breadcrumb-item a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: underline;
}

.page-header .breadcrumb-item.active {
    color: white !important;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ======================
   CONTENT SECTIONS
   ====================== */
.content-section {
    padding: 4rem 0;
}

.content-wrapper {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-wrapper h2 {
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid rgba(0, 123, 255, 0.1);
    position: relative;
    font-size: 2rem;
}

.content-wrapper h2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.content-wrapper h2:first-of-type {
    margin-top: 1rem;
}

.content-wrapper h3 {
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.content-wrapper h3::before {
    content: '▸';
    color: var(--primary-color);
    font-weight: 700;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #495057;
}

/* Strong tags are always inline and bold */
.content-wrapper strong,
.content-wrapper b {
    font-weight: 700;
    color: inherit;
    display: inline;
}

.content-wrapper ul {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.content-wrapper ul li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.content-wrapper ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Highlight important paragraphs */
.content-wrapper > p:first-of-type {
    font-size: 1.15rem;
    color: var(--secondary-color);
    line-height: 1.9;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.03), rgba(0, 86, 179, 0.05));
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

/* Links in content */
.content-wrapper a:not(.btn):not(.button):not([class*="btn-"]) {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.content-wrapper a:not(.btn):not(.button):not([class*="btn-"]):hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Override for sub-pages-links */
.content-wrapper .sub-pages-links a {
    color: var(--dark-color) !important;
    font-weight: 500 !important;
    border-bottom: 2px solid transparent;
}

.content-wrapper .sub-pages-links a:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    border-bottom-color: var(--accent-color) !important;
}

/* CTA Sections with bg-primary - Ensure readability */
.bg-primary.text-white {
    background-color: var(--primary-color) !important;
}

.bg-primary.text-white h1,
.bg-primary.text-white h2,
.bg-primary.text-white h3,
.bg-primary.text-white h4,
.bg-primary.text-white h5,
.bg-primary.text-white h6 {
    color: white !important;
}

.bg-primary.text-white p,
.bg-primary.text-white .lead {
    color: white !important;
}

.bg-primary .btn-light {
    background-color: white !important;
    color: var(--primary-color) !important;
    border: 2px solid white !important;
    font-weight: 600 !important;
}

.bg-primary .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bg-primary .btn-outline-light {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid white !important;
    font-weight: 600 !important;
}

.bg-primary .btn-outline-light:hover {
    background-color: white !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Icon Boxes for Key Benefits */
.content-wrapper .icon-box {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    border: 2px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
}

.content-wrapper .icon-box:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.content-wrapper .icon-box-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.content-wrapper .icon-box-content h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.content-wrapper .icon-box-content p {
    margin-bottom: 0;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* Info Cards */
.content-wrapper .info-card {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 123, 255, 0.02));
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.content-wrapper .info-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.content-wrapper .info-card p:last-child {
    margin-bottom: 0;
}

/* ======================
   SHORTCODE ELEMENTS (Columns, Sections)
   ====================== */

/* Section Wrapper */
[class*="section"],
.section,
.info-form {
    margin: 3rem 0;
    padding: 0;
}

/* Columns Layout */
[class*="columns"],
.columns {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

/* 2-Column Layout */
[class*="columns"][cols="2"],
.columns.cols-2 {
    grid-template-columns: 1fr 1fr;
}

/* 3-Column Layout */
[class*="columns"][cols="3"],
.columns.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Individual Column */
[class*="column"],
.column {
    background: white;
}

/* No padding modifiers */
.no-left-padding {
    padding-left: 0 !important;
}

.no-right-padding {
    padding-right: 0 !important;
}

/* Responsive Columns */
@media (max-width: 992px) {
    [class*="columns"],
    .columns {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

/* Form in Columns */
.content-wrapper [class*="column"] .w-form,
.content-wrapper .column .w-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 123, 255, 0.15);
    border: 2px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-wrapper [class*="column"] .w-form::before,
.content-wrapper .column .w-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.content-wrapper [class*="column"] .w-form:hover,
.content-wrapper .column .w-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 123, 255, 0.25);
    border-color: rgba(0, 123, 255, 0.3);
}

/* Form Fields in Content Columns */
.content-wrapper .column input[type="text"],
.content-wrapper .column input[type="email"],
.content-wrapper .column input[type="url"],
.content-wrapper .column input[type="tel"],
.content-wrapper .column select,
.content-wrapper .column textarea,
.content-wrapper .column .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
}

.content-wrapper .column input:focus,
.content-wrapper .column select:focus,
.content-wrapper .column textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.content-wrapper .column button[type="submit"],
.content-wrapper .column .btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-wrapper .column button[type="submit"]:hover,
.content-wrapper .column .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.5);
}

/* Vertical Form Modifier */
.content-wrapper .w-form.vertical .form-group {
    display: block;
    margin-bottom: 1.5rem;
}

/* Info Section with special background */
.section.info-form {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.02), rgba(0, 86, 179, 0.01));
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 123, 255, 0.08);
}

/* ======================
   RELEASES GRID (New Releases Shortcode)
   ====================== */

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.release-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.release-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.release-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.2);
    border-color: var(--primary-color);
}

.release-card:hover::before {
    transform: scaleX(1);
}

.release-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.release-logo {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.release-logo svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
}

.release-card:hover .release-logo svg {
    transform: scale(1.1);
}

.release-info {
    width: 100%;
}

.release-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.release-card:hover .release-name {
    color: var(--primary-color);
}

.release-version {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.05));
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

/* Responsive for Releases Grid */
@media (max-width: 768px) {
    .releases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .release-logo {
        height: 100px;
    }
}

/* ======================
   CONTACT
   ====================== */
.contact-section {
    background: var(--light-color);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 30px;
}

/* ======================
   FOOTER
   ====================== */
footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
}

footer .copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-wrapper {
        padding: 1.5rem;
    }
}

/* ======================
   ANIMATIONS
   ====================== */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 {
    animation-delay: 0.2s;
}

.fade-in-delay-2 {
    animation-delay: 0.4s;
}

.fade-in-delay-3 {
    animation-delay: 0.6s;
}

/* ======================
   CONTENT REDESIGN ADDITIONS
   ====================== */

/* Alert Box Styling */
.alert-box.alert-primary {
    background: #e3f2fd;
    border-color: var(--primary-color);
    color: #0d47a1;
}

.alert-box.alert-primary h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.alert-box.alert-primary ul {
    margin-bottom: 0.5rem;
}

.alert-box.alert-primary ul li {
    margin-bottom: 0.3rem;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Feature Boxes */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-box {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.feature-box h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Alert Boxes */
.alert-box {
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.alert-warning {
    background: #fff3cd;
    border-color: var(--warning-color);
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.alert-success {
    background: #d4edda;
    border-color: var(--success-color);
    color: #155724;
}

.alert-box strong {
    font-weight: 600;
}

.alert-box h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-box h5 i {
    font-size: 1.3rem;
}

.alert-box p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.alert-box p:last-child {
    margin-bottom: 0;
}

/* Process Steps */
.process-steps {
    margin: 3rem 0;
}

.process-step {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 2.5rem;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.process-step p {
    margin-bottom: 0;
    color: #495057;
}

.process-step a {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

.process-step a:hover {
    color: var(--primary-dark) !important;
}

/* Sub Pages Links */
.sub-pages-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.sub-pages-links a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--light-color);
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s
    ease;
    font-weight: 500;
}

.sub-pages-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Sidebar Enhancements */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.sidebar ul li {
    margin-bottom: 0.8rem;
}

.sidebar ul li a {
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.sidebar ul li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.sidebar ul li a::before {
    content: "→";
    margin-right: 0.5rem;
    transition: margin-right 0.3s ease;
}

.sidebar ul li a:hover::before {
    margin-right: 0.8rem;
}

.sidebar hr {
    border-color: rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.sidebar p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar p i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.sidebar p a {
    color: var(--dark-color);
    text-decoration: none;
}

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

/* ======================
   SIDEBAR FORM MODERN STYLING
   ====================== */

/* Sidebar Form Container */
.sidebar .w-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 123, 255, 0.15);
    border: 2px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar .w-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.sidebar .w-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 123, 255, 0.25);
    border-color: rgba(0, 123, 255, 0.3);
}

/* Dark Mode */
html.dark-mode .sidebar .w-form,
body.dark-mode .sidebar .w-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

html.dark-mode .sidebar .w-form:hover,
body.dark-mode .sidebar .w-form:hover {
    box-shadow: 0 15px 50px rgba(0, 123, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Form Labels */
.sidebar .formbuilder-text-label,
.sidebar .formbuilder-checkbox-group-label,
.sidebar .formbuilder-textarea-label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* Form Fields */
.sidebar input[type="text"],
.sidebar input[type="email"],
.sidebar input[type="url"],
.sidebar input[type="tel"],
.sidebar input[type="date"],
.sidebar select,
.sidebar textarea,
.sidebar .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    font-family: 'Inter', sans-serif;
}

.sidebar input[type="text"]:focus,
.sidebar input[type="email"]:focus,
.sidebar input[type="url"]:focus,
.sidebar input[type="tel"]:focus,
.sidebar input[type="date"]:focus,
.sidebar select:focus,
.sidebar textarea:focus,
.sidebar .form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

/* Date Input Specific */
.sidebar input[type="date"] {
    cursor: pointer;
    position: relative;
}

.sidebar input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.sidebar input[type="date"]:hover::-webkit-calendar-picker-indicator {
    opacity: 1;
}

/* Select Dropdown */
.sidebar select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23007bff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

/* Field Description */
.sidebar .form-group small,
.sidebar .form-group .description {
    display: block;
    margin-top: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-style: italic;
}

.sidebar input::placeholder,
.sidebar textarea::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Textarea Specific */
.sidebar textarea {
    min-height: 120px;
    resize: vertical;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Form Groups */
.sidebar .form-group {
    margin-bottom: 1.5rem;
}

/* Checkbox Group */
.sidebar .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sidebar .formbuilder-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 10px;
    background: white;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar .formbuilder-checkbox:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.sidebar .formbuilder-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.sidebar .formbuilder-checkbox label {
    cursor: pointer;
    margin: 0;
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 500;
    line-height: 1.5;
}

/* Radio Group */
.sidebar .radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sidebar .formbuilder-radio {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 10px;
    background: white;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar .formbuilder-radio:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.sidebar .formbuilder-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.sidebar .formbuilder-radio input[type="radio"]:checked {
    accent-color: var(--primary-color);
}

.sidebar .formbuilder-radio label {
    cursor: pointer;
    margin: 0;
    font-size: 0.95rem;
    color: var(--dark-color);
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
}

/* Highlight selected radio/checkbox */
.sidebar .formbuilder-radio:has(input:checked),
.sidebar .formbuilder-checkbox:has(input:checked) {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08), rgba(0, 123, 255, 0.05));
    border-color: var(--primary-color);
    box-shadow: 0 3px 12px rgba(0, 123, 255, 0.15);
}

/* Dark Mode - Formbuilder Checkbox */
html.dark-mode .sidebar .formbuilder-checkbox,
body.dark-mode .sidebar .formbuilder-checkbox {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

html.dark-mode .sidebar .formbuilder-checkbox:hover,
body.dark-mode .sidebar .formbuilder-checkbox:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

html.dark-mode .sidebar .formbuilder-checkbox label,
body.dark-mode .sidebar .formbuilder-checkbox label {
    color: rgba(255, 255, 255, 0.9);
}

html.dark-mode .sidebar .formbuilder-checkbox:has(input:checked),
body.dark-mode .sidebar .formbuilder-checkbox:has(input:checked) {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(0, 123, 255, 0.1));
    border-color: var(--primary-color);
    box-shadow: 0 3px 12px rgba(0, 123, 255, 0.25);
}

/* Required Asterisk */
.sidebar .formbuilder-required {
    color: #dc3545;
    margin-left: 3px;
    font-weight: 700;
}

/* Submit Button */
.sidebar button[type="submit"],
.sidebar .formbuilder-button button {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sidebar button[type="submit"]:hover,
.sidebar .formbuilder-button button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.5);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.sidebar button[type="submit"]:active,
.sidebar .formbuilder-button button:active {
    transform: translateY(-1px);
}

/* reCAPTCHA */
.sidebar .g-recaptcha {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

/* Inline Class Modifier */
.sidebar form.inline {
    margin: 0;
}

/* Honeypot Field (Anti-spam) */
.sidebar input[name="contact_me_by_fax_only"] {
    display: none !important;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        margin-top: 3rem;
        position: static;
    }

    .sidebar .w-form {
        padding: 1.5rem;
    }
}

/* Sitemap Cards */
.sitemap-category-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.sitemap-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
}

.sitemap-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sitemap-card-header i {
    font-size: 1.5rem;
    color: white;
}

.sitemap-card-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.sitemap-card-header h3 a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.sitemap-card-header h3 a:hover {
    opacity: 0.9;
}

.sitemap-card-links {
    list-style: none;
    padding: 1.5rem;
    margin: 0;
}

.sitemap-card-links li {
    margin-bottom: 0.8rem;
}

.sitemap-card-links li:last-child {
    margin-bottom: 0;
}

.sitemap-card-links li a {
    color: var(--dark-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.sitemap-card-links li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.sitemap-card-links li a i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.sitemap-card-links li a:hover i {
    transform: translateX(3px);
}

/* ======================
   SLA & WARTUNG SECTION
   ====================== */
.sla-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.sla-content h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.sla-features {
    margin-top: 2rem;
}

.sla-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sla-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
}

.sla-feature i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.sla-feature strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.sla-feature p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* SLA Packages */
.sla-packages h4 {
    color: var(--dark-color);
    font-weight: 600;
}

.sla-package-price {
    text-align: center;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-color);
}

.sla-package-price .price {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.sla-package-price .period {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
}

.sla-package-price .annual-price {
    display: block;
    font-size: 0.85rem;
    color: var(--success-color);
    margin-top: 0.8rem;
    font-weight: 600;
    padding: 0.5rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
}

/* Accordion (FAQ) */
.accordion-item {
    background: white;
    border: none;
    border-radius: 10px !important;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: var(--dark-color);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    filter: brightness(0) invert(0);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.8;
}

.sla-package {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.sla-package:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.sla-package.featured {
    border-color: var(--primary-color);
    position: relative;
}

.sla-package.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 15px 15px 0 0;
}

.sla-package-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
    position: relative;
}

.sla-package-header .badge {
    position: absolute;
    top: -1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sla-package-header h5 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.sla-package-header p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin: 0;
}

.sla-package ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sla-package ul li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    color: var(--dark-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.sla-package ul li i {
    color: var(--success-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 1rem;
    }

    .sidebar {
        margin-top: 2rem;
        position: static;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .sla-packages {
        margin-top: 2rem;
    }
}

/* ======================
   KI SUPPORT CHAT - MODERN DESIGN
   ====================== */

/* Chat Button */
#kisupport-support-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 10000;
}

#kisupport-support-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    #kisupport-support-chat-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        right: 15px;
        bottom: 20px;
    }
}

/* Chat Box Container */
#kisupport-chat {
    position: fixed !important;
    bottom: 100px !important;
    right: 20px !important;
    background: white !important;
    width: 420px !important;
    max-width: calc(100vw - 40px) !important;
    height: 600px !important;
    max-height: calc(100vh - 140px) !important;
    z-index: 999999 !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    animation: slideUp 0.3s ease-out !important;
}

/* When visible, use flexbox layout */
#kisupport-chat[style*="display: block"],
#kisupport-chat:not([style*="display: none"]) {
    display: flex !important;
    flex-direction: column !important;
}

#kisupport-chat.chat-box {
    display: flex;
    flex-direction: column;
}

/* Dark Mode for Chat */
html.dark-mode #kisupport-chat,
body.dark-mode #kisupport-chat {
    background: #1d1d1d !important;
}

html.dark-mode .chat-box,
body.dark-mode .chat-box {
    background: #1d1d1d !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
}

html.dark-mode .chat-footer,
body.dark-mode .chat-footer {
    background: #1d1d1d !important;
    border-top-color: #333 !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 630px) {
    #kisupport-chat {
        width: calc(100vw - 20px);
        height: calc(100vh - 120px);
        right: 10px;
        left: 10px;
        bottom: 90px;
    }
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex: 0 0 auto;
    min-height: 85px;
    max-height: 85px;
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #007bff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.chat-header-text h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.chat-header-text p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.chat-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
    pointer-events: auto;
}

.chat-close-btn i {
    pointer-events: none;
}

.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Chat Body - Container without scroll */
.chat-body {
    flex: 1 1 auto;
    overflow: hidden !important;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 100%;
    position: relative;
}

/* Dark Mode */
html.dark-mode .chat-body,
body.dark-mode .chat-body {
    background: #121212 !important;
}

/* Chat Messages Container - Scrollable */
.chat-messages-container {
    flex: 1 1 auto;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 0;
    max-height: 100%;
}

/* Verhindert dass Body scroll durchschlägt */
.chat-messages-container * {
    overscroll-behavior: contain;
}

.chat-messages-container::-webkit-scrollbar {
    width: 8px;
}

.chat-messages-container::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages-container::-webkit-scrollbar-thumb {
    background: rgba(0, 123, 255, 0.2);
    border-radius: 10px;
}

.chat-messages-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 123, 255, 0.3);
}

#kisupport-chat .kisupport-question,
.kisupport-question {
    background: white !important;
    padding: 12px 16px !important;
    border-radius: 12px 12px 12px 4px !important;
    margin: 0 !important;
    font-weight: 600 !important;
    color: #333 !important;
    font-size: 15px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    align-self: flex-start !important;
    max-width: 85% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    white-space: pre-wrap !important;
    min-height: auto !important;
    height: auto !important;
}

#kisupport-chat .kisupport-answers,
.kisupport-answers {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: white !important;
    padding: 14px 16px !important;
    border-radius: 12px 12px 4px 12px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3) !important;
    align-self: flex-end !important;
    max-width: 85% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    white-space: pre-wrap !important;
    min-height: auto !important;
    height: auto !important;
    overflow-y: visible !important;
}

/* Links in Chat-Antworten sichtbar machen */
#kisupport-chat .kisupport-answers a,
.kisupport-answers a {
    color: #ffffff !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

#kisupport-chat .kisupport-answers a:hover,
.kisupport-answers a:hover {
    color: #e3f2fd !important;
    text-decoration: underline !important;
}

.kisupport-answers:empty {
    display: none;
}

#kisupport-loading {
    background: #e9ecef;
    padding: 12px 16px;
    border-radius: 12px;
    color: #6c757d;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    max-width: 85%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: auto;
    height: auto;
}

#kisupport-feedback {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 12px;
    font-size: 14px;
    color: #6c757d;
    align-self: flex-start;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 85%;
}

#kisupport-thumbUp,
#kisupport-thumbDown {
    font-size: 22px;
    cursor: pointer;
    border: none;
    background: transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    padding: 5px;
}

#kisupport-thumbUp:hover {
    opacity: 1;
    transform: scale(1.2);
}

#kisupport-thumbDown:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Chat Footer */
.chat-footer {
    background: white;
    padding: 25px 20px;
    border-top: 1px solid #e9ecef;
    flex: 0 0 auto;
    min-height: 150px;
    max-height: 150px;
    position: relative;
    z-index: 10;
}

.chat-footer form {
    background: transparent;
    padding: 0;
    width: 100%;
}

.chat-footer .input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-footer .input-wrapper input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.chat-footer .input-wrapper input:focus {
    border-color: #007bff;
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.chat-footer .input-wrapper button {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.chat-footer .input-wrapper button:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.chat-footer .input-wrapper button:disabled {
    background: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Loading Animation */
.loader-bars {
    display: inline-flex;
    gap: 4px;
}

.loader-bars .bar {
    width: 3px;
    height: 14px;
    background: #6c757d;
    border-radius: 2px;
    animation: loading 1s ease-in-out infinite;
}

.loader-bars .bar:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-bars .bar:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loading {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* ======================
   FOOTER MODERN STYLING
   ====================== */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

footer h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #007bff;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

footer ul li a:hover {
    color: #007bff;
    padding-left: 0.5rem;
}

footer ul li a::before {
    content: "→";
    opacity: 0;
    transition: opacity 0.3s ease;
}

footer ul li a:hover::before {
    opacity: 1;
}

/* Footer Contact List */
footer .footer-contact {
    list-style: none;
    padding: 0;
}

footer .footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

footer .footer-contact li i {
    color: #007bff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

footer .footer-contact li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-contact li a:hover {
    color: #007bff;
    padding-left: 0;
}

footer .footer-contact li a::before {
    display: none;
}

footer .copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

footer .copyright a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

footer .copyright a:hover {
    color: #007bff;
}

/* ======================
   FORMS MODERN STYLING
   ====================== */

/* PHP Update Form & Other Inline Forms */
.action_form {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

.action_form .title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.action_form .title .special {
    color: var(--primary-color);
}

.action_form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.action_form .w-input,
.action_form .input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.action_form .w-input:focus,
.action_form .input:focus {
    border-color: var(--primary-color);
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.action_form .submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.action_form .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.action_form .g-recaptcha {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

/* Form Status Messages */
#php-form-status {
    margin-bottom: 1rem;
}

#php-form-status .alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

#php-form-status .alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#php-form-status .alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Cookie Notice Modern */
.cookieNote {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    z-index: 999997;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookieNote .alertContent .row.grid-3-1 {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    align-items: center;
}

.cookieNote .alertContentText p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookieNote a {
    color: #007bff;
    text-decoration: underline;
}

.cookieNote a:hover {
    color: #0056b3;
}

.cookieClose {
    cursor: pointer;
    background: #007bff;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.cookieClose * {
    pointer-events: none;
}

.cookieClose:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

@media (max-width: 768px) {
    .cookieNote .alertContent .row.grid-3-1 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cookieClose {
        width: 100%;
    }
}

/* ======================
   PADDING FIXES - TOP & BOTTOM
   ====================== */

/* Add proper vertical spacing to all content wrapper boxes */
.content-wrapper {
    background: white;
    border-radius: 15px;
    padding: 3rem !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

.content-wrapper h3 {
    margin-top: 2rem !important;
    margin-bottom: 1.5rem !important;
}

.content-wrapper h3:first-child {
    margin-top: 0 !important;
}

.content-wrapper p {
    margin-bottom: 1.5rem !important;
}

/* SLA Section - Add vertical padding */
.sla-content {
    padding: 2rem 0;
}

.sla-content h3 {
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
}

.sla-feature {
    margin-bottom: 1.5rem !important;
    padding: 1.5rem !important;
}

.sla-package {
    padding: 2rem !important;
    margin-bottom: 2rem !important;
}

/* Contact Section - Better vertical spacing */
.contact-info {
    padding: 3rem !important;
    margin: 2rem 0;
}

.contact-item {
    margin-bottom: 2rem !important;
}

.contact-item:last-child {
    margin-bottom: 0 !important;
}

/* CTA Section - Add more padding */
.cta-section {
    padding: 6rem 0 !important;
}

.cta-section h2 {
    margin-bottom: 2rem !important;
}

.cta-section p {
    margin-bottom: 2.5rem !important;
}

/* All sections - ensure minimum vertical padding */
.content-section {
    padding: 5rem 0 !important;
}

section {
    padding: 5rem 0 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .content-wrapper {
        padding: 2rem !important;
        margin: 1.5rem 0;
    }

    .cta-section {
        padding: 4rem 0 !important;
    }

    .cta-section h2 {
        font-size: 1.8rem;
        padding: 0 15px;
        margin-bottom: 1.5rem !important;
    }

    .cta-section p {
        padding: 0 15px;
        font-size: 1.05rem;
        margin-bottom: 2rem !important;
    }

    .contact-section {
        padding: 4rem 0 !important;
    }

    .contact-info {
        padding: 2rem !important;
        margin: 1rem 0;
    }

    .contact-item {
        margin-bottom: 1.5rem !important;
    }

    /* SLA Section improvements */
    .sla-section {
        padding: 4rem 0 !important;
    }

    .sla-content {
        padding: 1rem 0;
    }

    .sla-feature {
        padding: 1.2rem !important;
        margin-bottom: 1.2rem !important;
    }

    .sla-package {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Content section padding */
    .content-section {
        padding: 4rem 0 !important;
    }

    section {
        padding: 4rem 0 !important;
    }
}

/* ======================
   UPDATE PAGE MODERN STYLING
   ====================== */

/* Gradient Background Helper */
.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
}

/* Hero Wave Effect - Statische Welle für hero-fullscreen */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-wave::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

/* Hero Icon Animation */
.hero-icon-wrapper i {
    animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.2);
    border-color: var(--primary-color);
}

.feature-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.feature-icon-wrapper i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper i {
    color: white;
    transform: scale(1.1);
}

/* Icon Box in Lists */
.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* System Cards */
.system-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    height: 100%;
}

.system-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.2);
    border-color: var(--primary-color);
}

.system-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    background: rgba(0, 123, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.system-card:hover .system-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.system-icon-wrapper i {
    font-size: 2.5rem;
}

/* Benefit Cards */
.benefit-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.benefit-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(0, 123, 255, 0.05);
}

/* Process Steps */
.process-step {
    position: relative;
    padding: 3rem 2rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.step-icon {
    margin-bottom: 1rem;
}

.step-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.9;
}

/* List Group Hover Effects */
.list-group-item-action {
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important;
}

.list-group-item-action:hover {
    background-color: rgba(0, 123, 255, 0.05) !important;
    border-left-color: var(--primary-color) !important;
    transform: translateX(5px);
}

/* Sticky Form Card */
@media (min-width: 992px) {
    .sticky-top {
        position: sticky !important;
        top: 100px;
        z-index: 100;
    }
}

/* Badge Styling */
.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Form Control Large */
.form-control-lg,
.form-select-lg {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

/* Alert Inline */
.alert.d-inline-flex {
    padding: 1rem 1.5rem;
    border-radius: 50px;
}

/* Section Title */
.section-title h2 {
    position: relative;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Responsive Adjustments for Update Page */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 4rem;
    }

    .hero-icon-wrapper i {
        font-size: 120px !important;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .feature-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .feature-icon-wrapper i {
        font-size: 2.5rem;
    }

    .benefit-card {
        flex-direction: column;
        text-align: center;
    }

    .benefit-icon {
        margin: 0 auto 1rem;
    }

    .step-icon i {
        font-size: 3rem;
    }

    .system-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .system-icon-wrapper i {
        font-size: 2rem;
    }
}

/* ========================================================================
   Release Cards Styling (for [new-releases] shortcode)
   ======================================================================== */

.release-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.release-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15) !important;
    border-color: rgba(0, 123, 255, 0.2);
}

.release-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 50%;
    padding: 1rem;
}

.release-logo svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.release-logo i {
    font-size: 3rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .release-logo {
        width: 80px;
        height: 80px;
    }
}

/* Reference Cards */
.reference-card {
    transition: all 0.3s ease;
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15) !important;
}

.reference-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 12px;
}

.reference-icon i {
    font-size: 2rem;
}

.reference-item {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);
}

/* ========================================
   Form Styling - Consistent across all forms
   ======================================== */

.w-form {
    margin: 2rem 0;
}

.w-form form {
    width: 100%;
}

/* Form Groups */
.w-form .form-group {
    margin-bottom: 1.5rem;
}

/* Labels */
.w-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.w-form .formbuilder-required {
    color: #dc3545;
    margin-left: 3px;
}

/* Input Fields & Textareas */
.w-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.w-form .form-control:focus {
    outline: 0;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.w-form .form-control:hover {
    border-color: #c0c0c0;
}

.w-form .form-control::placeholder {
    color: #adb5bd;
    opacity: 1;
}

/* Textareas */
.w-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Select Fields */
.w-form select.form-control,
.w-form .form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

/* Checkboxes & Radio Buttons */
.w-form input[type="checkbox"],
.w-form input[type="radio"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.w-form .formbuilder-checkbox label,
.w-form .formbuilder-radio label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
}

/* Buttons */
.w-form button[type="submit"],
.w-form .btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.w-form button[type="submit"]:hover,
.w-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 100%);
}

.w-form button[type="submit"]:active,
.w-form .btn-primary:active {
    transform: translateY(0);
}

.w-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Error States */
.w-form .form-control.is-invalid {
    border-color: #dc3545;
}

.w-form .form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.w-form .invalid-feedback {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* Success States */
.w-form .form-control.is-valid {
    border-color: #28a745;
}

.w-form .form-control.is-valid:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Form Layout Variants */
.w-form.horizontal .form-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.w-form.horizontal label {
    margin-bottom: 0;
    min-width: 150px;
}

/* Compact Form Style */
.w-form.compact .form-group {
    margin-bottom: 1rem;
}

.w-form.compact .form-control {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

/* Card-wrapped Forms */
.w-form .form-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* reCAPTCHA Badge */
.w-form .g-recaptcha {
    margin: 1rem 0;
}

/* Helper Text */
.w-form .form-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 768px) {
    .w-form .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .w-form button[type="submit"],
    .w-form .btn-primary {
        width: 100%;
        padding: 1rem;
    }
    
    .w-form.horizontal .form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .w-form.horizontal label {
        min-width: 100%;
    }
}

/* Focus Visible for Accessibility */
.w-form .form-control:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading State */
.w-form.loading button[type="submit"] {
    position: relative;
    color: transparent;
}

.w-form.loading button[type="submit"]::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Sitemap Grid Layout */
section.sitemap-grid-start {
    padding-top: 4rem;
}

section.sitemap-grid-start::before {
    content: '';
    display: block;
}

/* Sitemap Sections müssen in einem Grid sein */
.sitemap-category-card {
    height: 100%;
}

/* Additional Gradient Backgrounds */
.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545 0%, #a71d2a 100%) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #d39e00 100%) !important;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #343a40 0%, #1d2124 100%) !important;
}

/* Content h3 styling - replaces old strong-as-header style */
.content-wrapper h3 {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}
.anniversary-banner {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: white;
  padding: 1.5rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.anniversary-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}
.anniversary-banner::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}
.anniversary-banner .container {
  position: relative;
  z-index: 1;
}
.anniversary-banner h2 {
  color: white;
  margin-bottom: 0.5rem;
}
.anniversary-banner p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}
.anniversary-banner .btn-anniversary {
  background: white;
  color: #b8941f;
  border: 2px solid white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.anniversary-banner .btn-anniversary:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.anniversary-badge-small {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}
.anniversary-badge-small .anniversary-number {
  font-size: 2rem;
  font-weight: 700;
  color: #b8941f;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.anniversary-badge-small .anniversary-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #235b90;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.anniversary-badge {
  display: inline-block;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
  animation: pulse 3s ease-in-out infinite;
  position: relative;
}
.anniversary-badge::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 3px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  animation: ring 3s ease-in-out infinite;
}
.anniversary-badge .anniversary-number {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.anniversary-badge .anniversary-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.anniversary-hero {
  background: linear-gradient(135deg, #235b90 0%, rgb(25.0279329609, 65.0726256983, 102.9720670391) 100%);
}
.anniversary-hero .hero-content h1 {
  color: white;
}
.anniversary-hero .hero-content p {
  color: rgba(255, 255, 255, 0.95);
}

.timeline {
  position: relative;
  padding: 2rem 0;
  margin: 2rem 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.timeline-item:nth-child(odd) {
  flex-direction: row;
}
.timeline-item:nth-child(odd) .timeline-year {
  order: 1;
}
.timeline-item:nth-child(odd) .timeline-content {
  order: 2;
  text-align: left;
}
.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}
.timeline-item:nth-child(even) .timeline-year {
  order: 1;
}
.timeline-item:nth-child(even) .timeline-content {
  order: 2;
  text-align: right;
}
@media (max-width: 768px) {
  .timeline-item {
    flex-direction: row !important;
  }
  .timeline-item .timeline-year {
    order: 1 !important;
  }
  .timeline-item .timeline-content {
    order: 2 !important;
    text-align: left !important;
  }
}

.timeline-year {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .timeline-year {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
}
.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.timeline-content h3 {
  color: #235b90;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.timeline-content p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.timeline-content .timeline-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.timeline-content .timeline-stats .badge {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
}
@media (max-width: 768px) {
  .timeline-content {
    padding: 1.5rem;
  }
}

.timeline-current .timeline-year {
  background: linear-gradient(135deg, #235b90 0%, rgb(25.0279329609, 65.0726256983, 102.9720670391) 100%);
  animation: pulse 2s ease-in-out infinite;
}
.timeline-current .timeline-content {
  border: 2px solid #d4af37;
  background: linear-gradient(to bottom, white 0%, #fffef8 100%);
}

.anniversary-stats {
  background: linear-gradient(135deg, #235b90 0%, rgb(25.0279329609, 65.0726256983, 102.9720670391) 100%);
}
.anniversary-stats .stat-item {
  color: white;
}
.anniversary-stats .stat-item .stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #d4af37;
}
.anniversary-stats .stat-item .stat-number {
  color: #d4af37;
}
.anniversary-stats .stat-item .stat-label {
  color: rgba(255, 255, 255, 0.9);
}

.signature {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #d4af37;
}
.signature p:first-child {
  font-size: 1.5rem;
  font-weight: 600;
  color: #235b90;
  font-family: "Brush Script MT", cursive;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes ring {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
.anniversary-page .content-wrapper .lead {
  font-size: 1.15rem;
  line-height: 1.7;
}
.anniversary-page form .card {
  transition: all 0.3s ease;
}
.anniversary-page form .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 992px) {
  .anniversary-banner .col-lg-7 {
    text-align: center;
    margin-bottom: 1rem;
  }
  .anniversary-banner .col-lg-3 {
    text-align: center !important;
  }
  .anniversary-badge {
    width: 120px;
    height: 120px;
  }
  .anniversary-badge .anniversary-number {
    font-size: 3rem;
  }
  .anniversary-badge .anniversary-label {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .anniversary-banner {
    padding: 1rem 0;
  }
  .anniversary-banner h2 {
    font-size: 1.25rem;
  }
  .anniversary-banner p {
    font-size: 0.9rem;
  }
  .anniversary-badge {
    width: 100px;
    height: 100px;
  }
  .anniversary-badge .anniversary-number {
    font-size: 2.5rem;
  }
  .anniversary-badge .anniversary-label {
    font-size: 0.9rem;
  }
  .timeline {
    padding-left: 60px;
  }
}
/* Farb-Overrides für einen Darkmode oder anderes Farbschema. */
:root[data-theme=dark] {
  --primary-color: #3399ff;
  --secondary-color: #90caf9;
  --text-color: #dddddd;
  --background-color: #121212;
  --heading-color: #ffffff;
  --link-color: #66ccff;
}

body.light-mode {
  --color-primary: #007bff;
  --color-primary-dark: #1d486e;
  --color-primary-lighten: rgb(91.2905027933, 154.9553072626, 215.2094972067);
  --color-secondary: #009688;
  --color-secondary-dark: #00796b;
  --color-bg: #FAFAFA;
  --color-text: #212121;
  --color-border: #DDD;
  --color-text-on-bg: #262626;
  --color-bg-thin: #ddeeff;
  --color-link: var(--color-primary);
  --color-link-hover: #1d486e;
  --color-dark: #262626;
  --color-mid: #595959;
  --color-white: #fff;
  --color-bg-cookie-note: rgba(35, 95, 144, 0.8);
  --color-text-cookie-note: #FFFFFF;
  --color-link-cookie-note: silver;
  --color-success: #4CAF50;
  --color-success-dark: #388E3C;
  --color-success-light: rgb(145.5378486056, 207.4621513944, 148.0398406375);
  --color-error: #F44336;
  --color-error-dark: #D32F2F;
  --color-error-light: rgb(249.2924528302, 157.4528301887, 150.7075471698);
  --color-warning: #FF9800;
  --color-warning-dark: #F57C00;
  --color-warning-light: rgb(255, 193.2, 102);
  --color-info: #2196F3;
  --color-info-dark: #1976D2;
  --color-info-light: rgb(129.7692307692, 195.7692307692, 248.2307692308);
  --color-form-label: #333;
}

body.dark-mode {
  --color-primary: #007bff;
  --color-primary-dark: #235b90;
  --color-primary-lighten: #5b9bd7;
  --color-secondary: #26b8aa;
  --color-secondary-dark: #269f94;
  --color-bg: #121212;
  --color-text: #E0E0E0;
  --color-border: #333;
  --color-text-on-bg: #fff;
  --color-bg-thin: #1d1d1d;
  --color-link: var(--color-primary);
  --color-link-hover: #3d75b0;
  --color-dark: #000000;
  --color-mid: #2e2e2e;
  --color-white: #E0E0E0;
  --color-bg-cookie-note: rgba(250, 250, 250, 0.08);
  --color-text-cookie-note: #ffffff;
  --color-link-cookie-note: #bbbbbb;
  --color-success: #6cc070;
  --color-success-dark: #4CAF50;
  --color-success-light: #a3d9a5;
  --color-error: #f66359;
  --color-error-dark: #F44336;
  --color-error-light: #f9a39d;
  --color-warning: #ffab26;
  --color-warning-dark: #FF9800;
  --color-warning-light: #ffc966;
  --color-info: #4daaf5;
  --color-info-dark: #2196F3;
  --color-info-light: #81c3f8;
  --color-form-label: #DDD;
}

/* Removed prefers-color-scheme media query - Dark mode is now only activated via body.dark-mode class */
:root {
  --color-primary: #0066ff;
  --color-primary-dark: #1d486e;
  --color-primary-lighten: rgb(91.2905027933, 154.9553072626, 215.2094972067);
  --color-secondary: #00d4aa;
  --color-secondary-dark: #00a885;
  --color-accent: #ff6b35;
/* ============================================================================
   10 Jahre WebAufbau - Anniversary Styling (WebAufbau Blue Theme)
   ============================================================================ */

.anniversary-banner {
  background: linear-gradient(135deg, #235b90 0%, #1a4570 100%);
  color: white;
  padding: 1.5rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.anniversary-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.anniversary-banner::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.anniversary-banner .container {
  position: relative;
  z-index: 1;
}

.anniversary-banner h2 {
  color: white;
  margin-bottom: 0.5rem;
}

.anniversary-banner p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.anniversary-banner .btn-anniversary {
  background: white;
  color: #235b90;
  border: 2px solid white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.anniversary-banner .btn-anniversary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.anniversary-badge-small {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}

.anniversary-badge-small .anniversary-number {
  font-size: 2rem;
  font-weight: 700;
  color: #235b90;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.anniversary-badge-small .anniversary-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a4570;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-close-anniversary {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
  opacity: 0.7;
  z-index: 10;
}

.btn-close-anniversary:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.btn-close-anniversary:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 992px) {
  .anniversary-banner .col-lg-7 {
    text-align: center;
    margin-bottom: 1rem;
  }
  .anniversary-banner .col-lg-3 {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .anniversary-banner {
    padding: 1rem 0;
  }
  .anniversary-banner h2 {
    font-size: 1.25rem;
  }
  .anniversary-banner p {
    font-size: 0.9rem;
  }
  .btn-close-anniversary {
    top: 5px;
    right: 5px;
    font-size: 1rem;
  }
}

/* Fix für sticky Navigation */
.anniversary-banner {
  margin-top: 80px; /* Platz für die fixe Navigation */
}

@media (max-width: 768px) {
  .anniversary-banner {
    margin-top: 60px; /* Weniger Abstand auf Mobile */
  }
}

/* ============================================================================
   10 Jahre WebAufbau Anniversary Banner
   ============================================================================ */
.anniversary-banner {
  background: linear-gradient(135deg, #235b90 0%, #1a4570 100%);
  color: white;
  padding: 1.5rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-top: 80px;
}

.anniversary-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float-anni 6s ease-in-out infinite;
}

.anniversary-banner::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float-anni 8s ease-in-out infinite;
}

.anniversary-banner .container {
  position: relative;
  z-index: 1;
}

.anniversary-banner h2 {
  color: white;
  margin-bottom: 0.5rem;
}

.anniversary-banner p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.anniversary-banner .btn-anniversary {
  background: white;
  color: #235b90;
  border: 2px solid white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.anniversary-banner .btn-anniversary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.anniversary-badge-small {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}

.anniversary-badge-small .anniversary-number {
  font-size: 2rem;
  font-weight: 700;
  color: #235b90;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.anniversary-badge-small .anniversary-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a4570;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-close-anniversary {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
  opacity: 0.7;
  z-index: 10;
}

.btn-close-anniversary:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

@keyframes float-anni {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@media (max-width: 992px) {
  .anniversary-banner .col-lg-7 {
    text-align: center;
    margin-bottom: 1rem;
  }
  .anniversary-banner .col-lg-3 {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .anniversary-banner {
    padding: 1rem 0;
    margin-top: 60px;
  }
  .anniversary-banner h2 {
    font-size: 1.25rem;
  }
  .anniversary-banner p {
    font-size: 0.9rem;
  }
  .btn-close-anniversary {
    top: 5px;
    right: 5px;
    font-size: 1rem;
  }
}

/* Extension List - WordPress.org Style */
.extension-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
}

.extension-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
}

.extension-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.12);
    border-color: rgba(0, 123, 255, 0.3);
}

.extension-card img {
    width: 96px;
    height: 96px;
    min-width: 96px;
    margin-right: 1.5rem;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.extension-card:hover img {
    transform: scale(1.03);
}

.extension-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.extension-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.extension-card p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
    color: #666;
    font-size: 0.95rem;
}

.extension-card .button {
    align-self: flex-start;
    padding: 0.5rem 1.25rem;
    background: #007bff;
    color: #fff;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.extension-card .button:hover {
    background: #0056b3;
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .extension-card {
        flex-direction: column;
        text-align: center;
    }

    .extension-card img {
        margin: 0 auto 1rem auto;
    }

    .extension-card .button {
        align-self: center;
    }
}

/* ===================================
   Shop Styling
   =================================== */

.shop-container {
    max-width: 1200px;
}

.shop-hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.shop-filters {
    border-bottom: none !important;
}

/* Search Page Styles */
.section-dienstleistungen + .container {
    background: #ffffff;
    padding: 3rem 1.5rem;
    margin-top: -2rem;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

body.dark-mode .section-dienstleistungen + .container {
    background: #1a1a2e;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .section-dienstleistungen + .container p,
body.dark-mode .section-dienstleistungen + .container li,
body.dark-mode .section-dienstleistungen + .container a {
    color: #ffffff;
}

/* Search Form in Hero Section */
.section-dienstleistungen .searchform {
    max-width: 700px;
    margin: 2rem auto 0;
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-dienstleistungen .searchform input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
}

.section-dienstleistungen .searchform input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.section-dienstleistungen .searchform button {
    padding: 1rem 2rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.section-dienstleistungen .searchform button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

@media (max-width: 768px) {
    .section-dienstleistungen .searchform {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        border-radius: 20px;
    }

    .section-dienstleistungen .searchform button {
        width: 100%;
    }
}

/* Search Input Wrapper */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 700px;
    margin: 0 auto;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    pointer-events: none;
    z-index: 1;
}

.search-input-wrapper input {
    flex: 1;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border: none !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 1rem;
    outline: none !important;
    box-shadow: none !important;
}

.search-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input-wrapper button {
    padding: 1rem 2rem;
    background: #007bff !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.search-input-wrapper button:hover {
    background: #0056b3 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Dark Mode - Search Input */
body.dark-mode .search-input-wrapper,
html.dark-mode .search-input-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .search-input-wrapper input::placeholder,
html.dark-mode .search-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.dark-mode .search-input-wrapper .search-icon,
html.dark-mode .search-input-wrapper .search-icon {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .search-input-wrapper {
        flex-direction: column;
        gap: 0;
        padding: 0.75rem;
        border-radius: 16px;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.2);
        position: relative;
    }

    .search-input-wrapper input {
        padding: 0.875rem 1rem 0.875rem 3rem;
        background: rgba(255, 255, 255, 0.25) !important;
        border-radius: 12px !important;
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
        position: relative;
    }

    .search-input-wrapper .search-icon {
        position: absolute;
        left: 2rem;
        top: 2.3rem;
        font-size: 1.1rem;
        z-index: 2;
    }

    .search-input-wrapper button {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

.shop-filters .nav-pills .nav-link {
    color: #495057;
    background-color: #f8f9fa;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.shop-filters .nav-pills .nav-link:hover {
    background-color: #e9ecef;
    color: #007bff;
    transform: translateY(-2px);
}

.shop-filters .nav-pills .nav-link.active {
    background-color: #007bff;
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.shop-filters .nav-pills .nav-link.active:hover {
    background-color: #0056b3;
    color: white !important;
}

.product-card {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255,193,7,0.4);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-image {
    position: relative;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: translate(-50%, -50%) scale(1.05);
}

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
    line-height: 1.4;
}

.product-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
}

.product-cta {
    color: #007bff;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-card:hover .product-cta {
    color: #0056b3;
}

.product-card:hover .product-cta i {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .shop-filters .nav-pills {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-filters .nav-pills .nav-link {
        margin: 0.25rem 0;
    }
}

/* Dark Mode - Shop Filters */
html.dark-mode .shop-filters .nav-pills .nav-link,
body.dark-mode .shop-filters .nav-pills .nav-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

html.dark-mode .shop-filters .nav-pills .nav-link:hover,
body.dark-mode .shop-filters .nav-pills .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #007bff;
    border-color: rgba(255, 255, 255, 0.3);
}

html.dark-mode .shop-filters .nav-pills .nav-link.active,
body.dark-mode .shop-filters .nav-pills .nav-link.active {
    background-color: #007bff;
    color: white !important;
    border-color: #007bff;
}

html.dark-mode .shop-filters .nav-pills .nav-link.active:hover,
body.dark-mode .shop-filters .nav-pills .nav-link.active:hover {
    background-color: #0056b3;
    color: white !important;
}

/* Dark Mode - Comparison Table */
html.dark-mode .comparison-table,
html.dark-mode .table,
body.dark-mode .comparison-table,
body.dark-mode .table {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    background: transparent;
}

html.dark-mode .comparison-table thead th,
html.dark-mode .table thead th,
body.dark-mode .comparison-table thead th,
body.dark-mode .table thead th {
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.15);
}

html.dark-mode .comparison-table tbody td,
html.dark-mode .table tbody td,
body.dark-mode .comparison-table tbody td,
body.dark-mode .table tbody td {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95) !important;
}

html.dark-mode .comparison-table tbody td strong,
html.dark-mode .table tbody td strong,
body.dark-mode .comparison-table tbody td strong,
body.dark-mode .table tbody td strong {
    color: white !important;
}

html.dark-mode .comparison-section h3,
body.dark-mode .comparison-section h3 {
    color: white !important;
}

html.dark-mode .comparison-table .bg-success,
html.dark-mode .table .bg-success,
body.dark-mode .comparison-table .bg-success,
body.dark-mode .table .bg-success {
    background: rgba(25, 135, 84, 0.15) !important;
}

html.dark-mode .comparison-table tbody tr:hover td,
html.dark-mode .table tbody tr:hover td,
body.dark-mode .comparison-table tbody tr:hover td,
body.dark-mode .table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.05);
}

/* Dark Mode - File Input Button */
html.dark-mode input[type="file"]::file-selector-button,
body.dark-mode input[type="file"]::file-selector-button {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

html.dark-mode input[type="file"]::file-selector-button:hover,
body.dark-mode input[type="file"]::file-selector-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

html.dark-mode .form-control[type="file"],
body.dark-mode .form-control[type="file"] {
    color: rgba(255, 255, 255, 0.9);
}

/* Shop Helper Classes */
.fs-huge {
    font-size: 4rem !important;
}

.fs-large {
    font-size: 2.5rem !important;
}

.street-suggestions {
    z-index: 1000;
}

.option-card {
    transition: all 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.success-icon-wrapper {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.payment-info {
    border-left: 4px solid #007bff;
}

/* Shop Product Page Styles */
.product-image-wrapper {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.product-image-wrapper img {
    max-height: 350px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.product-info-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #212529;
}

.product-price-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 8px;
    color: white;
}

.price-label {
    font-size: 1rem;
    font-weight: 600;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
}

.order-form-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 2rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
}

.form-section {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.form-section:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    background-color: white;
    color: #212529;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.15);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Shipping Toggle */
.shipping-toggle-wrapper {
    padding: 1.25rem;
    background: white;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.shipping-toggle-wrapper:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.form-check-input[type="checkbox"][role="switch"] {
    width: 3rem;
    height: 1.5rem;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.shipping-section {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.shipping-section.show {
    opacity: 1;
}

/* Better button styling */
.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Total section enhancement */
.total-display {
    background: #e3f2fd !important;
    border: 2px solid #2196f3;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(33,150,243,0.2);
    transition: all 0.3s ease;
}

.total-display:hover {
    box-shadow: 0 6px 16px rgba(33,150,243,0.3);
    transform: translateY(-2px);
}

.total-display span,
.total-display .fw-bold {
    color: #212529;
}

.total-display .text-primary {
    color: #007bff !important;
}

#street-suggestions {
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    margin-top: 0.25rem;
}

#street-suggestions li {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #e9ecef;
    color: #212529;
    transition: background-color 0.2s;
}

#street-suggestions li:hover {
    background-color: #f8f9fa;
}

#street-suggestions li:last-child {
    border-bottom: none;
}

#voucher-feedback {
    margin-top: 0.5rem;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 8px;
}

#voucher-feedback .text-success {
    background: #d4edda;
    color: #155724;
    display: block;
    padding: 0.75rem;
    border-radius: 6px;
}

#voucher-feedback .text-danger {
    background: #f8d7da;
    color: #721c24;
    display: block;
    padding: 0.75rem;
    border-radius: 6px;
}

.btn-outline-primary {
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    background: #007bff;
    border-color: #007bff;
    transform: scale(1.02);
}

.input-group .form-control {
    border-radius: 8px 0 0 8px !important;
}

#lieferadresse-fields {
    transition: opacity 0.3s ease;
}

#lieferadresse-fields input[readonly] {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

#same-as-billing {
    cursor: pointer;
}

/* Dark Mode for Shop Product Page */
body.dark-mode .product-image-wrapper {
    background: #2d2d2d;
}

body.dark-mode .product-info-card {
    background: #1d1d1d;
}

body.dark-mode .product-title {
    color: #ffffff;
}

body.dark-mode .product-image {
    background: #2d2d2d;
}

body.dark-mode .form-section {
    background: #2d2d2d;
    border-color: #444;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: #2d2d2d;
    color: #ffffff;
    border-color: #444;
}

body.dark-mode .form-label {
    color: #ccc;
}

body.dark-mode .shipping-toggle-wrapper {
    background: #2d2d2d;
    border-color: #444;
}

body.dark-mode .order-form-card {
    background: #1d1d1d;
}

body.dark-mode #street-suggestions {
    background: #2d2d2d;
    border-color: #444;
}

body.dark-mode #street-suggestions li {
    color: #ffffff;
    border-color: #444;
}

body.dark-mode #street-suggestions li:hover {
    background-color: #3d3d3d;
}

body.dark-mode .total-display {
    background: #1a3a52 !important;
}

body.dark-mode .total-display span,
body.dark-mode .total-display .fw-bold {
    color: #ffffff;
}

@media (max-width: 992px) {
    .order-form-card {
        position: static;
    }
}
