/* RADIAMON CSS - Consolidated from industrielle_und_gewerbliche_hellstrahler.css and radiamon.css */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&display=swap');

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

:root {
    --primary-orange: #ff6b35;
    --primary-blue: #1e3a8a;
    --accent-yellow: #fbbf24;
    --dark-blue: #0f172a;
    --light-gray: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --red: #dc2626;
    --green: #16a34a;
    --touch-target: 44px;
    
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
    --spacing-xxl: 60px;
    --spacing-section: 80px;
    
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-full: 50px;
    
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 15px 40px rgba(0,0,0,0.2);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Scroll-Reveal Animationen */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Alert Banner Animation */
.alert-banner-animate {
    transform: scale(0.8) translateY(30px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.alert-banner-animate.revealed {
    transform: scale(1) translateY(0);
}

/* Page Title - wie bei Pakole-Serien */
.page-title {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 160px 0 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
}

.page-title h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.page-title p {
    font-size: 1.4rem;
    opacity: 1;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 50%, var(--primary-orange) 100%);
    padding: 150px 0 80px 0;
    min-height: 40vh;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: var(--spacing-md);
    opacity: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.7s forwards;
    opacity: 0;
}

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

/* Products Section - FIXED VERSION */
.products {
    padding: var(--spacing-section) 0;
    background: var(--light-gray);
    position: relative;
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-title {
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xxl);
    position: relative;
    letter-spacing: -0.02em;
}

.products-intro {
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-xxl);
    position: relative;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-yellow));
}

.products-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl) auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* FIXED: Improved grid layout for consistent card heights */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    align-items: stretch; /* This ensures all cards have the same height */
}

/* FIXED: Enhanced product card with consistent height */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures all cards take full height */
    min-height: 600px; /* FIXED: Minimum height for consistency */
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-yellow));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.product-card img {
    width: 100%;
    height: 220px; /* Fixed height for all images */
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

/* FIXED: Improved content layout with flex-grow */
.product-content {
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-xl) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* This makes the content area expand to fill available space */
    justify-content: space-between; /* Distributes content evenly */
}

.product-content h3 {
    color: var(--primary-blue);
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
}

.product-content h4 {
    color: var(--primary-orange);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.product-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

/* FIXED: Improved features list with consistent spacing */
.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
    flex-grow: 1; /* This allows the features list to expand */
}

.product-features li {
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.product-features li::before {
    content: '•';
    color: var(--primary-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* FIXED: Button positioning */
.product-btn {
    color: var(--primary-blue) !important;
    font-weight: bold;
    text-decoration: none !important;
    transition: color 0.2s;
    display: inline-block;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: auto; /* This pushes the button to the bottom */
    align-self: flex-start; /* Aligns button to the left */
}

.product-btn:hover,
.product-btn:focus {
    color: var(--primary-orange) !important;
    transform: none !important;
    box-shadow: none !important;
}

.product-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Alert Banner - auffällig */
.alert-banner {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: var(--white);
    padding: 30px;
    margin: 40px auto;
    border-radius: 15px;
    text-align: center;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.alert-banner h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.alert-banner p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Main Content */
.main-content {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Section Header - wie bei Pakole */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-yellow));
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Product Series Section */
.product-series {
    margin-bottom: 100px;
}

/* Info Grid - 2 Spalten */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: stretch;
}

.info-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-yellow));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.info-card h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.info-card p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* RADIAMON Image - gleiche Höhe wie rechte Boxen */
.radiamon-image {
    width: 100%;
    height: 470px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: var(--white);
    padding: 20px;
}

/* Tech Specs Table - wie bei anderen Produktseiten */
.tech-specs {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.tech-specs-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 25px 30px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.spec-item {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    border-right: 1px solid var(--border-color, #e2e8f0);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-item:nth-child(even) {
    border-right: none;
}

.spec-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
}

.spec-value {
    color: var(--primary-orange);
    font-weight: 600;
}

.status-discontinued {
    color: #dc2626;
    font-weight: 700;
}

/* Alternative Products - wie Pakole Cards */
.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.alternative-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.alternative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-yellow));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.alternative-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.alternative-info {
    padding: 30px;
}

.alternative-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.alternative-info p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.efficiency-badge {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-yellow));
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
}

/* Energy Certificate - wie bei Pakole */
.energy-certificate {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border: 2px solid var(--success-color, #22c55e);
    border-radius: 15px;
    padding: 40px;
    margin: 60px auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    max-width: 1000px;
}

.energy-certificate h3 {
    color: #2e7d32;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.energy-certificate p {
    color: #1b5e20;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Features Section - wie bei Pakole */
.features-section {
    background: var(--white);
    padding: 60px 40px;
    margin: 60px auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 1400px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.feature-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Unified Specs Box - für einheitliche Höhe mit Bild */
.unified-specs-box {
    display: flex;
    flex-direction: column;
    height: 470px; /* Gleiche Höhe wie radiamon-image */
}

.unified-specs-box .tech-specs {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.unified-specs-box .specs-grid {
    flex-grow: 1;
}

/* Download Section */
.download-section {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    margin-top: 20px;
}

.download-section h3 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.download-section p {
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.6;
}

.download-button {
    background: #dc2626;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.download-button:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .alternatives-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .info-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .page-title h1 {
        font-size: 2.5rem;
    }
    
    .page-title p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .radiamon-image {
        height: auto;
        max-width: 100%;
    }
    
    .download-section {
        margin-top: 15px;
        padding: 25px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-item {
        border-right: none;
    }
    
    .features-section {
        margin: 40px -20px;
        padding: 40px 20px;
    }
}

/* Harmonized social icon visibility */
.social-icons img,
.social-icons svg,
.adress_footer .social-icons img,
.adress_footer .social-icons svg,
#adress_footer .social-icons img,
#adress_footer .social-icons svg {
  filter: none !important;
  opacity: 1 !important;
}
