:root {
    --primary: #e30613; /* Red */
    --primary-hover: #b0050f;
    --white: #ffffff;
    --light-grey: #f8f9fa;
    --dark-grey: #333333;
    --text: #1a1a1a;
    --text-muted: #666666;
    --secondary: #003366; /* Navy Blue for Individual Plan */
    --border: #eeeeee;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    height: 90px;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    flex: 1;
}

.logo img {
    height: 60px;
    width: auto;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.nav-scrolled {
    height: 75px;
    background: rgba(10, 10, 10, 0.98);
}

nav.nav-scrolled .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    align-items: center;
    justify-content: center;
    flex: 2;
}

.nav-links a {
    font-weight: 400;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    text-transform: none;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--white);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
}

.cta-button {
    background: var(--primary);
    color: var(--white) !important;
    height: 44px;
    padding: 0 30px !important;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: none;
    text-decoration: none !important;
    letter-spacing: 0.02em;
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(227, 6, 19, 0.4);
}

.nav-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    gap: 1.5rem;
}

.hero {
    padding: 220px 0 120px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/hero_v5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: var(--white);
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content-centered {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content-centered h1 {
    color: var(--white);
    font-size: clamp(1.4rem, 6vw, 4rem);
    margin-bottom: 2rem;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-content-centered p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Hero Section Centered (for Subpages - No Background Image) */
.hero-centered {
    padding: 180px 0 100px;
    background: #0a0a0a;
    color: var(--white);
    text-align: center;
}

.hero-centered .container {
    max-width: 900px;
}

.hero-centered h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.hero-centered p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.hero-centered .hero-btns {
    justify-content: center;
}

.hero-btns {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.secondary-button {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
    height: 48px;
    padding: 0 28px !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 150px;
    line-height: 1;
    text-decoration: none !important;
}

.secondary-button-white {
    background: var(--white);
    color: var(--text);
    height: 44px;
    padding: 0 30px !important;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: none;
    text-decoration: none !important;
    letter-spacing: 0.02em;
}

.secondary-button-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.secondary-button:hover {
    background: var(--light-grey);
    border-color: var(--primary);
}

/* Grid Sections */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.services-grid .card {
    flex: 1 1 250px; /* Reduced from 350px to allow 4 in a row */
    max-width: 400px;
}

.card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--light-grey);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid var(--light-grey) !important;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary) !important;
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    border: 2px solid var(--primary) !important;
}

/* Feature Section */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 80px;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    height: 500px;
    background: var(--light-grey);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    flex: 1;
}

/* Contact Section Update */
.contact-section {
    background: var(--white);
    padding: 120px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-text-side h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-text-side p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 450px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.info-block p {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0;
}

.contact-form-side {
    background: #f5f5f7;
    padding: 3rem;
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group-modern {
    margin-bottom: 0;
}

.form-group-modern input, .form-group-modern textarea {
    width: 100%;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    background: var(--white);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
}

.form-group-modern input::placeholder, .form-group-modern textarea::placeholder {
    color: #aaa;
}

.form-group-modern textarea {
    height: 150px;
    resize: none;
}

.full-row {
    grid-column: span 2;
    margin-top: 1.5rem;
}

.submit-btn-modern {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 2rem;
    transition: var(--transition);
}

.submit-btn-modern:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(227, 6, 19, 0.4);
}

/* More Sections Utility */
.section-grey {
    background: var(--light-grey);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    margin-top: 60px;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Footer */
footer {
    padding: 40px 0 20px;
    background: #000000;
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.5fr 1.2fr 1fr;
    align-items: center;
    text-align: left;
    gap: 2.5rem;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    margin-bottom: 0.75rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    max-width: 400px;
}

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
    transition: var(--transition);
    white-space: nowrap;
}

.footer-links a i,
.footer-links a svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.7) !important;
    flex-shrink: 0;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #000;
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.close-menu {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 0.5rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-nav-links a {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links a.cta-button {
    margin-top: 1rem;
    text-align: center;
    border-bottom: none;
    justify-content: center;
}

@media (max-width: 992px) {
    section {
        padding: 4rem 0;
    }

    .nav-container {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .nav-links, .nav-actions .cta-button {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero-centered {
        padding: 100px 0 60px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .hero-btns a {
        width: 100%;
        min-width: 0;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 1.5rem;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .hero-btns a {
        width: 100%;
        padding: 0 20px !important;
        font-size: 0.9rem;
    }

    nav {
        height: 65px;
    }

    .logo img {
        height: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-row {
        flex-direction: column-reverse;
        gap: 3rem;
        margin-bottom: 4rem;
        text-align: center; /* Center the whole block on mobile */
    }

    .feature-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feature-content p {
        max-width: 100%;
    }

    .feature-image {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-content-centered {
        text-align: center;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns a {
        width: 100%;
        text-align: center;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about, .footer-links {
        align-items: center;
        text-align: center;
    }
    
    .footer-links div {
        justify-content: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        justify-content: center;
        max-width: 1000px;
        margin: 0 auto;
    }

    .stat-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }

    .footer-about img {
        margin: 0 auto 1.5rem;
    }

    .footer-links a {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .stat-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .stat-item {
        width: 100%;
        max-width: 280px;
    }

    .services-grid .card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
}
/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1001;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
}

#back-to-top i {
    width: 24px;
    height: 24px;
}
.feature-list-sub {
    list-style: none !important;
    padding: 0 !important;
    margin-top: 1.5rem;
}

.feature-list-sub li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.feature-list-sub li i {
    color: var(--primary);
    flex-shrink: 0;
}
.premium-feature-card {
    background: var(--white);
    border: 1px solid var(--border); /* Changed to neutral by default */
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.premium-feature-card.featured {
    border: 1px solid var(--primary);
}

.feature-item-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item-row {
    display: grid;
    grid-template-columns: 32px 140px 1fr;
    align-items: center;
    gap: 1rem;
}

.feature-item-row i {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.feature-item-row i {
    color: var(--text);
    margin-top: 4px;
}

.feature-item-row strong {
    font-weight: 700;
    color: var(--text);
    font-size: 1.1rem;
}

.feature-item-row p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .feature-item-row {
        grid-template-columns: 40px 1fr;
    }
    .feature-item-row strong {
        grid-column: 2;
    }
    .feature-item-row p {
        grid-column: 2;
    }
}

/* FAQ Color Fix */
.faq-toggle {
    color: var(--text) !important;
}

.faq-toggle span {
    color: var(--text) !important;
}

.faq-toggle:hover span {
    color: var(--primary) !important;
}
/* iPad & Tablet Optimierungen */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-side {
        padding: 2.5rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

/* Marketing Steps Grid (dienstleistungen.html) */
.marketing-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.marketing-step {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.marketing-step:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.marketing-step h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.25rem;
}

.marketing-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .marketing-steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

