/*
Theme Name: SBS-Sicherheit Theme
Theme URI: https://sbs-sicherheit.ch
Description: Modernes WordPress Theme für SBS-Sicherheit GmbH mit rot-schwarzem Farbschema
Version: 1.0.0
Author: SBS-Sicherheit
Author URI: https://sbs-sicherheit.ch
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sbs-sicherheit
Tags: security, business, red, modern, responsive
*/

/* ============================================
   SBS-Sicherheit - WordPress Theme
   Rot-Schwarzes Farbschema
   ============================================ */

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

:root {
    /* Original SBS Farben */
    --primary-red: #f2382c;
    --dark-red: #dc2618;
    --dark-gray: #25272d;
    --medium-gray: #565a61;
    --light-bg: #f7f7f8;
    --light-card: #ffffff;
    --light-border: #dedee3;
    --accent-blue: #bfd1ff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #f2382c 0%, #dc2618 100%);
    --gradient-dark: linear-gradient(135deg, #25272d 0%, #1a1c21 100%);

    /* Shadows */
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 10px 15px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--light-card);
}

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(242, 56, 44, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 56, 44, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-logo a {
    text-decoration: none;
}

.site-logo h1 {
    font-size: 26px;
    color: var(--primary-red);
    font-weight: 700;
}

.site-logo span {
    color: var(--dark-gray);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
}

.main-nav a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-red);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(242, 56, 44, 0.05) 0%, rgba(37, 39, 45, 0.05) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(242, 56, 44, 0.1);
    border: 1px solid var(--primary-red);
    border-radius: 30px;
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--medium-gray);
}

.check-icon {
    color: var(--primary-red);
    font-weight: bold;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-card {
    background: var(--light-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-medium);
}

.stats-grid-hero {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-hero {
    text-align: center;
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--medium-gray);
    font-size: 14px;
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(242, 56, 44, 0.1);
    border: 1px solid var(--primary-red);
    border-radius: 20px;
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-card);
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--light-border);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-red);
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.service-desc {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--medium-gray);
    font-size: 15px;
}

.service-features span {
    color: var(--primary-red);
    font-weight: bold;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-weight: 600;
}

.arrow {
    transition: transform 0.3s ease;
}

.service-card:hover .arrow {
    transform: translateX(5px);
}

/* Why Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background: var(--light-card);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--light-border);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.why-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* CTA Section */
.cta-card {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 80px 60px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-large);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cta-actions .btn-primary {
    background: white;
    color: var(--primary-red);
}

.cta-actions .btn-primary:hover {
    background: var(--light-bg);
}

.cta-actions .btn-outline {
    border-color: white;
    color: white;
}

.cta-actions .btn-outline:hover {
    background: white;
    color: var(--primary-red);
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item a {
    color: white;
    text-decoration: none;
}

/* Footer */
.site-footer {
    background: var(--dark-gray);
    color: white;
    padding: 60px 0 30px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo-img {
    max-width: 250px;
    height: auto;
    transition: opacity 0.3s ease;
}

.footer-logo a:hover .footer-logo-img {
    opacity: 0.8;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    line-height: 1.8;
    opacity: 0.9;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-red);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content,
    .stats-grid-hero {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .hero-section {
        padding-top: 80px;
        min-height: auto;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-card {
        padding: 50px 30px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
