:root {
    --primary-blue: #1D5DA6;
    --primary-blue-dark: #124075;
    --primary-orange: #F39200;
    --primary-orange-hover: #D88200;
    --text-dark: #2D3748;
    --text-light: #718096;
    --bg-white: #FFFFFF;
    --bg-light: #F7FAFC;
    --bg-gray: #EDF2F7;
    --whatsapp-green: #25D366;
    --whatsapp-green-dark: #128C7E;
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(29, 93, 166, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1,
h2,
h3,
h4 {
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.highlight {
    color: var(--primary-orange);
}

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

p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(243, 146, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 146, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-block {
    width: 100%;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: visible;
}

.navbar.scrolled {
    box-shadow: var(--shadow-soft);
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    overflow: visible;
}

.logo-img {
    height: 160px;
    width: auto;
    flex-shrink: 0;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-container {
        height: 70px;
        padding: 0 1rem;
    }

    .logo-img {
        height: 130px;
    }

    .mobile-toggle {
        flex-shrink: 0;
        z-index: 10;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.brand-accent {
    color: var(--primary-orange);
}

.brand-sub {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn) {
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--primary-blue);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.dropdown-icon {
    font-size: 0.8rem;
    margin-left: 0.3rem;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    box-shadow: var(--shadow-soft);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-orange);
}

.dropdown-menu a::after {
    display: none;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    background: none;
    border: none;
    cursor: pointer;
}

.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-star {
    color: var(--primary-orange);
}

.featured-centered {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: rgba(29, 93, 166, 0.1);
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    padding: 1.5rem;
    background: white;
    box-shadow: var(--shadow-soft);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.cleaning-animation-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dirt-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(101, 85, 75, 0.7);
    /* Staubiges Braun/Grau */
    backdrop-filter: blur(8px) sepia(40%);
    animation: wipeAway 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 2;
    transform-origin: right;
}

.sweeper-effect {
    position: absolute;
    top: 0;
    left: 0%;
    height: 100%;
    width: 60px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.7), transparent);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: sweepAcross 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: drop-shadow(0 0 10px white);
}

.sweeper-effect i {
    font-size: 3rem;
    color: var(--primary-orange);
    animation: scrub 0.6s infinite alternate;
}

@keyframes wipeAway {

    0%,
    10% {
        width: 100%;
        opacity: 1;
    }

    50%,
    80% {
        width: 0%;
        opacity: 1;
    }

    90%,
    100% {
        width: 100%;
        opacity: 0;
    }
}

@keyframes sweepAcross {

    0%,
    10% {
        left: -10%;
        opacity: 1;
    }

    50%,
    80% {
        left: 100%;
        opacity: 1;
    }

    90%,
    100% {
        left: -10%;
        opacity: 0;
    }
}

@keyframes scrub {
    0% {
        transform: rotate(-20deg) translateY(-15px);
    }

    100% {
        transform: rotate(20deg) translateY(15px);
    }
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: delayedReveal 10s forwards infinite, float 4s ease-in-out infinite;
}

@keyframes delayedReveal {

    0%,
    40% {
        opacity: 0;
        transform: translateY(20px);
    }

    45%,
    85% {
        opacity: 1;
        transform: translateY(0);
    }

    90%,
    100% {
        opacity: 0;
    }
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-orange);
}

.floating-card div {
    display: flex;
    flex-direction: column;
}

.floating-card strong {
    font-size: 1.5rem;
    color: var(--primary-blue);
    line-height: 1;
}

.floating-card span {
    color: var(--text-light);
    font-size: 0.9rem;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.section-padding {
    padding: 100px 0;
}

/* Legal pages (impressum, datenschutz) */
.legal-main {
    margin-top: 100px;
    padding-bottom: 4rem;
}

.legal-main .content-block h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    color: var(--primary-blue);
}

.legal-main .content-block h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.legal-main .content-block p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.legal-list {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Google Rating Card */
.google-rating-wrapper {
    background-color: var(--bg-light);
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 4rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.google-rating-wrapper > p:first-child {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    margin-top: 0;
}

.google-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: 700;
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    border: 1px solid #eaeaea;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.google-rating-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.google-rating-stars {
    color: #FBBC05;
    display: flex;
    gap: 2px;
    font-size: 0.95rem;
}

.google-rating-wrapper .rating-note {
    margin-top: 0.8rem;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Service card highlighted variant */
.service-card.highlighted {
    background-color: var(--primary-blue);
    color: white;
    border: none;
}

.service-card.highlighted .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-card.highlighted h4 {
    color: white;
}

.service-card.highlighted p {
    color: rgba(255, 255, 255, 0.9);
}

/* Privacy notice */
.privacy-notice {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    text-align: center;
}

.privacy-notice a {
    color: var(--primary-blue);
    font-weight: 500;
}

/* WhatsApp avatar */
.wa-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid white;
}

.wa-avatar img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

.services-grid.featured {
    grid-template-columns: repeat(2, 1fr);
}

.services-grid.single-featured {
    grid-template-columns: 1fr;
}

.services-grid.auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(29, 93, 166, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-blue);
    color: white;
}

.icon-small {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    border-radius: 15px;
}

.service-list {
    margin-top: 1.5rem;
}

.service-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-orange);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-method-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(29, 93, 166, 0.1);
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.method-icon.whatsapp {
    background-color: var(--whatsapp-green);
}

.method-icon.phone {
    background-color: var(--primary-blue);
}

.method-icon.email {
    background-color: var(--primary-orange);
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-details span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.method-details strong {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.whatsapp-chat-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.whatsapp-header {
    background-color: var(--whatsapp-green-dark);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.wa-contact-info {
    display: flex;
    flex-direction: column;
}

.wa-contact-info strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.wa-contact-info span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.whatsapp-body {
    flex: 1;
    background-color: #E5DDD5;
    background-image: url("images/hero-bg.jpg");
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.wa-message {
    max-width: 85%;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.wa-received {
    background-color: white;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.wa-received::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.wa-time {
    display: block;
    font-size: 0.7rem;
    color: #999;
    text-align: right;
    margin-top: 5px;
}

.whatsapp-footer {
    background-color: #f0f0f0;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wa-icon-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
}

#wa-input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    resize: none;
    overflow-y: hidden;
    min-height: 45px;
    max-height: 120px;
    line-height: 1.4;
    box-sizing: border-box;
    align-self: flex-end;
}

#wa-input:focus {
    outline: none;
}

.wa-send-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--whatsapp-green);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.wa-send-btn:hover {
    background-color: var(--whatsapp-green-dark);
    transform: scale(1.05);
}

/* FAQ section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-orange);
}

.faq-question i {
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--primary-orange);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    background-color: var(--bg-light);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-dark);
}

footer {
    background-color: var(--primary-blue-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-container h4 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.footer-container p,
.footer-links ul li a,
.footer-container ul li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a:hover {
    color: var(--primary-orange);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

@media (max-width: 992px) {

    .hero-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-image-wrapper {
        transform: none;
    }
}

@media (max-width: 768px) {

    .services-grid.featured,
    .services-grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: var(--shadow-soft);
        gap: 1.5rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        text-align: center;
        padding: 0.5rem 0 0;
        background: var(--bg-light);
        margin-top: 0.5rem;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hero-cta {
        flex-direction: column;
    }
}