/* Reset + base */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #000000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

/* prevent horizontal overflow on full-bleed hero */
body { 
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

html, body {
    width: 100%;
}

/* #f2c200,#fbc000 gelb*/
/*#258d14,#32721e  grün*/

main{
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
}

/* ----- HERO (full-width image) ----- */
.hero{
    /* Mobile first: no overflow */
    width: 100%;
    margin: 0;
    background-image: url('hero-bild-start.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    position: relative;
    z-index: 1;
}

@media (min-width: 769px) {
    .hero {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        min-height: 80vh;
        padding: 36px 16px;
    }
}

/* The welcome card => Mobile-first: static, then absolute on desktop */
.welcome-card{
    /* Mobile: positioned below hero as a regular block element */
    position: static;
    background: #000000;
    color: #fff;
    padding: 20px;
    margin: 0 16px 30px 16px;
    border-radius: 0;
    box-shadow: none;
    width: calc(100% - 32px);
    height: auto;
    z-index: 40;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 32px);
}

/* Desktop: position absolute overlapping hero */
@media (min-width: 769px) {
    .welcome-card {
        position: absolute;
        bottom: -40px;
        left: calc(240px - 3vw);
        width: 560px;
        height: 560px;
        margin: 0;
        padding: 0;
        max-width: none;
    }
    
    .welcome-card .welcome {
        font-size: clamp(1.6rem, 3.8vw, 2.6rem);
        margin: 0 0 35px 0;
    }
    
    .welcome-card p {
        font-size: 1rem;
        margin: 0 0 35px 0;
        max-width: 400px;
        text-align: left;
    }
    
    .welcome-card .cta {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
}

@media (max-width: 980px) {
    /* Remove old absolute positioning rules - now handled in mobile-first above */
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 60px 0 0 0;
    width: 100%;
    background: #000;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    background: transparent;
    color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    width: 100%;
    margin: 0 auto;
}

.service-card {
    background: #000000;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 350px;
    transition: background .14s ease, color .14s ease, transform .18s ease, box-shadow .18s ease;
    position: relative; /* ensure local stacking context for hover */
}

/* Cards no longer change on hover; buttons handle interaction */
.service-card:hover { 
    background: #000000; 
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.service-title {
    color: #32a81e;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.service-card:nth-child(2) .service-title {
    color: #f2c200;
}

/* Alternate title colors: 1 green, 2 yellow, 3 green, 4 yellow, 5 green, 6 yellow */
.service-card:nth-child(4) .service-title {
    color: #f2c200;
}

.service-card:nth-child(6) .service-title {
    color: #f2c200;
}

.service-description {
    color: #e8e8e8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.service-btn {
    background: transparent;
    color: inherit;
    margin-top: auto;
    position: relative;
    z-index: 3; /* keep button above any hover effects */
    pointer-events: auto; /* ensure button can receive clicks */
    padding: 12px 24px;
    border: 2px solid #f2c200;
    border-radius: 999px;
    cursor: pointer;
}


.service-card:nth-child(2) .service-btn { /* ensure same as others */
    background: transparent;
    color: inherit;
}

.service-btn:hover {
    background: rgba(242,194,0,0.90);
    color: #000;
    transition: background .14s ease, color .14s ease;
    box-shadow: 0 6px 16px rgba(242,194,0,0.35);
}

.service-card:nth-child(2) .service-btn:hover {
    background: rgba(242,194,0,0.90);
    color: #000;
}

/* Responsive: stack cards on smaller screens */
@media (max-width: 1100px) {
    .services-grid { 
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .services-grid { 
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
        width: 100%;
        margin: 0 auto;
    }
    .service-card {
        min-height: 250px;
        padding: 25px 20px;
    }
    .service-title {
        font-size: 1.3rem;
    }
    .service-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 500px) {
    .services-grid { 
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .service-card { 
        min-height: auto;
        padding: 20px 16px;
    }
    .services-section { 
        padding: 40px 16px 0 16px;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}

/* small page content area directly under hero */
.page-content{ padding: 24px 16px; max-width:1100px; margin: 0 auto 40px auto; position: relative; z-index: 20; /* will overlay the hero's background */
    /* pull content up a little so it overlaps the bottom portion of the hero image */
    margin-top: -72px;
    background: transparent; /* remove any black bar/background */
}

/* hero stack ordering: image sits below page content, card remains on top */
.hero{ z-index: 1; }

/* ===== PARTNER SECTION ===== */
.partner-section {
    padding: 80px 0;
    width: 100%;
    background: #000;
}

.partner-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    background: transparent;
    color: #32a81e;
}

.partner-container {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.partner-left,
.partner-right {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.partner-feature h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    background: transparent;
}

.partner-left .partner-feature:nth-child(1) h3 {
    color: #32a81e;
}

.partner-left .partner-feature:nth-child(2) h3 {
    color: #f2c200;
}

.partner-right .partner-feature:nth-child(1) h3 {
    color: #f2c200;
}

.partner-right .partner-feature:nth-child(2) h3 {
    color: #32a81e;
}

.partner-feature p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    background: transparent;
}

.partner-center img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 1100px) {
    .partner-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .partner-center {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .partner-left,
    .partner-right {
        gap: 30px;
    }
}

/* ===== CTA SECTION (inside partner section) ===== */
.cta-section {
    margin-top: 80px;
    text-align: center;
    padding: 0 20px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: transparent;
    color: #32a81e;
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 30px auto;
    background: transparent;
}

.cta-button {
    background-color: #f2c200;
    color: #000;
    font-weight: 600;
}

.cta-button:hover {
    background-color: #fbc000;
}

/* ===== HELP SECTION ===== */
.help-section {
    padding: 80px 20px;
    text-align: center;
    background: #000;
}

.help-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: transparent;
    color: #32a81e;
}

.help-highlight {
    color: #f2c200;
    background: transparent;
}

.help-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 50px auto;
    background: transparent;
}

.help-contact {
    display: flex;
    justify-content: center;
    gap: 80px;
    align-items: center;
}

.help-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.help-icon {
    width: 80px;
    height: 80px;
    background: transparent;
}

.help-link {
    font-size: 1.3rem;
    font-weight: 600;
    color: #32a81e;
    text-decoration: none;
    background: transparent;
}

.help-link:hover {
    color: #f2c200;
}

@media (max-width: 700px) {
    .help-contact {
        flex-direction: column;
        gap: 40px;
    }
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
    background: #000;
}

.contact-form-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    background: transparent;
    color: #32a81e;
}

.contact-form-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #ccc;
    margin-bottom: 50px;
    background: transparent;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: transparent;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #f2c200;
    border-radius: 8px;
    background-color: #000;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #32a81e;
    box-shadow: 0 0 0 3px rgba(50, 168, 30, 0.1);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    background: transparent;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #f2c200;
}

.checkbox-group span {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
    background: transparent;
}

.submit-btn {
    margin-top: 20px;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #f2c200;
    color: #000;
    align-self: center;
}

.submit-btn:hover {
    background-color: #fbc000;
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-section {
        padding: 60px 16px;
    }
}

.main-nav{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header{
    /*border:2px solid #ff0000 ;*/
    height: 100px;
}

.hotline{
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    white-space: nowrap;
}

@media (min-width: 769px) {
    .hotline {
        display: flex;
    }
}

.hotline-24{
    color: #f2c200;
    font-size: 1.2rem;
    font-weight:700;
}

.hotline-slash{
    color: #32a81e;
    font-size: 1.2rem;
    font-weight:700;
}

.hotline-text{
    font-size: 0.95rem;
    font-weight:500;
    color: #fff;
    margin-left:4px;
}

.hotline-number{
    margin-left:12px;
    font-weight:600;
    color: #f2c200;
}

.hotline-number a{
    color: #f2c200;
    text-decoration:none;
    transition: color 0.2s ease;
}

.hotline-number a:hover{
    color: #fbc000;
}

/*img,{ max-width: 100%; height: Auto; display: block; }*/

/* ===== BUTTON PRESETS ===== */
/* Standard pill-style button used across the site */
.btn-pill, 
.main-nav a,
.main-nav .menu-btn,
.dropdown li a,
.welcome-card .cta,
.service-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 18px;
    background: transparent;
    border: none;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background .14s ease, color .14s ease;
}

/* Idle green border for all buttons except navbar buttons */
.btn-pill,
.dropdown li a,
.welcome-card .cta,
.service-btn {
    border: 1px solid #32a81e;
}

/* Remove border on hover/active to match site behavior */
.btn-pill:hover,
.btn-pill.active,
.dropdown li a:hover,
.dropdown li a:focus,
.dropdown li a.active,
.service-btn:hover,
.service-btn:active,
.welcome-card .cta:hover,
.welcome-card .cta:focus-visible {
    border-color: transparent;
}

/* Hero card CTA: keep green idle border; remove yellow outline on hover */
.welcome-card .cta { border: 1px solid #32a81e !important; }
.welcome-card .cta:hover,
.welcome-card .cta:focus-visible { 
    border-color: transparent !important; 
    box-shadow: none !important; /* remove yellow glow/outline */
}

.btn-pill:hover,
.btn-pill.active {
    background: rgba(242,194,0,0.85);
    color: #000;
}

.btn-pill.active {
    background: #f2c200;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* Header */
header.site-header { 
    display: flex; 
    align-items: center;
    justify-content: space-between; 
    gap: 12px; 
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #000;
    transition: box-shadow 0.3s ease;
    flex-wrap: nowrap;
}

@media (min-width: 769px) {
    header.site-header {
        align-items: center;
        padding: 16px 24px;
        gap: 20px;
    }
}

header.site-header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-left .logo{ max-width:80px; max-height: 80px; }

@media (max-width: 768px) {
    .header-left .logo {
        max-width: 60px;
        max-height: 60px;
    }
}

@media (max-width: 500px) {
    .header-left .logo {
        max-width: 50px;
        max-height: 50px;
    }
}
.header-center { 
    text-align: center; 
    flex: 0 1 auto; 
    display: none; 
    flex-direction: column; 
    gap: 8px; 
    align-items: center; 
    order: 2;
    width: auto;
}

@media (min-width: 769px) {
    .header-center {
        flex: 0 1 auto;
        flex-direction: row;
        gap: 20px;
        order: 2;
        width: auto;
        display: flex;
    }
}

.main-nav{ position: relative; width: auto; }
.main-nav ul{ display:flex; gap:12px; list-style:none; margin:0; padding:0; flex-wrap:wrap; justify-content:center; align-items:center; }
.main-nav ul li{ position: relative; display:flex; align-items:center; }
.main-nav a{ color: inherit; text-decoration:none; padding:8px 16px; display:inline-block; border-radius:24px; transition: background .14s ease, color .14s ease; font-size:0.95rem; font-weight:500; letter-spacing:0.2px; }
.main-nav .menu-btn{ padding:8px 16px; border-radius:24px; background: transparent; border: none; color: inherit; cursor: pointer; display:inline-block; font-size:0.95rem; font-weight:500; letter-spacing:0.2px; }

/* hamburger (hidden on desktop) */
.hamburger{ 
    display: flex; 
    background: transparent; 
    border: none; 
    width: 40px; 
    height: 36px; 
    align-items: center; 
    justify-content: center; 
    flex-direction: column; 
    gap: 4px; 
    cursor: pointer; 
    order: 3;
    margin-left: auto;
}

.hamburger span{ 
    display: block; 
    height: 2px; 
    background: #fff; 
    width: 22px; 
    border-radius: 2px; 
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

.main-nav .menu-btn:hover,
.main-nav a:hover{ background: rgba(242,194,0,0.85); color: #000; }
.main-nav li:hover > a:not(.active),
.main-nav li:hover > .menu-btn:not(.active) { background: rgba(242,194,0,0.90); color: #000; }
.main-nav .menu-btn:focus,
.main-nav a:focus{ outline: 2px solid rgba(242,194,0,0.12); outline-offset: 2px; }
.main-nav .menu-btn.active,
.main-nav a.active,
.main-nav .menu-btn:active{ background: #f2c200; color: #000; box-shadow: 0 2px 6px rgba(0,0,0,0.12); }

/* small caret button placed next to the Kontakt link */
.dropdown-toggle.caret{ padding:6px 8px; margin-left:6px; border-radius:10px; background: transparent; border: 1px solid transparent; cursor: pointer; font-weight:700; }
.dropdown-toggle.caret:hover{ background: rgba(255,255,255,0.04); }

/* Login Button Styling */
.login-btn{
    padding: 12px 28px !important;
    background: #f2c200 !important;
    color: #000 !important;
    border-radius: 28px !important;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid #f2c200;
    letter-spacing: 0.3px;
    margin-left: 12px;
}

.login-btn:hover{
    background: #fbc000 !important;
    border-color: #fbc000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(242,194,0,0.4);
}

.login-btn.active{
    background: #32a81e !important;
    border-color: #32a81e;
    color: #fff !important;
}

/* ensure caret doesn't block hover on the link */
.has-dropdown > .dropdown-toggle{ z-index:2; }

/* ensure the Kontakt link and caret stay visually grouped */
.has-dropdown > .menu-btn{ display:inline-block; }
.has-dropdown > .dropdown-toggle{ display:inline-flex; align-items:center; justify-content:center; }

/* Dropdown for secondary links */
.has-dropdown{ position: relative; }
.dropdown-toggle{ background: transparent; border: none; color: inherit; padding:6px 10px; cursor: pointer; border-radius:20px; }
.dropdown-toggle{ transition: transform .18s ease; }
.dropdown-toggle .arrow{ margin-left:6px; font-size:0.9em; }
.dropdown{ position: absolute; top: calc(100% - 2px); left: 50%; transform: translateX(-50%); background-color: #000 !important; min-width: 200px; max-width: 240px; border-radius:10px; box-shadow: 0 6px 18px rgba(0,0,0,0.5); list-style:none; padding:12px 12px; z-index: 150; opacity: 0; max-height: 0; overflow: hidden; pointer-events: none; display: flex; flex-direction: column; gap: 10px; align-items: stretch; text-align: center; }
.dropdown li{ margin: 0; background: transparent !important; }
.dropdown li a{ display:block; padding:12px 18px; color: #fff; text-decoration:none; border-radius:999px; background: transparent !important; border:none; font-weight: 600; transition: background .14s ease, color .14s ease, transform .14s ease; }
.dropdown li a:hover, .dropdown li a:focus{ background: #f2c200 !important; color:#000; transform: scale(1.05); }

/* active: wie Hover, damit aktuelle Seite hervorgehoben ist */
.dropdown li a.active{ background: #f2c200; color: #000; }

/* show only when .open is present (JS-controlled) - NO HOVER */
.has-dropdown.open .dropdown{ opacity: 1; max-height: 500px; pointer-events: auto; padding-top: 8px; padding-bottom: 8px; }
.has-dropdown.open > .dropdown-toggle{ transform: rotate(180deg); }

/* Mobile: hamburger menu & responsive nav - ACTIVE */
@media (max-width: 768px) {
    header.site-header {
        padding: 12px 16px;
        min-height: auto;
    }
    
    .header-center {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .hotline {
        font-size: 0.85rem;
        gap: 2px;
    }
    
    .hotline-24 { font-size: 1rem; }
    .hotline-slash { font-size: 1rem; }
    .hotline-number { margin-left: 8px; font-size: 0.85rem; }
    
    .hamburger { 
        display: flex;
        order: 1;
    }
    
    .main-nav {
        width: 100%;
        justify-content: flex-start;
    }
    
    .main-nav ul {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.99);
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
        border-radius: 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.6);
        z-index: 120;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .main-nav.open ul {
        display: flex;
    }
    
    .main-nav ul li {
        width: 100%;
        display: flex;
        align-items: stretch;
    }
    
    .main-nav a,
    .main-nav .menu-btn {
        width: 100%;
        padding: 14px 16px;
        border-radius: 0;
        text-align: left;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    
    .main-nav a.active {
        background: #f2c200;
        color: #000;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .main-nav a:hover {
        background: rgba(242,194,0,0.75);
        color: #000;
    }
    
    .has-dropdown {
        width: 100%;
    }
    
    .has-dropdown > .dropdown-toggle {
        display: none;
    }
    
    .dropdown {
        position: static;
        transform: none;
        background: rgba(0,0,0,0.5) !important;
        box-shadow: none;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0;
        margin: 0;
        pointer-events: none;
        transition: max-height .3s ease, opacity .3s ease;
        gap: 0;
    }
    
    .has-dropdown.open .dropdown {
        max-height: 300px;
        opacity: 1;
        pointer-events: auto;
        display: flex;
    }
    
    .dropdown li {
        width: 100%;
    }
    
    .dropdown li a {
        width: 100%;
        padding: 12px 32px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.03);
        font-size: 0.9rem;
    }
    
    .dropdown li a.active {
        background: #f2c200 !important;
        color: #000;
    }
    
    .dropdown li a:hover {
        background: rgba(242,194,0,0.75) !important;
        color: #000;
    }
}

/* Footer */
.site-footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer-icons{
    display: flex;
    gap: 14px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-row{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 8px 16px;
}

.worktime{
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    font-size: 14px;
}
.worktime .times,
.worktime .contact-info{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.worktime strong{ font-weight: 700; }

.footer-icons img{ max-height: 28px; display: block; }

.nav-footer ul {
    display: flex;
    justify-content: space-evenly;
    color: #fff;
    list-style-type: none;
     padding: 20px;
    margin: 20px;
}

.nav-footer a{
    color: #fff;
    text-decoration: none;
   
}

.site-footer p{ max-width:1100px; margin:12px auto 0 auto; padding:0 16px; word-wrap: break-word; }

.contact-link { text-decoration: none; }

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: transparent;
    background: transparent;
    border: 2px solid #f2c200;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    border-color: #32a81e;
    transform: translateY(-3px);
}

.back-to-top svg {
    color: #f2c200;
    background: transparent;
}

.back-to-top:hover svg {
    color: #32a81e;
}

@media (max-width: 700px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Responsive font scaling */
@media (max-width:1200px){ body{ font-size:15px; } }
@media (max-width:980px){ .footer-row{ gap: 16px; padding: 8px 12px; } .footer-icons img{ max-height: 26px; } }
@media (max-width:700px){ body{ font-size:14px; } .footer-icons img{ max-height: 24px; } .footer-row{ gap: 12px; } }

/* ===== SERVICES PAGE HERO ===== */
.services-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background-image: url('https://via.placeholder.com/1920x600/1a1a1a/666?text=Services+Hero');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.services-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #32a81e;
    margin-bottom: 20px;
}

.services-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    color: #e8e8e8;
}

/* ===== SERVICES DETAIL SECTION ===== */
.service-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

/* Alternate layout: reverse order for even items */
.service-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.service-item.reverse .service-image {
    order: 2;
}

.service-item.reverse .service-content {
    order: 1;
}

.service-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #32a81e;
    margin: 0;
    line-height: 1.2;
}

.service-content p {
    line-height: 1.8;
    color: #e8e8e8;
    margin: 0;
}

.service-highlight {
    color: #f2c200;
    font-weight: 600;
    font-style: italic;
}

.service-content .btn-pill {
    align-self: flex-start;
    margin-top: 10px;
}

/* Services CTA Section */
.services-cta {
    text-align: center;
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.services-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    color: #fff;
}

.services-cta .highlight-yellow {
    color: #f2c200;
}

.services-cta p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #e8e8e8;
}

.services-cta .cta-button {
    background: #f2c200;
    color: #000;
    font-weight: 600;
}

/* Responsive: Stack cards on mobile with image on top */
@media (max-width: 768px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .service-item.reverse .service-image {
        order: 1;
    }
    
    .service-item.reverse .service-content {
        order: 2;
    }
    
    .service-content {
        gap: 20px;
    }
    
    .services-hero {
        min-height: 40vh;
        padding: 60px 20px;
    }
    
    .services-hero h1 {
        font-size: 1.8rem;
    }
    
    .services-hero p {
        font-size: 1rem;
    }
    
    .services-cta {
        padding: 60px 20px;
    }
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info-section {
    padding: 80px 20px;
}

.contact-info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-block h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #32a81e;
    margin-bottom: 30px;
}

.contact-info-block .large-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e8e8e8;
    margin-bottom: 15px;
}

.contact-info-block a {
    color: #f2c200;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-block a:hover {
    color: #32a81e;
}

@media (max-width: 768px) {
    .contact-info-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-section {
        padding: 60px 20px;
    }
}

/* mobile: stack hero content & make card full-width centered */
@media (max-width:700px){
    .hero-inner{ flex-direction: column; align-items: center; }
    .welcome-card{ max-width: 96%; margin: 10px auto; top: 12px; }
    /* reduce overlap on small screens so content doesn't hide too much of hero */
    .page-content{ margin-top: -36px; }
}
@media (max-width:560px){ .footer-row{ flex-direction: column; gap: 12px; align-items: center; } .worktime{ flex-direction: column; align-items: center; text-align: center; } .worktime .times, .worktime .contact-info{ align-items: center; } .nav-footer ul{ flex-direction: column; gap: 8px; padding: 8px; } }
@media (max-width:420px){ .main-nav ul{ flex-direction: column; gap:8px; } .nav-footer ul{ flex-direction: column; gap:8px; padding:8px; } }
@media (max-width:400px){ body{ font-size:13px; } .footer-icons img{ max-height: 20px; } .worktime{ font-size: 13px; } }