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

body {
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Bootstrap Override Rules */
.navbar-nav {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.nav-item {
    margin-bottom: 0 !important;
}

/* Remove list markers from navbar and footer */
.navbar-nav,
.navbar-nav li,
.footer-links,
.footer-links li {
    list-style: none !important;
    list-style-type: none !important;
}

.navbar-nav::before,
.navbar-nav::after,
.navbar-nav li::before,
.navbar-nav li::after,
.footer-links::before,
.footer-links::after,
.footer-links li::before,
.footer-links li::after {
    display: none !important;
    content: none !important;
}

/* Headers */
h1 {
    font-size: 42px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
    color: #333 !important;
}

h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    margin-top: 50px !important;
    margin-bottom: 25px !important;
    line-height: 1.3 !important;
    color: #333 !important;
}

h3 {
    font-size: 26px !important;
    font-weight: 600 !important;
    margin-top: 30px !important;
    margin-bottom: 18px !important;
    line-height: 1.4 !important;
    color: #333 !important;
}

p {
    font-size: 18px;
    margin-bottom: 16px;
    line-height: 1.7;
}

strong {
    font-weight: 600;
    color: #ff6b9d;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
    color: #ff6b9d !important;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

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

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-nav .nav-link:hover {
    color: #ff6b9d !important;
    background-color: rgba(255, 107, 157, 0.1);
    border-radius: 8px;
}

/* Hero Section */
.hero-section {
    background-image: url('wie-funktionieren-cashback-angebote_6407188480.jpg');
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: relative !important;
    padding: 80px 20px !important;
}

.hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(255, 255, 255, 0.92) !important;
}

.hero-content {
    position: relative !important;
    z-index: 1 !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.hero-section h1 {
    color: #333 !important;
    font-size: 48px !important;
    margin-bottom: 25px !important;
    font-weight: 700 !important;
}

.hero-section p {
    font-size: 20px !important;
    color: #555 !important;
    margin-bottom: 20px !important;
    line-height: 1.7 !important;
}

.hero-btn {
    display: inline-block !important;
    background-color: #ff6b9d !important;
    color: #fff !important;
    padding: 16px 40px !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    white-space: nowrap !important;
    margin-top: 20px !important;
}

.hero-btn:hover {
    background-color: #40e0d0 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(64, 224, 208, 0.4) !important;
}

/* Table of Contents */
.toc-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.toc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.toc-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border: 2px solid #ff6b9d;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.toc-btn:hover {
    background-color: #ff6b9d;
    color: #fff;
    transform: translateY(-2px);
}

/* Section Styling */
section {
    padding: 60px 0;
}

.section-light {
    background-color: #fff;
}

.section-gray {
    background-color: #f8f9fa;
}

/* Content Lists */
ul, ol {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

ul li, ol li {
    padding-left: 35px;
    margin-bottom: 12px;
    position: relative;
    font-size: 18px;
    line-height: 1.7;
}

ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #40e0d0;
    font-size: 22px;
    font-weight: 700;
}

ol {
    counter-reset: list-counter;
}

ol li::before {
    counter-increment: list-counter;
    content: counter(list-counter) '.';
    position: absolute;
    left: 0;
    color: #40e0d0;
    font-weight: 700;
    font-size: 20px;
}

/* Reset list markers */
ul li::marker,
ol li::marker {
    display: none;
    content: '';
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

picture {
    display: block;
    text-align: center;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 18px;
}

thead {
    background-color: #ff6b9d;
    color: #fff;
}

thead th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 18px;
}

tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

tbody tr:hover {
    background-color: rgba(255, 107, 157, 0.05);
}

tbody td {
    padding: 16px;
    font-size: 18px;
}

/* Cards */
.card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Conversion Buttons */
.conversion-btn {
    display: inline-block !important;
    background-color: #ff6b9d !important;
    color: #fff !important;
    padding: 16px 40px !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    white-space: nowrap !important;
    text-align: center !important;
    margin: 30px auto !important;
    display: block !important;
    width: fit-content !important;
}

.conversion-btn:hover {
    background-color: #40e0d0 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(64, 224, 208, 0.4) !important;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 0 30px;
    margin-top: 60px;
}

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

.footer-section h4 {
    color: #fff !important;
    font-size: 20px !important;
    margin-bottom: 20px !important;
    font-weight: 600 !important;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li::before {
    display: none !important;
    content: none !important;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.footer-links a:hover {
    color: #40e0d0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #ecf0f1 !important;
    font-size: 16px;
    margin: 0;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 32px !important;
    }

    h2 {
        font-size: 28px !important;
    }

    h3 {
        font-size: 22px !important;
    }

    .hero-section h1 {
        font-size: 36px !important;
    }

    .hero-section {
        padding: 60px 20px !important;
    }

    .navbar-brand {
        font-size: 22px;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .toc-buttons {
        flex-direction: column;
        align-items: stretch;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 16px;
    }

    p, ul li, ol li, tbody td, thead th {
        font-size: 16px;
    }

    h1 {
        font-size: 28px !important;
    }

    h2 {
        font-size: 24px !important;
    }

    h3 {
        font-size: 20px !important;
    }

    .hero-section h1 {
        font-size: 30px !important;
    }

    .hero-section p {
        font-size: 17px !important;
    }
}

/* Icon styles */
.material-icons {
    color: #ff6b9d;
    vertical-align: middle;
    margin-right: 8px;
}

.icon-turquoise {
    color: #40e0d0;
}
