/* Farbvariablen */
:root {
    --color-primary: #1F3A56;    /* Dunkelstes Blau */
    --color-secondary: #2E4C6D;  /* Mittleres Blau */
    --color-hover: #17324d;      /* Hover‑Blau */
    --color-light: #f0f0f0;      /* Helles Grau für Text/Icons */
    --color-bg: #fff;            /* Seitenhintergrund */
    --color-muted: #555;         /* Sekundärer Text */
    --color-border: #eaeaea;     /* leichte Rahmen */
}

/* Basis-Stile */
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text, #333);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: var(--color-primary);
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff !important;
}
.navbar-toggler { border: none; }
.navbar-toggler-icon::before {
    content: "\f0c9"; /* FontAwesome Bars */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    font-size: 1.2rem;
}
.nav-link {
    color: var(--color-light) !important;
    font-weight: 300;
    margin-right: 1rem;
}
.nav-link:hover {
    color: #d0d0d0 !important;
}

/* CTA-Button */
.btn-cta {
    background-color: var(--color-secondary);
    color: #fff;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--color-secondary);
    font-weight: 400;
    transition: background-color 0.3s, border-color 0.3s;
}
.btn-cta:hover {
    background-color: var(--color-hover);
    border-color: var(--color-hover);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(31,58,86, 0.6);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-content img {
    max-width: 300px;
    width: 100%;
    height: auto;
}
.hero h1 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin: 0 auto 2rem;
    max-width: 700px;
    color: var(--color-light);
}

/* Allgemeine Abschnitte */
section { padding: 60px 0; }
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.3rem;
    font-weight: 300;
    color: var(--color-primary);
}

/* Modul-Karten */
.module-card {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--color-bg);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
}
.module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.module-card img {
    width: 100%;
    height: auto;
}
.module-card .card-body {
    padding: 1.5rem;
}
.module-card h4.card-title {
    color: var(--color-primary);
    font-weight: 400;
}

/* Modul-Feature-Liste */
.module-features {
    max-width: 18rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: left;
}
.module-features li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--color-muted);
    line-height: 1.4;
}
.module-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--color-secondary);
    border-radius: 50%;
}

/* Module‑Section auf die neuen Farb‑Variablen umstellen */
#modules .section-title {
    color: var(--color-primary);         /* Titel in Dunkelblau */
}

#modules .module-card h4.card-title {
    color: var(--color-primary);         /* Modulüberschrift auch Dunkelblau */
}

#modules .module-features li {
    color: var(--color-muted);           /* Listen‑Text in Grauton */
}

#modules .module-features li::before {
    background-color: var(--color-secondary);  /* Bullet in Mittlerem Blau */
}

/* Sonstige Komponenten */
.btn-outline-primary {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}
.btn-outline-primary:hover {
    background-color: var(--color-secondary);
    color: #fff;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(100%);
}
#software-preview,
.pricing-table { background: #f7f7f7; }
.pricing-table {
    padding: 30px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
}
.pricing-table h3 {
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--color-primary);
}
.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}
.pricing-table th,
.pricing-table td {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.pricing-table thead th {
    background-color: #efefef;
    font-weight: 400;
}
.step .badge {
    font-size: 1rem;
    margin-right: 15px;
    background-color: var(--color-secondary);
}
.accordion .card {
    border: none;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
}
.accordion .card-header {
    background: #f8f8f8;
    padding: 0;
}
.accordion .btn-link {
    width: 100%;
    text-align: left;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 300;
    color: #333;
    text-decoration: none;
}
.accordion .btn-link:hover {
    background-color: #f0f0f0;
    color: var(--color-primary);
}

/* Dark‑Mode Footer */
.footer-dark {
    background-color: #1F2732;
    color: #bbb;
    padding: 40px 0;
    font-size: 0.95rem;
}
.footer-dark h5 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-weight: 400;
}
.footer-dark p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.footer-dark .footer-link {
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-dark .footer-link:hover {
    color: #fff;
}
.footer-dark hr {
    margin: 1.5rem 0;
    border-color: #444;
}
.footer-dark small {
    color: #777;
}
.social-link {
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s;
}
.social-link:hover {
    color: #fff;
}



#testimonial .section-title {
    color: #1F3A56;
    margin-bottom: 40px;
}
#testimonial .card {
    background: #fff;
    border-radius: 6px;
}
#testimonial p {
    line-height: 1.6;
}

/* Angebote Section Styles */
#angebote .section-title,
#angebote .subtitle {
    color: #fff;
}

/* Countdown-Items */
.countdown-wrapper {
    gap: 1rem;
}
.countdown-item {
    background: #fff;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    min-width: 70px;
}
.countdown-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1F3A56;
}
.countdown-label {
    font-size: 0.85rem;
    color: #555;
    margin-top: 0.25rem;
}

/* Pricing Cards */
#angebote .card {
    border: 1px solid #eaeaea;
    border-radius: 6px;
}


#value-props i {
    transition: transform 0.3s;
}
#value-props i:hover {
    transform: scale(1.1);
}
#value-props h5 {
    font-weight: 400;
}
#value-props p {
    line-height: 1.5;
}


.sticky-cta-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: rgba(31,58,86,0.9);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.sticky-cta-bar .btn-cta {
    font-size: 1rem;
    padding: 0.6rem 1.6rem;
}
@media (min-width: 768px) {
    .sticky-cta-bar { bottom: 40px; }
}
@media (max-width: 576px) {
    .sticky-cta-bar .btn-cta { width: 100%; padding: 0.75rem; }
}


#lead-capture .card {
    border-radius: 8px;
}
#lead-capture label {
    font-weight: 500;
    color: #333;
}
#lead-capture .form-control {
    border-radius: 4px;
}
#lead-capture .btn-cta {
    width: 100%;
}
.badge-step {
    background-color: #2E4C6D;
    color: #fff;
    font-size: .9rem;
    width: 1.8rem; height: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}
/* Padding & Höhenanpassung */
#testzugang .card-body {
    padding: 1rem;
}
/* Input-Höhe vereinheitlichen */
#leadForm .form-control {
    height: calc(1.5em + .75rem + 2px);
}

/* Testzugang & Kontakt: hellgrauer Hintergrund */
#testzugang {
    background-color: #f7f7f7 !important;
}

/* FAQ: weißer Hintergrund mit mehr Padding */
#faq {
    background-color: #ffffff !important;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Überschrift FAQ etwas dunkler */
#faq .section-title {
    color: #17324d;
}

/* Testimonial hellgrau absetzen */
#testimonial {
    background-color: #f7f7f7;
    padding: 60px 0;
}

/* Software‑Vorschau in Weiß */
#software-preview {
    background-color: #ffffff;
    padding: 60px 0;
}

html {
    scroll-padding-top: 70px; /* Höhe der Navbar + etwas Puffer */
    scroll-behavior: smooth;  /* bleibt erhalten */
}

section[id] {
    scroll-margin-top: 70px; /* oder die exakte Höhe deiner Navbar */
}

/* App‑Section hervorheben */
#app {
    background-color: var(--color-secondary); /* mittleres Blau */
    color: #fff;
    padding: 60px 0;
}

#app .section-title,
#app p {
    color: #fff;
}

#app img {
    /* ggf. weißen Rahmen um die Badges */
    border: 1px solid rgba(255,255,255,0.3);
}

@media (max-width: 767px) {
    #app {
        text-align: center;
    }
}
