/* css/styles.css */

/* Grundlegende Flexbox-Struktur */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Allgemeine Stile */
body {
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    background-color: #f8f9fa;
}

/* Overlay für Hero Section */
#home .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Navbar */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link.active {
    color: #0d6efd !important;
    font-weight: bold;
}

.nav-link:hover {
    color: #0d6efd !important;
}

/* Hero Section Text */
#home .container {
    z-index: 2;
}

/* Services Section */
#services h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 1s forwards;
}

/* Keyframes für Fade-In-Down Animation */
@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fester Bereich für Icons */
.logo-container {
    height: 80px; /* Angepasst für Konsistenz */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Einheitliche Größe der Icons */
.partner-logo {
    max-width: 150px; /* Maximale Breite der Logos */
    max-height: 80px; /* Maximale Höhe der Logos */
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Hover-Effekte für gesamte Karten */
.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover-Effekt für Icons */
.logo-container img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Partner-Karten */
.card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
    animation-delay: 0.2s;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Keyframes für Fade-In-Up Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Verzögerung für gestaffelte Animationen */
.card:nth-child(1) {
    animation-delay: 0.2s;
}

.card:nth-child(2) {
    animation-delay: 0.4s;
}

.card:nth-child(3) {
    animation-delay: 0.6s;
}

.card:nth-child(4) {
    animation-delay: 0.8s;
}

.card:nth-child(5) {
    animation-delay: 1s;
}

.card:nth-child(6) {
    animation-delay: 1.2s;
}

.card:nth-child(7) {
    animation-delay: 1.4s;
}

/* Spezielle Styling für den Reparatur Bonus in Blau */


.special-service .card-title {
    color: #0056b3; /* Dunkleres Blau für Titel */
}

.special-service .card-text {
    color: #0056b3;
}

.special-service .btn-outline-primary {
    color: #0056b3;
    border-color: #0056b3;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.special-service .btn-outline-primary:hover {
    background-color: #a1cfff;
    color: #0056b3;
    border-color: #0056b3;
}

/* Button Hover-Effekt */
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Footer */
footer a:hover {
    color: #0d6efd;
    text-decoration: none;
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: none;
    background-color: #0d6efd;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

#scrollTopBtn.show {
    display: block;
    opacity: 0.7;
}

#scrollTopBtn:hover {
    opacity: 1;
}

/* Cookie Consent Overlay */
.cookie-consent {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    color: #333;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none; /* Standardmäßig versteckt */
    max-width: 90%;
    width: 400px;
}

.cookie-consent.show {
    display: block;
}

.cookie-consent p {
    margin-bottom: 20px;
}

.cookie-consent button {
    width: 100%;
}

/* Button Anpassungen */
.btn-tally {
    background: linear-gradient(45deg, #0d6efd, #1e3c72);
    border: none;
    color: #fff;
    padding: 15px 20px;
    font-size: 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-tally:hover {
    background: linear-gradient(45deg, #1e3c72, #0d6efd);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-tally i {
    margin-right: 10px;
    transition: margin-right 0.3s ease;
}

.btn-tally:hover i {
    margin-right: 15px;
}

/* Responsive Anpassungen */
@media (max-width: 767.98px) {
    #services h2 {
        font-size: 2rem;
    }

    .logo-container {
        height: 80px;
        padding: 8px;
    }

    .partner-logo {
        max-width: 120px;
        max-height: 60px;
    }

    /* Karten passen sich dynamisch an Inhalt an */
    .card {
        /* Keine feste Mindesthöhe */
    }

    .special-service {
        border-left: none;
        border-top: 5px solid #a1cfff;
    }

    .special-service .btn-outline-primary {
        margin-top: 15px;
    }

    /* Cookie Consent Overlay */
    .cookie-consent {
        width: 90%;
        padding: 20px;
    }

    /* Anpassung des Buttons auf mobilen Geräten */
    .btn-tally {
        font-size: 1rem;
        padding: 10px 15px;
        border-radius: 30px;
    }

    .btn-tally i {
        margin-right: 8px;
    }

    .btn-tally:hover i {
        margin-right: 10px;
    }
}
/* Allgemeine Stile für die Fernwartungsseite */
.fernwartung {
    font-family: 'Roboto', sans-serif;
}

.fernwartung h1, .fernwartung h2, .fernwartung h3, .fernwartung h4, .fernwartung h5, .fernwartung h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Hero-Bereich */
.fernwartung #hero-fernwartung {
    background-image: url('assets/images/anydesk-background.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    padding: 150px 0 100px 0;
}

.fernwartung #hero-fernwartung::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(114, 28, 36, 0.8);
}

.fernwartung #hero-fernwartung .container {
    position: relative;
    z-index: 2;
}

/* Navbar Anpassungen für die Fernwartungsseite */
.fernwartung .navbar-nav .nav-link.active {
    color: #c82333 !important;
}

/* Buttons */
.fernwartung .btn-primary {
    background-color: #c82333;
    border-color: #bd2130;
    color: #fff;
}

.fernwartung .btn-primary:hover {
    background-color: #bd2130;
    border-color: #b21f2d;
}

.fernwartung .btn-outline-danger {
    color: #c82333;
    border-color: #c82333;
}

.fernwartung .btn-outline-danger:hover {
    background-color: #c82333;
    color: #fff;
}

/* Icons in Kreisen */
.fernwartung .icon-circle {
    width: 80px;
    height: 80px;
    background-color: #c82333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    transition: background-color 0.3s ease;
}

.fernwartung .icon-circle i {
    color: #fff;
}

.fernwartung .icon-circle:hover {
    background-color: #bd2130;
}

/* Zusätzlicher Abschnitt */
.fernwartung #additional-info i {
    color: #c82333;
}

