/* ==========================================================================
   Nebenkosten-Assistent Main Stylesheet
   Based on Devin Template - Erweitert für Landing Page
   ========================================================================== */

/* Hero Section */
.hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 120px 0 60px 0;
    display: flex;
    align-items: center;
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero:before {
    content: "";
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h2 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.hero h2 span {
    color: var(--accent-color);
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    margin: 10px 0 0 0;
    font-size: 20px;
}

.hero .icon-box {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero .icon-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.hero .icon-box i {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.hero .icon-box h3 {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.hero .btn-get-started {
    color: #fff;
    background: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    transition: 0.3s;
    border: 2px solid transparent;
}

.hero .btn-get-started:hover {
    background: transparent;
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
}

/* Section General */
.section {
    padding: 80px 0;
    overflow: hidden;
}

.section-title {
    text-align: center;
    padding-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.section-title h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.section-title p {
    margin-bottom: 0;
    color: #6c757d;
}

.light-background {
    background-color: #f8f9fa;
}

.dark-background {
    background-color: #1a1a1a;
}

/* Services / How It Works Section */
.service-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-item .img {
    position: relative;
    overflow: hidden;
}

.service-item .img img {
    transition: 0.3s;
}

.service-item:hover .img img {
    transform: scale(1.1);
}

.service-item .details {
    padding: 30px;
}

.service-item .details .icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
}

.service-item .details h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-item .details p {
    color: #6c757d;
    margin-bottom: 20px;
}

.service-item .details .readmore {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.3s;
}

.service-item .details .readmore:hover {
    text-decoration: none;
}

.service-item .details .readmore i {
    margin-left: 5px;
    transition: 0.3s;
}

.service-item .details .readmore:hover i {
    margin-left: 10px;
}

/* Features Section */
.features-item {
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    height: 100%;
}

.features-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.features-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.features-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.features-item p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 14px;
}

/* Pricing Section */
.pricing-item {
    background: #fff;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.pricing-item.featured {
    border: 3px solid var(--accent-color);
    box-shadow: 0 10px 40px rgba(52, 152, 219, 0.2);
}

.pricing-header h3 {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.pricing-header h4 {
    font-size: 42px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-header h4 sup {
    font-size: 24px;
    top: -15px;
}

.pricing-header h4 span {
    color: #6c757d;
    font-size: 16px;
    font-weight: 400;
}

.pricing-item ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    flex-grow: 1;
}

.pricing-item ul li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.pricing-item ul li:last-child {
    border-bottom: none;
}

.pricing-item ul i {
    color: #27ae60;
    font-size: 18px;
    margin-right: 8px;
}

.pricing-item ul .na {
    color: #dee2e6;
}

.pricing-item .buy-btn {
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    color: #fff;
    background: var(--accent-color);
    transition: 0.3s;
    font-weight: 600;
    margin-top: 20px;
}

.pricing-item .buy-btn:hover {
    background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
    transform: scale(1.05);
}

.pricing-item.featured .buy-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
}

/* FAQ Section */
.faq-container .faq-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.faq-container .faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-container .faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    padding-right: 40px;
    margin-bottom: 0;
    color: var(--heading-color);
    transition: 0.3s;
}

.faq-container .faq-item:hover h3 {
    color: var(--accent-color);
}

.faq-container .faq-content {
    display: none;
    padding-top: 15px;
    padding-bottom: 0;
}

.faq-container .faq-active .faq-content {
    display: block;
}

.faq-container .faq-content p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.8;
}

.faq-container .faq-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    line-height: 0;
    transition: 0.3s;
    color: var(--accent-color);
}

.faq-container .faq-active .faq-toggle {
    transform: rotate(90deg);
}

/* Testimonials Section */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-card p {
    color: #495057;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-card h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
}

.testimonial-card small {
    color: #6c757d;
}

/* Call to Action Section */
.call-to-action {
    padding: 120px 0;
    position: relative;
}

