/* HEROM REINIGUNGSSERVICE – DESIGN */
:root {
    --green: #157a5b;
    --dark: #0d3b2d;
    --soft: #e8f5ef;
    --cream: #fbfaf5;
    --white: #fff;
    --ink: #17352c;
    --muted: #61766f;
    --line: #dce8e2;
    --gold: #e7b94d;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
}

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

button, input, select, textarea {
    font: inherit;
}

.container {
    width: min(1140px, 92%);
    margin: auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(251, 250, 245, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img.logo, 
.brand .logo-img {
    width: 40px;     
    height: 40px;    
    object-fit: contain;
    border-radius: 12px;
}

.brand span {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.brand b {
    display: block;
    letter-spacing: .08em;
    line-height: 1;
}

.brand small {
    display: block;
    font-size: .55rem;
    letter-spacing: .15em;
    color: var(--muted);
    font-weight: 900;
    margin-top: 4px;
}

nav {
    display: flex;
    gap: 25px;
    align-items: center;
    font-weight: 750;
    color: #48625a;
}

nav a:hover {
    color: var(--green);
}

.nav-call {
    background: var(--ink);
    color: white !important;
    padding: 10px 15px;
    border-radius: 11px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 1.6rem;
}

/* ==========================================================================
   HERO SECTION & SLIDESHOW ENGINE
   ========================================================================== */
.hero {
    padding: 80px 0 75px;
}

.hero-grid, .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.eyebrow, .label {
    color: var(--green);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .1em;
}

.eyebrow {
    display: inline-block;
    background: var(--soft);
    padding: 8px 12px;
    border-radius: 999px;
    letter-spacing: .01em;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: .98;
    letter-spacing: -.065em;
}

.hero h1 span {
    color: var(--green);
}

.hero-text {
    max-width: 640px;
    color: var(--muted);
    font-size: 1.1rem;
    margin: 22px 0 28px;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 13px;
    border: 1px solid var(--ink);
    font-weight: 900;
    transition: .2s;
    cursor: pointer;
}

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

.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(21, 122, 91, .2);
}

.secondary {
    background: white;
}

.trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
    color: #577068;
    font-size: .86rem;
    font-weight: 750;
}

.hero-art {
    position: relative;
    width: 100%;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: cleanHeroLoop 390s infinite ease-in-out;
}


.floating {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background: white;
    border-radius: 17px;
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 14px 35px rgba(22, 50, 42, .16);
}

.floating-img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.floating small {
    display: block;
    color: var(--muted);
    font-size: .73rem;
}

/* ==========================================================================
   SERVICES & CARDS
   ========================================================================== */
.section {
    padding: 88px 0;
}

.heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 43px;
}

.heading h2, .two-col h2, .cta h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.heading > p:last-child, .lead {
    color: var(--muted);
    margin-top: 13px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.cards article {
    position: relative;
    background: white;
    border: 1px solid var(--line);
    border-radius: 21px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
    overflow: hidden;
}

.cards i {
    font-style: normal;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--soft);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.cards h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.cards p {
    color: var(--muted);
    font-size: .9rem;
}

.cards a, .green-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--green);
    font-weight: 900;
}

.cards article.card-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.75)), url('2.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.cards article.card-1 h3, 
.cards article.card-1 p, 
.cards article.card-1 a {
    color: #ffffff !important;
}

.benefits {
    background: #f1f7f3;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.benefit-grid > div {
    background: white;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 19px;
    display: flex;
    gap: 12px;
}

.benefit-grid b {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--green);
    display: grid;
    place-items: center;
    flex: none;
}

.benefit-grid p {
    color: var(--muted);
    font-size: .85rem;
}

/* ==========================================================================
   ABLAUF SEKTION (3-SCHRITTE)
   ========================================================================== */
.ablauf-sektion {
    background: var(--cream);
    width: 100%;
}

.ablauf-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 100%;
}

.ablauf-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 21px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 220px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ablauf-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(13, 59, 45, 0.04);
}

.ablauf-card .card-num {
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.ablauf-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--dark);
    letter-spacing: -.03em;
}

.ablauf-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   CTA & CONTACT
   ========================================================================== */
.cta {
    padding: 0 0 88px;
}

