/* ===== SHR ELECTRONIC - MODERN GERMAN WEBSITE ===== */

/* CSS Variables */
:root {
    --primary: #1e3a5f;
    --primary-light: #2d5a87;
    --primary-dark: #0f1f33;
    --accent: #e63946;
    --accent-light: #ff4d5a;
    --gold: #d4a84b;
    --text: #1a1a2e;
    --text-light: #4a4a68;
    --text-muted: #8888a0;
    --bg: #ffffff;
    --bg-light: #f8f9fc;
    --bg-dark: #0f1f33;
    --border: #e8eaf0;
    --shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
    --shadow-lg: 0 20px 60px rgba(30, 58, 95, 0.15);
    --radius: 12px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 9999;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* Language Switcher */
.language-switcher {
    background: var(--primary-dark);
    padding: 8px 0;
    text-align: center;
    font-size: 13px;
}
.language-switcher a, .language-switcher span {
    color: rgba(255,255,255,0.7);
    margin: 0 8px;
    transition: color var(--transition);
}
.language-switcher a:hover, .language-switcher span.active {
    color: white;
}

/* Header */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.98);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo img { height: 44px; width: auto; }

.main-nav ul { display: flex; gap: 36px; }
.main-nav a {
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition);
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}
.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
}
.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.header-cta .btn {
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}
.btn-primary {
    background: var(--accent);
    color: white;
}
.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 800px;
}
.hero h1 span { color: var(--gold); }
.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero .btn-primary {
    background: var(--gold);
    color: var(--primary-dark);
}
.hero .btn-primary:hover {
    background: #e8b85a;
    box-shadow: 0 8px 20px rgba(212, 168, 75, 0.4);
}
.hero .btn-outline {
    border-color: white;
    color: white;
}
.hero .btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* Stats Section */
.stats-section {
    background: var(--bg-light);
    padding: 60px 0;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    background: white;
    padding: 50px 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styles */
section { padding: 100px 0; }
section h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary-dark);
}
.section-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Product Cards */
.products-section { background: var(--bg-light); }
.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-card-image {
    height: 220px;
    background: linear-gradient(135deg, #f8f9fc 0%, #e8eaf0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.product-card-image img {
    max-height: 160px;
    object-fit: contain;
}
.product-card-content {
    padding: 28px;
}
.product-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
}
.product-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}
.product-card ul {
    margin-bottom: 24px;
}
.product-card li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.product-card li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

/* Industries Grid */
.industries-section { background: var(--primary-dark); color: white; }
.industries-section h2 { color: white; }
.industries-section .section-intro { color: rgba(255,255,255,0.7); }
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.industry-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}
.industry-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}
.industry-icon {
    font-size: 40px;
    margin-bottom: 16px;
}
.industry-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.industry-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* Why Us Section */
.why-us { background: var(--bg-light); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-card {
    background: white;
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-dark);
}
.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #c62828 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}
.cta-section h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-section .btn-primary {
    background: white;
    color: var(--accent);
}
.cta-section .btn-outline {
    border-color: white;
    color: white;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--bg-light);
    padding: 16px 0;
    font-size: 14px;
}
.breadcrumb ol {
    display: flex;
    gap: 8px;
    align-items: center;
}
.breadcrumb li::after {
    content: '›';
    margin-left: 8px;
    color: var(--text-muted);
}
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li[aria-current] { color: var(--text); font-weight: 500; }

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 60px 0 80px;
}
.page-header h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
}
.page-header p {
    font-size: 18px;
    opacity: 0.85;
}

/* Quick Nav */
.quick-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 40px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
}
.quick-nav a {
    padding: 12px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    transition: all var(--transition);
}
.quick-nav a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Product Section */
.product-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 50px;
    margin: 40px 0;
    box-shadow: var(--shadow);
}
.product-section h2 {
    text-align: left;
    font-size: 32px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}
.product-section h3 {
    font-size: 22px;
    margin: 40px 0 20px;
    color: var(--primary);
}

/* Product Gallery */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 30px 0;
}
.product-figure {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid transparent;
}
.product-figure:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.product-figure img {
    height: 140px;
    object-fit: contain;
    margin-bottom: 12px;
}
.product-figure figcaption {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

/* Model Table */
.model-table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.model-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.model-table th {
    background: var(--primary);
    color: white;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}
.model-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}
.model-table tr:hover { background: var(--bg-light); }
.model-table tr:last-child td { border-bottom: none; }
.pdf-link {
    display: inline-block;
    padding: 6px 12px;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all var(--transition);
}
.pdf-link:hover {
    background: #bbdefb;
}

/* Product Highlights */
.product-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8eaf0 100%);
    border-radius: var(--radius);
}
.highlight-item {
    text-align: center;
    padding: 20px;
}
.highlight-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}
.highlight-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Actions */
.product-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* About Page Styles */
.about-hero, .contact-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.about-hero h1, .contact-hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.about-story { background: var(--bg-light); }
.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}
.story-text { font-size: 17px; line-height: 1.9; }
.story-text p { margin-bottom: 24px; }
.story-highlights { display: flex; flex-direction: column; gap: 20px; }
.highlight-box {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}
.highlight-box h3 { font-size: 16px; margin-bottom: 8px; color: var(--primary); }
.highlight-box p { font-size: 14px; color: var(--text-light); margin: 0; }

/* Competencies */
.competency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.competency-item {
    background: white;
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.competency-icon { font-size: 48px; margin-bottom: 20px; }
.competency-item h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 16px;
}
.competency-item p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}
.competency-item ul { font-size: 14px; }
.competency-item li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.competency-item li:last-child { border-bottom: none; }
.competency-item li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}
.contact-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.contact-icon { font-size: 48px; margin-bottom: 20px; }
.contact-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 12px;
}
.contact-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}
.contact-link {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all var(--transition);
}
.contact-link:hover {
    background: var(--primary-light);
}
.response-time {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}
.footer-col p, .footer-col address {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    font-style: normal;
}
.footer-col ul { font-size: 14px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.footer-col a:hover { color: white; }
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 42px; }
    .stats-grid { padding: 40px; }
    .stat-number { font-size: 36px; }
    .story-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .site-header .container { flex-wrap: wrap; height: auto; padding: 16px 24px; }
    .main-nav { order: 3; width: 100%; margin-top: 16px; }
    .main-nav ul { gap: 20px; flex-wrap: wrap; justify-content: center; }
    .header-cta { display: none; }
    
    .hero { padding: 60px 0 80px; }
    .hero h1 { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    
    section { padding: 60px 0; }
    section h2 { font-size: 28px; }
    
    .stats-grid { padding: 30px; gap: 30px; }
    .stat-number { font-size: 28px; }
    
    .product-section { padding: 30px; margin: 20px 0; }
    .product-section h2 { font-size: 24px; }
    
    .product-gallery { grid-template-columns: repeat(2, 1fr); }
    
    .page-header h1 { font-size: 32px; }
    
    .quick-nav a { padding: 10px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
    .product-gallery { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
}

/* Print */
@media print {
    .site-header, .site-footer, .language-switcher, .quick-nav, .cta-section { display: none; }
    .product-section { page-break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
}