/* ===== NETZWERK OPTIMIZED CSS ===== */

/* ===== MAIN ELEMENT ===== */
main#main-content {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%) !important;
    color: #ffffff !important;
}

/* Alternative spezifischere Regel falls nötig */
body main#main-content {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%) !important;
    color: #ffffff !important;
}

/* ===== HERO SECTION ===== */
.network-hero {
    background: url('../IMG/ohone-netzwerk-schopfheim.jpg') center center/cover no-repeat;
    background-attachment: fixed;
    margin-bottom: -1.5rem;
    padding: 0 0 0 0;
    height: auto;
    min-height: 85vh;
}

.hero.network-hero .hero-content {
    padding: 1rem 2rem;
    margin: 0;
}

.hero.network-hero .hero-buttons {
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 16px;
    justify-content: center;
}

.hero.network-hero .btn-neon {
    margin-left: 24px;
}

.hero.network-hero .network-stats {
    margin-top: 0;
}

.hero.network-hero .hero-left {
    margin-bottom: 0;
    padding-right: 1rem;
}

.hero.network-hero .hero-right {
    padding-left: 1rem;
}

/* Hero Title Gradient Effect */
.hero.network-hero .hero-title {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.hero.network-hero .hero-title.glow-effect::after { 
    content: none; 
    display: none; 
}

.hero.network-hero .neon-text { 
    background: inherit; 
    -webkit-background-clip: text; 
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    color: transparent; 
    text-shadow: none; 
}

/* ===== SERVICES SECTION ===== */
.complete-network-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    margin-bottom: 0;
    padding: 2rem 0 0 0;
    height: auto;
    border-radius: 0 0 0 0;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    position: relative;
    z-index: 10;
}

.services-overview {
    margin: 0 0 4rem 0;
    padding: 2rem;
}

.services-overview .services-grid { 
    display: grid; 
    grid-template-columns: repeat(3, minmax(0,1fr)); 
    gap: 1.5rem; 
    padding: 0 1rem;
}

.services-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    text-align: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    font-weight: bold;
}

.services-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #cbd5e1;
    font-size: 1rem;
}

/* ===== SERVICE CARDS ===== */
.service-card-enhanced {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 0 0.75rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
    border-color: rgba(59, 130, 246, 0.6);
}

.service-card-enhanced:hover::before {
    opacity: 1;
}

.service-card-enhanced .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

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

.service-card-enhanced h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card-enhanced p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #f1f5f9;
}