.cta-box {
    background: var(--dark);
    color: white;
    border-radius: 30px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.light {
    color: #a7d9c6;
}

.cta-box > div > p:last-child {
    color: #c7d9d2;
    margin-top: 7px;
}

.light-btn {
    background: white;
    border-color: white;
    color: var(--ink);
}

.contact {
    padding-top: 20px;
}

.contact-info {
    display: grid;
    gap: 11px;
    margin-top: 25px;
}

.contact-info > * {
    background: white;
    border: 1px solid var(--line);
    padding: 14px 16px;
    border-radius: 14px;
}

.contact-info small {
    display: block;
    color: #789087;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.quote-form {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(20, 55, 44, .08);
}

.quote-form > p {
    color: var(--muted);
    font-size: .9rem;
    margin: 5px 0 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-grid label {
    font-size: .8rem;
    font-weight: 850;
    color: #4b665e;
}

.form-grid input, .form-grid select, .form-grid textarea {
    width: 100%;
    margin-top: 6px;
    border: 1px solid #ccddd6;
    border-radius: 11px;
    padding: 12px 13px;
    color: var(--ink);
    background: #fcfffd;
    outline: none;
}

.form-grid textarea {
    min-height: 120px;
    resize: vertical;
}

.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
    border-color: var(--green);
}

.full {
    grid-column: 1 / -1;
}

.submit {
    width: 100%;
    margin-top: 15px;
}

#formNote {
    color: var(--green);
    font-weight: 800;
    margin-top: 10px;
}

/* ==========================================================================
   FOOTER */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.steps > div {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 21px; /* Creates the rounded rectangular card shape */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 10px 30px rgba(13, 59, 45, 0.03); /* Subtle depth */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.steps > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(13, 59, 45, 0.08); /* Slight lift effect on hover */
}

.steps strong {
    color: var(--green);
    letter-spacing: .1em;
    font-size: 0.85rem;
    font-weight: 950;
    margin-bottom: 12px;
    display: block;
}

.steps h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    color: var(--dark);
    letter-spacing: -.03em;
}

.steps p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}








/*   ========================================================================== */
footer {
    border-top: 1px solid var(--line);
    padding: 35px 0 25px;
}

.footer-top, .footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.footer-top p {
    color: var(--muted);
    font-size: .85rem;
}

.footer-middle {
    padding: 40px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: var(--dark);
    font-size: 1.05rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-address {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-address .company-name {
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 4px;
}

.opening-hours {
    list-style: none;
}

.opening-hours li {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--ink);
}

.opening-hours li span {
    color: var(--muted);
    font-weight: 600;
    margin-right: 8px;
}

.hours-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--muted);
    font-style: italic;
    line-height: 1.4;
}

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

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

.footer-links a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 25px;
    padding-top: 20px;
    color: #71827c;
    font-size: .8rem;
}

.footer-bottom a {
    color: var(--green);
    font-weight: 800;
}
/*======================22222*/

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-top .footer-col {
    flex: 1;
    min-width: 220px; /* Ensures they wrap nicely on smaller mobile screens */
}

.footer-address-info p, 
.footer-top p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-top b {
    color: var(--dark);
    display: block;
    margin-bottom: 5px;
}

/* ==========================================================================
   ANIMATIONS (HERO SLIDESHOW)
   ========================================================================== */
/* @keyframes cleanHeroLoop {
    0%, 10% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G1.jpeg'); opacity: 1; }
    11.5%, 12.5% { opacity: 0; }
    13.5% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G2.jpeg'); opacity: 0; }
    15%, 22.5% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G2.jpg'); opacity: 1; }
    24%, 25% { opacity: 0; }
    26% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G3.jpeg'); opacity: 0; }
    27.5%, 35% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G3.jpg'); opacity: 1; }
    36.5%, 37.5% { opacity: 0; }
    38.5% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G4.jpeg'); opacity: 0; }
    40%, 47.5% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G4.jpeg'); opacity: 1; }
    49%, 50% { opacity: 0; }
    51% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G5.jpeg'); opacity: 0; }
    52.5%, 60% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G5.jpeg'); opacity: 1; }
    61.5%, 62.5% { opacity: 0; }
    63.5% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G6.jpg'); opacity: 0; }
    65%, 72.5% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G6.jpg'); opacity: 1; }
    74%, 75% { opacity: 0; }
    76% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G7.jpeg'); opacity: 0; }
    77.5%, 85% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G7.jpeg'); opacity: 1; }
    86.5%, 87.5% { opacity: 0; }
    88.5% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G8.jpeg'); opacity: 0; }
    90%, 97.5% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G8.jpeg'); opacity: 1; }
    99%, 100% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('GP.jpeg'); opacity: 0; }
}*/

