/**
 * Hauptstilsheet für die HV-Vergleich Website
 */

/* Allgemeine Stile */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    text-decoration: none;
    color: var(--bs-primary);
}

.btn {
    border-radius: 0.25rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Header und Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero-Bereich */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-section img {
    border-radius: 0.5rem;
    /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);*/
    transition: transform 0.3s ease;
}

.hero-section img:hover {
    transform: translateY(-10px);
}

/* Vorteile-Bereich */
.feature-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* So funktioniert es */
.step-circle {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Für wen ist unser Service */
.service-card {
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* Schnellanfrage */
.quick-request-form {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    padding: 2rem;
}

/* FAQ-Bereich */
.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 3rem;
}

/* Formular-Stile */
.form-control {
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Card-Stile */
.card {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    padding: 1rem 1.5rem;
}

/* Responsive Anpassungen */
@media (max-width: 992px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .btn {
        margin-bottom: 0.5rem;
    }
    
    .feature-icon, .step-circle {
        margin-left: auto;
        margin-right: auto;
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Zusätzliche Utility-Klassen */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.rounded {
    border-radius: 0.5rem;
}

.rounded-circle {
    border-radius: 50%;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.fs-large {
    font-size: 1.25rem !important;
}

.fs-small {
    font-size: 0.875rem !important;
}

/* Spezielle Stile für die Anfrage-Seite */
.request-steps {
    position: relative;
    counter-reset: step;
}

.request-step {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
    counter-increment: step;
}

.request-step::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.request-step::after {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 2.5rem;
    width: 2px;
    height: calc(100% - 2.5rem);
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.request-step:last-child::after {
    display: none;
}

/* Stile für die Bewertungssterne */
.rating {
    color: var(--warning-color);
}

.rating .fas {
    margin-right: 2px;
}

/* Stile für Badges */
.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    border-radius: 0.25rem;
}

/* Stile für Alerts */
.alert {
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-primary {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
    color: var(--primary-color);
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: var(--success-color);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
    color: #664d03;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: var(--danger-color);
}

/* Stile für Tooltips */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    border-radius: 0.25rem;
    padding: 0.5rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Header */
header {
    background-color: #0d6efd !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

header .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

header .navbar-nav .nav-link:hover {
    color: #fff !important;
}

/* Hauptinhalt */
.container {
    max-width: 1200px;
    padding: 0 15px;
}

.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-header {
    background-color: #0d6efd;
    color: white;
    border-radius: 8px 8px 0 0 !important;
    padding: 15px 20px;
}

.card-body {
    padding: 20px;
}

/* Buttons */
.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    padding: 8px 20px;
    font-weight: 500;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Formular */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Schrittanzeige */
.step-circle.active {
    background-color: #0d6efd;
    color: white;
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    padding: 40px 0 20px;
}

footer h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

footer .list-inline-item {
    margin-right: 15px;
}

/* Cookie-Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px 0;
    z-index: 1000;
    display: none;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    header .navbar-brand span {
        display: none;
    }
    
    .step-circle {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
}

/* Anpassungen für den Screenshot */
header {
    padding: 10px 0;
}

header .navbar-brand {
    display: flex;
    align-items: center;
}

header .navbar-brand img {
    border: 1px solid white;
    padding: 5px;
}

.navbar-nav {
    margin-left: auto;
}

.card {
    margin-bottom: 30px;
}

.card-title {
    font-weight: 600;
}

.list-group-item {
    border: none;
    padding: 10px 0;
}

.list-group-item i {
    color: #28a745;
}

/* Startseite spezifische Stile */
.col-md-4 .card {
    transition: transform 0.3s;
}

.col-md-4 .card:hover {
    transform: translateY(-5px);
}

.fa-3x {
    margin-bottom: 15px;
}

ol li {
    margin-bottom: 10px;
}

/* Schnellanfrage-Formular */
.card-header h3 {
    margin-bottom: 0;
}

/* Vorteile-Liste */
.list-group-flush .list-group-item {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.list-group-flush .list-group-item:last-child {
    border-bottom: none;
}

/* Header und Navigation - Verbesserte Sichtbarkeit */
header .navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .navbar-nav .nav-link {
    color: #0d6efd !important; /* Primärfarbe für Links */
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #0d6efd;
    transition: all 0.3s ease;
}

header .navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

header .navbar-nav .nav-link.active {
    color: #0d6efd !important;
    font-weight: 700;
}

header .navbar-nav .nav-link.active::after {
    width: 100%;
    left: 0;
}

header .navbar-nav .btn-primary {
    color: white !important;
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 0.5rem 1rem;
    margin-left: 10px;
}

header .navbar-nav .btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

/* Dropdown-Menü */
header .dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
}

header .dropdown-item {
    color: #0d6efd;
    transition: all 0.3s ease;
}

header .dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0b5ed7;
}

header .dropdown-item i {
    margin-right: 10px;
    color: #6c757d;
}

/* Responsive Anpassungen */
@media (max-width: 991px) {
    header .navbar-nav .nav-link {
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    header .navbar-nav .btn-primary {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

/* Globale Link-Styles */
a {
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    text-decoration: none;
    color: var(--bs-primary);
}

/* Navbar-spezifische Link-Styles */
.navbar-nav .nav-link {
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover {
    text-decoration: none;
    color: var(--bs-primary);
}

/* Dropdown-Link-Styles */
.dropdown-item {
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    text-decoration: none;
    background-color: rgba(0, 123, 255, 0.1);
} 