/* Accordion (FAQ) */
.fernwartung .accordion-button {
    color: #c82333;
}

.fernwartung .accordion-button:not(.collapsed) {
    background-color: rgba(200, 35, 51, 0.1);
    color: #c82333;
}

.fernwartung .accordion-button::after {
    filter: invert(31%) sepia(83%) saturate(2605%) hue-rotate(341deg) brightness(95%) contrast(100%);
}

.fernwartung .accordion-item {
    border: none;
}

.fernwartung .accordion-item:not(:last-of-type) {
    border-bottom: 1px solid #eaeaea;
}

/* Kontaktbereich */
.fernwartung #contact-fernwartung {
    background-color: #c82333;
    color: #fff;
}

.fernwartung #contact-fernwartung .btn-light {
    color: #c82333;
    background-color: #fff;
    border-color: #fff;
}

.fernwartung #contact-fernwartung .btn-light:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.8);
}

.fernwartung #contact-fernwartung .btn-outline-light {
    color: #fff;
    border-color: #fff;
}

.fernwartung #contact-fernwartung .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Listen-Icons */
.fernwartung .list-unstyled li i {
    color: #c82333;
}

/* Links */
.fernwartung a {
    color: #c82333;
}

.fernwartung a:hover {
    color: #a71d2a;
    text-decoration: none;
}

/* Footer */
.fernwartung #footer a:hover {
    color: #c82333;
}

/* Responsives Design */
@media (max-width: 767.98px) {
    .fernwartung #hero-fernwartung {
        padding: 100px 0 80px 0;
    }
}

/* Spezifische Anpassungen für den Benefits-Abschnitt */
#benefits .row.align-items-center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#benefits .col-md-6 {
    display: flex;
    align-items: center;
}

#benefits .col-md-6.order-md-2 {
    justify-content: center;
}

#benefits .col-md-6.order-md-1 ul {
    margin: 0;
    padding: 0;
}

#benefits .col-md-6.order-md-1 ul li {
    display: flex;
    align-items: flex-start;
}

#benefits .col-md-6.order-md-1 ul li i {
    margin-top: 5px;
}

/* Responsive Anpassungen */
@media (max-width: 767.98px) {
    #benefits .col-md-6 {
        justify-content: center;
        text-align: center;
    }
    #benefits .col-md-6.order-md-1 ul {
        text-align: left;
    }
}


/* styles.css */
.embed-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Verhältnis */
    height: 0;
}

.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* styles.css */
.back-to-overview {

}