@keyframes cleanHeroLoop {
    /* Bild 1: G1.jpeg */
    0%, 6% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('GB.jpeg'); opacity: 1; }
    7% { opacity: 0; }

    /* Bild 2: G2.jpeg */
    7.1% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G2.jpeg'); opacity: 0; }
    7.6%, 13.6% { opacity: 1; }
    14.6% { opacity: 0; }

    /* Bild 3: G3.jpeg */
    14.7% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G3.jpeg'); opacity: 0; }
    15.2%, 21.2% { opacity: 1; }
    22.2% { opacity: 0; }

    /* Bild 4: G4.jpeg */
    22.3% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G4.jpeg'); opacity: 0; }
    22.8%, 28.8% { opacity: 1; }
    29.8% { opacity: 0; }

    /* Bild 5: G5.jpeg */
    29.9% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G5.jpeg'); opacity: 0; }
    30.4%, 36.4% { opacity: 1; }
    37.4% { opacity: 0; }

    /* Bild 6: G6.jpg */
    37.5% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G6.jpg'); opacity: 0; }
    38.0%, 44.0% { opacity: 1; }
    45.0% { opacity: 0; }

    /* Bild 7: G7.jpeg */
    45.1% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G7.jpeg'); opacity: 0; }
    45.6%, 51.6% { opacity: 1; }
    52.6% { opacity: 0; }

    /* Bild 8: G8.jpeg */
    52.7% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G8.jpeg'); opacity: 0; }
    53.2%, 59.2% { opacity: 1; }
    60.2% { opacity: 0; }

    /* Bild 9: G9.jpeg */
    60.3% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G9.jpeg'); opacity: 0; }
    60.8%, 66.8% { opacity: 1; }
    67.8% { opacity: 0; }

    /* Bild 10: G10.jpeg */
    67.9% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G10.jpg'); opacity: 0; }
    68.4%, 74.4% { opacity: 1; }
    75.4% { opacity: 0; }

    /* Bild 11: G11.jpeg */
    75.5% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G11.jpg'); opacity: 0; }
    76.0%, 82.0% { opacity: 1; }
    83.0% { opacity: 0; }

    /* Bild 12: G12.jpeg */
    83.1% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G12.jpg'); opacity: 0; }
    83.6%, 89.6% { opacity: 1; }
    90.6% { opacity: 0; }

    /* Bild 13: G13.jpeg */
    90.7% { background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('G13.jpeg'); opacity: 0; }
    91.2%, 98.5% { opacity: 1; }
    100% { opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media(max-width: 980px) {
    .cards {
        grid-template-columns: 1fr 1fr;
    }
    .hero-grid, .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-art {
        height: 400px;
    }
    .benefit-grid {
        order: 2;
    }
}

@media(max-width: 760px) {
    .menu-toggle {
        display: block;
    }
    nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 4%;
        right: 4%;
        padding: 15px;
        background: white;
        border: 1px solid var(--line);
        border-radius: 17px;
        box-shadow: 0 18px 50px rgba(20, 55, 44, .08);
        flex-direction: column;
        align-items: stretch;
    }
    nav.open {
        display: flex;
    }
    .nav-call {
        text-align: center;
    }
    .steps, .benefit-grid, .ablauf-cards, .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 560px) {
    .hero {
        padding-top: 52px;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero-art {
        height: 330px;
    }
    .room {
        inset: 25px;
    }
    .floating {
        left: 15px;
        bottom: 15px;
    }
    .cards, .form-grid {
        grid-template-columns: 1fr;
    }
    .full {
        grid-column: auto;
    }
    .cta-box {
        padding: 32px 25px;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-top, .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Logo image size */
.logo-img {
  height: 60px; /* Adjust to 65px or 70px if you want it even bigger */
  width: auto;
  object-fit: contain;
}

/* Brand text styling */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand b {
  font-size: 1.8rem; /* Makes HEROM bigger */
  line-height: 1;
}

.brand small {
  font-size: 0.85rem; /* Makes REINIGUNGSSERVICE bigger */
  letter-spacing: 1.5px;
}