.check-icon {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.service-stats {
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 0.75rem;
    margin: 1rem 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.service-stats .stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
}

.service-stats .stat-row:last-child {
    margin-bottom: 0;
}

.service-stats .stat-label {
    color: #94a3b8;
}

.service-stats .stat-value {
    color: #00ff88;
    font-weight: 600;
}

.service-highlights-enhanced {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.highlight-tag-enhanced {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.service-card-button {
    text-align: center;
    margin-top: 1rem;
}

.service-card-button .btn {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: white;
    font-size: 0.85rem;
}

/* ===== TECHNICAL DETAILS SECTION ===== */
.technical-details-header {
    text-align: center;
    margin: 4rem 0 3rem 0;
    position: relative;
    z-index: 1;
}

.technical-details-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    font-weight: bold;
    margin-bottom: 1rem;
}

.technical-details-subtitle {
    color: #cbd5e1;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== DETAIL BOXES ===== */
.detail-box-enhanced {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 16px;
    padding: 0;
    margin: 2rem 0;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(71, 85, 105, 0.3);
    position: relative;
    clear: both;
}

.detail-box-enhanced.home-network-mobile {
    background: url('../IMG/ohone-netzwerk-verbindung-schopfheim.jpg') center center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.detail-box-enhanced.business-network-mobile {
    background: url('../IMG/ohone-server-administration-schopfheim.jpg') center center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.detail-box-enhanced.wlan-optimization-mobile {
    background: url('../IMG/ohone-server-schrank-schopfheim.jpg') center center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.detail-box-enhanced.telephone-systems-mobile {
    background: url('../IMG/ohone-netzwerk-telefonanlagen-schopfheim.jpg') center center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.detail-box-enhanced.network-problems-mobile {
    background: url('../IMG/ohone-netzwerkverbindung-schopfheim.jpg') center center/cover no-repeat;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.detail-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

.detail-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.detail-header {
    margin-bottom: 1.5rem;
}

.detail-header h2 {
    color: #ffffff;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    margin-bottom: 1rem;
}

.detail-description {
    color: #f1f5f9;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.detail-column h4 {
    color: #60a5fa;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.list-icon {
    color: #60a5fa;
    margin-right: 0.5rem;
    font-weight: bold;
}

.pricing-info {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.pricing-info h4 {
    color: #fbbf24;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.pricing-info p {
    color: #f1f5f9;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

/* ===== EMERGENCY INSTRUCTIONS ===== */
.emergency-section {
    margin: 4rem 0;
}

.emergency-container {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.emergency-title {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.emergency-description {
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.emergency-column {
    margin-bottom: 1.5rem;
}

.emergency-column h4 {
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.emergency-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.emergency-list li {
    color: #ffffff;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.emergency-number {
    color: #fbbf24;
    margin-right: 0.5rem;
    font-weight: bold;
}

.emergency-bullet {
    color: #ef4444;
    margin-right: 0.5rem;
    font-weight: bold;
}

.emergency-info-box {
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.emergency-info-title {
    color: #fbbf24;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.emergency-info-text {
    color: #ffffff;
    font-size: 0.85rem;
    margin: 0;
}

.emergency-button-container {
    text-align: center;
}

/* ===== PROCESS SECTION ===== */
.process-section {
    margin: 4rem 0;
}

.process-container {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.process-header {
    text-align: center;
    margin-bottom: 2rem;
}

.process-title {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.process-subtitle {
    color: #e2e8f0;
    margin-bottom: 0;
    line-height: 1.6;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.process-step {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
}

.process-step-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.process-step-number {
    background: #00ff88;
    color: #000;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
}

.process-step-title {
    color: #00ff88;
    margin: 0;
}

.process-step-description {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.process-info-box {
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: center;
}

.process-info-title {
    color: #fbbf24;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.process-info-text {
    color: #ffffff;
    font-size: 0.85rem;
    margin: 0;
}

.process-button-container {
    text-align: center;
}

/* ===== NETWORK PROBLEMS CAUSES ===== */
.causes-section {
    margin: 4rem 0;
}

.causes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.cause-item {
    background: rgba(255, 69, 0, 0.2);
    border: 1px solid rgba(255, 69, 0, 0.5);
    border-radius: 10px;
    padding: 1.2rem;
    backdrop-filter: blur(5px);
}

.cause-title {
    color: #ff6b35;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.cause-icon {
    margin-right: 0.6rem;
    font-size: 1.2rem;
}

.cause-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.5;
}

.cause-list li {
    margin-bottom: 0.4rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

/* ===== DETAILED NETWORK SOLUTIONS ===== */
.detailed-recovery-section {
    margin: 4rem 0;
}

.detailed-recovery-container {
    background: linear-gradient(135deg, #312e81 0%, #1e40af 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
}

.detailed-recovery-title {
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-info-column h3 {
    color: #a78bfa;
    margin-bottom: 1rem;
}

.detail-info-column ul {
    list-style: none;
    padding: 0;
    line-height: 1.6;
}

.detail-info-column li {
    margin-bottom: 0.5rem;
}

.stats-container {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.stats-title {
    color: #60a5fa;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stats-item-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff88;
}

.stats-item-label {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.detailed-recovery-description {
    text-align: center;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.detailed-recovery-button-container {
    text-align: center;
}

/* ===== SECTION SPACING ===== */
.section-bottom-spacing {
    padding-bottom: 1rem;
}

/* ===== PRIVACY & SECURITY SECTION ===== */
.privacy-section {
    margin: 0 0 0 0;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    padding: 0;
    border-radius: 16px;
}

.privacy-container {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    color: white;
}

.privacy-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.privacy-title {
    margin-bottom: 1rem;
}

.privacy-description {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-features {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.privacy-feature {
    background: rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    min-width: 280px;
}

.privacy-feature-title {
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
}

.privacy-feature-text {
    font-size: 1.2rem;
    opacity: 0.9;
}

.privacy-trust {
    margin-top: 2rem;
}

.privacy-trust-text {
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

/* ===== PRICE INQUIRY SECTION ===== */
.cta-section {
    padding: 2rem 0 2rem 0;
    margin-top: 0;
    background: linear-gradient(135deg, rgba(49, 46, 129, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%);
}

/* ===== GRADIENT BUTTONS ===== */
.btn-gradient-red-yellow {
    background: linear-gradient(45deg, #dc2626, #fbbf24, #f59e0b, #dc2626);
    background-size: 400% 400%;
    animation: gradient-shift 3s ease infinite;
    color: #000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gradient-red-yellow:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-gradient-blue-turquoise {
    background: linear-gradient(45deg, #3b82f6, #06b6d4, #0891b2, #3b82f6);
    background-size: 400% 400%;
    animation: gradient-shift 3s ease infinite;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gradient-blue-turquoise:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-gradient-pink-purple {
    background: linear-gradient(45deg, #ec4899, #a855f7, #8b5cf6, #ec4899);
    background-size: 400% 400%;
    animation: gradient-shift 3s ease infinite;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gradient-pink-purple:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.service-card-enhanced .service-icon {
    opacity: 0;
    transform: translateY(60px) rotate(-10deg);
    transition: all 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: calc(var(--card-index, 0) * 0.15s + 0.1s);
}

.service-card-enhanced.animate .service-icon {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

.service-card-enhanced h3 {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: calc(var(--card-index, 0) * 0.15s + 0.2s);
}

.service-card-enhanced.animate h3 {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-card-enhanced p {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.0s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: calc(var(--card-index, 0) * 0.15s + 0.3s);
}

.service-card-enhanced.animate p {
    opacity: 1;
    transform: translateY(0);
}

.service-card-enhanced .service-features {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: calc(var(--card-index, 0) * 0.15s + 0.4s);
}

.service-card-enhanced.animate .service-features {
    opacity: 1;
    transform: translateX(0);
}

.service-card-enhanced .service-stats {
    opacity: 0;
    transform: translateX(30px);
    transition: all 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: calc(var(--card-index, 0) * 0.15s + 0.5s);
}

.service-card-enhanced.animate .service-stats {
    opacity: 1;
    transform: translateX(0);
}

.service-card-enhanced .service-highlights-enhanced {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: calc(var(--card-index, 0) * 0.15s + 0.6s);
}

.service-card-enhanced.animate .service-highlights-enhanced {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Detail Box Animations */
.scroll-animate.home-network-mobile .detail-header h2,
.scroll-animate.business-network-mobile .detail-header h2,
.scroll-animate.wlan-optimization-mobile .detail-header h2,
.scroll-animate.telephone-systems-mobile .detail-header h2,
.scroll-animate.network-problems-mobile .detail-header h2 {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.1s;
}

.scroll-animate.home-network-mobile.animate .detail-header h2,
.scroll-animate.business-network-mobile.animate .detail-header h2,
.scroll-animate.wlan-optimization-mobile.animate .detail-header h2,
.scroll-animate.telephone-systems-mobile.animate .detail-header h2,
.scroll-animate.network-problems-mobile.animate .detail-header h2 {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate.home-network-mobile .detail-description,
.scroll-animate.business-network-mobile .detail-description,
.scroll-animate.wlan-optimization-mobile .detail-description,
.scroll-animate.telephone-systems-mobile .detail-description,
.scroll-animate.network-problems-mobile .detail-description {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.3s;
}

.scroll-animate.home-network-mobile.animate .detail-description,
.scroll-animate.business-network-mobile.animate .detail-description,
.scroll-animate.wlan-optimization-mobile.animate .detail-description,
.scroll-animate.telephone-systems-mobile.animate .detail-description,
.scroll-animate.network-problems-mobile.animate .detail-description {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate.home-network-mobile .causes-grid,
.scroll-animate.business-network-mobile .detail-info-grid,
.scroll-animate.wlan-optimization-mobile .detail-info-grid,
.scroll-animate.telephone-systems-mobile .detail-info-grid,
.scroll-animate.network-problems-mobile .causes-grid {
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.5s;
}

.scroll-animate.home-network-mobile.animate .causes-grid,
.scroll-animate.business-network-mobile.animate .detail-info-grid,
.scroll-animate.wlan-optimization-mobile.animate .detail-info-grid,
.scroll-animate.telephone-systems-mobile.animate .detail-info-grid,
.scroll-animate.network-problems-mobile.animate .causes-grid {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate.home-network-mobile .pricing-info,
.scroll-animate.network-problems-mobile .pricing-info {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.7s;
}

.scroll-animate.home-network-mobile.animate .pricing-info,
.scroll-animate.network-problems-mobile.animate .pricing-info {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate.home-network-mobile .btn,
.scroll-animate.business-network-mobile .btn,
.scroll-animate.wlan-optimization-mobile .btn,
.scroll-animate.telephone-systems-mobile .btn,
.scroll-animate.network-problems-mobile .btn {
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.9s;
}

.scroll-animate.home-network-mobile.animate .btn,
.scroll-animate.business-network-mobile.animate .btn,
.scroll-animate.wlan-optimization-mobile.animate .btn,
.scroll-animate.telephone-systems-mobile.animate .btn,
.scroll-animate.network-problems-mobile.animate .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Special Detail Box Animations */
.scroll-animate[style*="linear-gradient(135deg, #dc2626"] .detail-content {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
    filter: blur(3px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.1s;
}

.scroll-animate[style*="linear-gradient(135deg, #dc2626"].animate .detail-content {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

.scroll-animate[style*="linear-gradient(135deg, #1e40af"] .detail-content {
    opacity: 0;
    transform: translateY(50px) rotateX(-8deg) scale(0.95);
    filter: blur(3px);
    transition: all 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
}

.scroll-animate[style*="linear-gradient(135deg, #1e40af"].animate .detail-content {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
    filter: blur(0px);
}

.scroll-animate[style*="linear-gradient(135deg, #312e81"] .detail-content {
    opacity: 0;
    transform: translateX(70px) scale(0.95);
    filter: blur(3px);
    transition: all 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.3s;
}

.scroll-animate[style*="linear-gradient(135deg, #312e81"].animate .detail-content {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0px);
}

.scroll-animate[style*="linear-gradient(135deg, #3b82f6"] .detail-content {
    opacity: 0;
    transform: rotateZ(-3deg) scale(0.95);
    filter: blur(3px);
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.4s;
}

.scroll-animate[style*="linear-gradient(135deg, #3b82f6"].animate .detail-content {
    opacity: 1;
    transform: rotateZ(0deg) scale(1);
    filter: blur(0px);
}

/* Hover Effects */
.detail-box-enhanced:hover .detail-content {
    transform: translateY(-3px);
    transition: transform 0.5s ease;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Spezielle Anpassungen für 480px Mobile Ansicht */
@media (max-width: 480px) {
    /* Container seitliche Abstände */
    .container {
        padding: 0 10px;
    }

    /* Services-Overview Padding reduziert */
    .services-overview {
        padding: 0.5rem;
    }

    /* Services-Grid Abstände */
    .services-overview .services-grid {
        grid-template-columns: 1fr;
        padding-left: 10px;
        padding-right: 10px;
        gap: 1rem;
    }

    /* Service-Cards Anpassungen */
    .service-card-enhanced {
        margin: 0 0.5rem;
        padding: 0.5rem;
    }

    /* Detail-Boxen Anpassungen */
    .detail-box-enhanced {
        margin: 1rem 0;
    }

    .detail-content {
        padding: 1rem;
    }

    /* Technical Details Header */
    .technical-details-header {
        margin: 2rem 0 1.5rem 0;
    }

    /* Emergency Instructions */
    .emergency-instructions-container {
        margin: 1rem 0;
    }

    .emergency-instructions-box {
        padding: 1rem;
    }

    /* Process Instructions */
    .process-instructions-container {
        margin: 1rem 0;
    }

    .process-instructions-box {
        padding: 1rem;
    }

    .process-instructions-step {
        padding: 0.5rem;
    }

    /* Detailed Network */
    .detailed-network-container {
        margin: 1rem 0;
    }

    .detailed-network-box {
        padding: 1rem;
    }

    /* Privacy Section */
    .privacy-container,
    .guarantee-quality-container {
        margin: 1rem 0;
    }

    .privacy-container .privacy-feature,
    .guarantee-quality-container .guarantee-quality-feature {
        padding: 1rem;
        min-width: auto;
    }
}
@media (min-width: 992px) {
    .hero.network-hero .hero-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    .hero.network-hero .hero-left {
        flex: 1;
    }
    .hero.network-hero .hero-right {
        flex: 0 0 auto;
        min-width: 300px;
    }
    .hero.network-hero .network-stats {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 991px) {
    .hero.network-hero .hero-content {
        display: block;
        padding: 1rem 1.5rem;
    }
    .hero.network-hero .hero-left {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    .hero.network-hero .hero-right {
        padding-left: 0;
        margin-top: 2rem;
    }
    .hero.network-hero .network-stats {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
}

@media (max-width: 900px) { 
    .services-overview .services-grid { 
        grid-template-columns: repeat(2, 1fr); 
        padding: 0 0.75rem;
    }
    .service-card-enhanced {
        margin: 0 0.6rem;
    }
}

@media (max-width: 768px) {
    .network-hero {
        background-image: url('../IMG/ohone-netzwerk-schopfheim-mobile.jpg');
    }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .causes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .detail-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Mobile Background Images for Detail Boxes */
    .detail-box-enhanced.home-network-mobile {
        background-image: url('../IMG/ohone-netzwerk-verbindung-schopfheim-mobile.jpg');
    }
    
    .detail-box-enhanced.business-network-mobile {
        background-image: url('../IMG/ohone-server-administration-schopfheim-mobile.jpg');
    }
    
    .detail-box-enhanced.wlan-optimization-mobile {
        background-image: url('../IMG/ohone-server-schrank-schopfheim-mobile.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .detail-box-enhanced.telephone-systems-mobile {
        background-image: url('../IMG/ohone-netzwerk-telefonanlagen-schopfheim-mobile.jpg');
    }
    
    .detail-box-enhanced.network-problems-mobile {
        background-image: url('../IMG/ohone-netzwerkverbindung-schopfheim-mobile.jpg');
    }
}

@media (max-width: 600px) { 
    .services-overview .services-grid { 
        grid-template-columns: 1fr; 
        padding: 0 0.5rem;
    }
    .service-card-enhanced {
        margin: 0 0.5rem;
    }
}

/* ===== INLINE STYLE REPLACEMENTS ===== */
/* Hidden elements - replacement for style="display: none;" */
.hidden {
    display: none !important;
}

/* Cookie banner styles - replacement for inline styles */
.cookie-banner-inline {
    display: none;
    position: fixed;
    bottom: 10vh;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 600px;
    background: #1f2937;
    color: white;
    padding: 2rem 1.5rem;
    z-index: 9999;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    border-radius: 18px;
}

.cookie-banner-content-inline {
    max-width: 500px;
    margin: 0 auto;
}

.cookie-banner-text-inline {
    font-size: 1.1rem;
}

.cookie-banner-link-inline {
    color: #60a5fa;
    text-decoration: underline;
}

.cookie-buttons-inline {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.cookie-btn-inline {
    background: #2563eb;
    color: white;
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-btn-decline-inline {
    background: #6b7280;
}

.cookie-btn-customize-inline {
    background: #1e40af;
}

.cookie-customize-inline {
    display: none;
    margin-top: 1.5rem;
    background: #374151;
    padding: 1rem;
    border-radius: 10px;
}

.cookie-customize-label-inline {
    display: block;
    margin-bottom: 0.5rem;
}

.cookie-save-btn-inline {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Modal button margin - replacement for style="margin-top:1.5rem;" */
.modal-button-margin {
    margin-top: 1.5rem !important;
}

/* Hidden field for honeypot */
.hidden-field-inline {
    display: none;
}

/* Cookie overlay styles */
.cookie-overlay-inline {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(31, 41, 55, 0.5);
    z-index: 9998;
}

/* Captcha reload button margin */
.captcha-reload-margin {
    margin-left: 10px !important;
}

/* ===== CONTACT POPUP STYLES ===== */
#contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

#contact-popup.hidden {
    display: none !important;
}

.contact-popup-content {
    background: linear-gradient(135deg, #312e81 0%, #a21caf 100%);
    border-radius: 18px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(49, 46, 129, 0.3);
    border: 1px solid #ffffff;
}

.contact-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-purple), var(--accent-pink), var(--primary-color));
    background-size: 400% 400%;
    animation: gradient-shift 3s ease infinite;
    border-radius: 18px 18px 0 0;
}

.contact-popup-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
}

.popup-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #ffffff;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.contact-popup-body {
    padding: 2rem;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-purple), var(--accent-pink), var(--primary-color));
    background-size: 400% 400%;
    animation: gradient-shift 3s ease infinite;
    box-shadow: 0 4px 24px rgba(49, 46, 129, 0.10);
}

.contact-popup-body .form-group {
    margin-bottom: 1.5rem;
}

.contact-popup-body .form-group label {
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-popup-body .form-group input,
.contact-popup-body .form-group select,
.contact-popup-body .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #000000;
    color: white;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.contact-popup-body .form-group input:focus,
.contact-popup-body .form-group select:focus,
.contact-popup-body .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #000000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.contact-popup-body .form-group input::placeholder,
.contact-popup-body .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-popup-body .captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-popup-body .captcha-group input {
    flex: 1;
}

.contact-popup-body .captcha-group button {
    white-space: nowrap;
}

/* Captcha Math Styling */
.captcha-math {
    font-weight: bold;
    color: #ef4444;
    white-space: pre;
    font-size: 1.1em;
    background: rgba(96, 165, 250, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Contact Popup Captcha Specific Styling */
.contact-popup-body .captcha-math {
    font-weight: bold;
    color: #ef4444;
    white-space: pre;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Form Error Styling with Warning Triangle */
.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.form-error::before {
    content: "⚠️";
    font-size: 1rem;
}

.hidden-field {
    display: none;
}

.captcha-reload-button {
    margin-left: 10px;
}

.contact-popup-body .form-hint {
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.contact-popup-body .white-text {
    color: #ffffff !important;
}

.contact-popup-body .form-intro {
    color: rgba(255, 255, 255, 0.9) !important;
}

.contact-popup-body a {
    color: #3b82f6;
    text-decoration: none;
}

.contact-popup-body a:hover {
    text-decoration: underline;
}

/* Kontaktformular-Popup: Checkbox korrekt positionieren */
#contact-popup .contact-popup-body .form-group label {
    display: block !important;
    position: relative !important;
    padding-left: 25px !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
}

#contact-popup .contact-popup-body .form-group label input[name="datenschutz"] {
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
}

#contact-popup .contact-popup-body .form-group label span,
#contact-popup .contact-popup-body .form-group label a {
    display: inline !important;
    vertical-align: baseline !important;
}

/* Formular-Zeilen für Vorname/Nachname */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-col {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .contact-popup-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .contact-popup-header {
        padding: 1rem 1.5rem;
    }
    
    .contact-popup-body {
        padding: 1.5rem;
    }
    
    .contact-popup-body .captcha-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-popup-body .captcha-group button {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    /* CTA Section Mobile Anpassung */
    .cta-section {
        margin-bottom: -2rem;
    }
}