.call-to-action img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.call-to-action:before {
    content: "";
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.call-to-action .container {
    position: relative;
    z-index: 3;
}

.call-to-action h3 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.call-to-action p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

.call-to-action .cta-btn {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    transition: 0.3s;
    color: #fff;
    background: var(--accent-color);
    border: 2px solid transparent;
}

.call-to-action .cta-btn:hover {
    background: transparent;
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 30px;
    bottom: 30px;
    z-index: 996;
    background: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.scroll-top:hover {
    background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
    transform: translateY(-3px);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/* Carousel Styling */
.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
}

.carousel-indicators button {
    background-color: var(--accent-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero {
        padding: 100px 0 40px 0;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        padding-bottom: 40px;
    }
    
    .call-to-action {
        padding: 80px 0;
    }
    
    .call-to-action h3 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .pricing-header h4 {
        font-size: 32px;
    }
    
    .testimonial-card {
        margin-bottom: 30px;
    }
}

/* Utility Classes */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.badge {
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Styles for Landing Page */
.trust-badge {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
}

.trust-badge i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.example-screenshot {
    border: 3px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.example-screenshot:hover {
    transform: scale(1.05);
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.comparison-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.comparison-table th {
    background: var(--accent-color);
    color: white;
    padding: 15px;
}

.comparison-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ===================================
   Cookie Consent Banner
   =================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    border-top: 3px solid #0ea2bd;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.cookie-consent h5 {
    color: #1e3a5f;
    margin-bottom: 15px;
    font-weight: 600;
}

.cookie-consent p {
    color: #4a5568;
    line-height: 1.6;
}

.cookie-options {
    margin: 20px 0;
}

.cookie-options .form-check {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.cookie-options .form-check-label {
    cursor: pointer;
    margin-left: 10px;
}

.cookie-options .form-check-label small {
    color: #6c757d;
}

.cookie-buttons button {
    font-weight: 600;
    padding: 10px 20px;
}

.cookie-consent .small a {
    color: #0ea2bd;
    text-decoration: none;
}

.cookie-consent .small a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        padding: 20px;
    }
    
    .cookie-buttons button {
        display: block;
        width: 100%;
        margin: 10px 0 !important;
    }
    
    .cookie-buttons .me-2 {
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .cookie-consent h5 {
        font-size: 1.2rem;
    }
    
    .cookie-consent p {
        font-size: 0.9rem;
    }
}

/* Custom part for Data Privacy */
.datenschutz-section {
    padding: 80px 0 40px 0;
    background: #f8f9fa;
}

.datenschutz-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 40px;
    margin-bottom: 30px;
}

.datenschutz-content h1 {
    color: #1e3a5f;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.datenschutz-content .last-updated {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-style: italic;
}

.datenschutz-content h2 {
    color: #1e3a5f;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0ea2bd;
}

.datenschutz-content h3 {
    color: #2c5282;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.datenschutz-content h4 {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
}

.datenschutz-content p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 15px;
}

.datenschutz-content ul, 
.datenschutz-content ol {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 25px;
}

.datenschutz-content li {
    margin-bottom: 8px;
}

.datenschutz-content strong {
    color: #2d3748;
    font-weight: 600;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #0ea2bd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.info-box strong {
    color: #1e3a5f;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.warning-box strong {
    color: #856404;
}

.contact-box {
    background: #d4edda;
    border-left: 4px solid #28a745;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.table-responsive {
    margin: 20px 0;
}

.table-datenschutz {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
}

.table-datenschutz th {
    background: #0ea2bd;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.table-datenschutz td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.table-datenschutz tr:hover {
    background: #f7fafc;
}

.toc {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 25px;
    margin-bottom: 40px;
}

.toc h3 {
    color: #1e3a5f;
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.toc ul {
    list-style: none;
    padding-left: 0;
}

.toc ul li {
    margin-bottom: 8px;
}

.toc ul li a {
    color: #0ea2bd;
    text-decoration: none;
    transition: color 0.3s;
}

.toc ul li a:hover {
    color: #1e3a5f;
    text-decoration: underline;
}

.back-to-top-link {
    color: #0ea2bd;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

.back-to-top-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .datenschutz-content {
        padding: 25px 20px;
    }
    
    .datenschutz-content h1 {
        font-size: 2rem;
    }
    
    .datenschutz-content h2 {
        font-size: 1.5rem;
    }
}

/* AGB section */
.agb-section {
    padding: 80px 0 40px 0;
    background: #f8f9fa;
}

.agb-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 40px;
    margin-bottom: 30px;
}

.agb-content h1 {
    color: #1e3a5f;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.agb-content .last-updated {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-style: italic;
}

.agb-content h2 {
    color: #1e3a5f;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0ea2bd;
}

.agb-content h3 {
    color: #2c5282;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.agb-content h4 {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
}

.agb-content p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 15px;
}

.agb-content ul, 
.agb-content ol {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 25px;
}

.agb-content li {
    margin-bottom: 8px;
}

.agb-content strong {
    color: #2d3748;
    font-weight: 600;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #0ea2bd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.info-box strong {
    color: #1e3a5f;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.warning-box strong {
    color: #856404;
}

.important-box {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.important-box strong {
    color: #721c24;
}

.contact-box {
    background: #d4edda;
    border-left: 4px solid #28a745;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.toc {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 25px;
    margin-bottom: 40px;
}

.toc h3 {
    color: #1e3a5f;
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.toc ul {
    list-style: none;
    padding-left: 0;
}

.toc ul li {
    margin-bottom: 8px;
}

.toc ul li a {
    color: #0ea2bd;
    text-decoration: none;
    transition: color 0.3s;
}

.toc ul li a:hover {
    color: #1e3a5f;
    text-decoration: underline;
}

.back-to-top-link {
    color: #0ea2bd;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

.back-to-top-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .agb-content {
        padding: 25px 20px;
    }
    
    .agb-content h1 {
        font-size: 2rem;
    }
    
    .agb-content h2 {
        font-size: 1.5rem;
    }
}