/* ================================================================
   SHILLOVA HAUSMEISTERSERVICE
   ----------------------------------------------------------------
   1. Design tokens & reset
   2. Base elements & helpers
   3. Buttons
   4. Header & navigation
   5. Hero
   6. Services
   7. About
   8. Gallery
   9. CTA band
   10. Contact (info, map, form)
   11. Footer
   12. Lightbox
   13. Mobile contact bar
   14. Responsive
   ================================================================ */

/* ================================================================
   1. DESIGN TOKENS & RESET
   ================================================================ */
:root {
    /* Brand colours (taken from the Shillova logo) */
    --brand: #1b5e20;
    --brand-dark: #14481a;
    --brand-mid: #2e7d32;
    --accent: #7cb342;
    --accent-soft: #eaf3e6;

    /* Neutrals */
    --ink: #16211b;
    --text: #495349;
    --muted: #6e7b73;
    --surface: #ffffff;
    --surface-2: #f4f7f3;
    --border: #e2e9e2;

    /* Elevation */
    --shadow-sm: 0 1px 2px rgba(22, 33, 27, .06), 0 2px 6px rgba(22, 33, 27, .05);
    --shadow-md: 0 4px 10px rgba(22, 33, 27, .06), 0 14px 32px rgba(22, 33, 27, .08);
    --shadow-lg: 0 10px 24px rgba(22, 33, 27, .10), 0 28px 60px rgba(22, 33, 27, .12);

    /* Shape */
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-pill: 999px;

    /* Rhythm */
    --section-y: clamp(60px, 7.5vw, 104px);
    --header-h: 78px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--surface);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--brand);
}

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

button {
    cursor: pointer;
    background: none;
    border: 0;
}

ul {
    list-style: none;
}

/* Visible focus for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ================================================================
   2. BASE ELEMENTS & HELPERS
   ================================================================ */
.container {
    width: min(100% - 2.5rem, 1180px);
    margin-inline: auto;
}

.section {
    padding-block: var(--section-y);
}

.section--alt {
    background: var(--surface-2);
}

.section-head {
    max-width: 660px;
    margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--brand-mid);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
}

h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
    letter-spacing: -.01em;
}

.section-head p {
    margin-top: 14px;
    font-size: 1.0625rem;
    color: var(--muted);
}

.icon {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 12px 20px;
    border-radius: var(--r-sm);
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: top .2s;
}

.skip-link:focus {
    top: 12px;
}

/* ================================================================
   3. BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: var(--r-pill);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}

.btn .icon {
    width: 1.15em;
    height: 1.15em;
}

.btn--primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: #fff;
    border-color: var(--border);
    color: var(--brand);
}

.btn--outline:hover {
    border-color: var(--brand);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.btn--light {
    background: #fff;
    border-color: #fff;
    color: var(--brand);
}

.btn--light:hover {
    background: var(--accent-soft);
    border-color: var(--accent-soft);
    transform: translateY(-2px);
}

.btn--ghost-light {
    background: transparent;
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.btn--ghost-light:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn--sm {
    min-height: 44px;
    padding: 10px 20px;
    font-size: .9375rem;
}

.btn--block {
    width: 100%;
}

.btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* Text link with arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.link-arrow .icon {
    width: 1.05em;
    height: 1.05em;
    transition: transform .2s;
}

.link-arrow:hover {
    color: var(--brand-dark);
}

.link-arrow:hover .icon {
    transform: translateX(4px);
}

/* ================================================================
   4. HEADER & NAVIGATION
   ================================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    margin-right: auto;
    flex: none;
}

.brand img {
    height: 56px;
    width: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list a {
    position: relative;
    color: var(--ink);
    font-size: .9875rem;
    font-weight: 600;
    text-decoration: none;
    padding-block: 6px;
    transition: color .2s;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transition: width .22s;
}

.nav-list a:hover,
.nav-list a.is-active {
    color: var(--brand);
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-weight: 700;
    font-size: .9375rem;
    text-decoration: none;
    white-space: nowrap;
}

.header-phone .icon {
    width: 1.1em;
    height: 1.1em;
}

.header-phone:hover {
    color: var(--brand-dark);
}

/* Language switch */
.lang-switch {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    background: var(--surface-2);
}

.lang-switch button {
    min-width: 40px;
    padding: 6px 10px;
    border-radius: var(--r-pill);
    color: var(--muted);
    font-size: .8125rem;
    font-weight: 700;
    transition: background-color .2s, color .2s;
}

.lang-switch button:hover {
    color: var(--brand);
}

.lang-switch button.is-active {
    background: var(--brand);
    color: #fff;
}

/* Hamburger */
.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    transition: transform .25s, opacity .2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Only shown inside the open mobile panel */
.nav-panel-actions {
    display: none;
}

/* ================================================================
   5. HERO
   ================================================================ */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 80vh, 780px);
    isolation: isolate;
    overflow: hidden;
    background: var(--brand-dark);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 15%;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg,
        rgba(10, 28, 15, .90) 0%,
        rgba(10, 28, 15, .74) 36%,
        rgba(10, 28, 15, .34) 64%,
        rgba(10, 28, 15, .16) 100%);
}

.hero-content {
    padding-block: clamp(40px, 4.2vw, 62px);
    color: #fff;
}

.hero-inner {
    max-width: 620px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .12);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.09;
    text-wrap: balance;
}

.hero-sub {
    margin-top: 18px;
    max-width: 50ch;
    font-size: clamp(1.0625rem, 1.4vw, 1.15rem);
    color: rgba(255, 255, 255, .92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .22);
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .94);
}

.hero-points .icon {
    width: 1.15em;
    height: 1.15em;
    color: var(--accent);
    stroke-width: 2.6;
}

/* ================================================================
   6. SERVICES
   ================================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 26px;
}

.service-card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 34px 30px 30px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
    grid-column: span 3;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #cfdccd;
    box-shadow: var(--shadow-md);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 6px;
    border-radius: 18px;
    background: var(--accent-soft);
    color: var(--brand);
    transition: background-color .25s, color .25s;
}

.service-icon .icon {
    width: 30px;
    height: 30px;
    stroke-width: 1.7;
}

.service-card:hover .service-icon {
    background: var(--brand);
    color: #fff;
}

.service-card h3 {
    font-size: 1.3125rem;
}

.service-card > p {
    color: var(--muted);
    font-size: .9875rem;
    line-height: 1.62;
}

.service-card .link-arrow {
    margin-top: auto;
    padding-top: 12px;
    font-size: .9375rem;
}

/* ================================================================
   7. ABOUT
   ================================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.about-text h2 {
    margin-bottom: 18px;
}

.about-text p + p {
    margin-top: 14px;
}

.about-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 600;
    color: var(--ink);
}

.about-list .icon {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    padding: 3px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--brand);
    stroke-width: 3;
}

.about-media {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ================================================================
   8. GALLERY
   ================================================================ */
.gallery-group + .gallery-group {
    margin-top: clamp(38px, 4.5vw, 56px);
}

.gallery-group-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.gallery-group-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: var(--r-md);
    background: var(--surface-2);
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .45s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 26px 14px 12px;
    background: linear-gradient(to top, rgba(10, 28, 15, .82), rgba(10, 28, 15, 0));
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    text-align: left;
}

.gallery-caption .icon {
    width: 17px;
    height: 17px;
    opacity: .85;
}

.gallery-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .95);
    color: var(--muted);
}

.gallery-tag--after {
    background: var(--brand);
    color: #fff;
}

/* ================================================================
   WORK SLIDER - Fotot që ndërrohen automatikisht
   ================================================================ */

.work-group {
    margin-top: clamp(40px, 4.5vw, 60px);
}

.work-title {
    margin-bottom: 20px;
    text-align: center;
    font-size: clamp(1.1875rem, 2vw, 1.5rem);
    letter-spacing: -.01em;
}

/* Kontejneri kryesor */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-md);
}

/* Shiriti që lëviz */
.slider-track {
    display: flex;
    gap: 18px;
    transition: transform .65s ease;
    will-change: transform;
}

/* Çdo foto - e njëjta klasë për të gjitha */
.slider-item {
    position: relative;
    flex: 0 0 calc((100% - 36px) / 3);   /* 3 foto visible */
    padding: 0;
    border: 0;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--surface-2);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.slider-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.slider-item:hover img {
    transform: scale(1.05);
}

/* ================================================================
   SLIDER ARROWS - Shigjetat majtas/djathtas
   ================================================================ */

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--ink);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: background-color .2s, transform .2s, box-shadow .2s, color .2s;
    padding: 0;
}

.slider-arrow svg {
    width: 22px;
    height: 22px;
    display: block;
}

.slider-arrow:hover {
    background: var(--brand);
    color: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(.92);
}

.slider-arrow--prev {
    left: 12px;
}

.slider-arrow--next {
    right: 12px;
}
/* ================================================================
   BEFORE / AFTER SLIDER - Vorher / Nachher
   ================================================================ */

.before-after-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-md);
}

.before-after-track {
    display: flex;
    gap: 18px;
    transition: transform .65s ease;
    will-change: transform;
}

.before-after-item {
    position: relative;
    flex: 0 0 calc((100% - 54px) / 4);   /* 4 foto visible */
    padding: 0;
    border: 0;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--surface-2);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.before-after-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.before-after-item:hover img {
    transform: scale(1.05);
}

/* Pikat (dots) poshtë sliderit */
.before-after-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.before-after-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: var(--border);
    cursor: pointer;
    transition: background-color .25s, transform .25s, width .25s;
}

.before-after-dot:hover {
    background: var(--brand-mid);
    transform: scale(1.15);
}

.before-after-dot.is-active {
    background: var(--brand);
    width: 28px;
    border-radius: var(--r-pill);
}

/* Tablet: 3 foto */
@media (max-width: 900px) {
    .before-after-item {
        flex: 0 0 calc((100% - 36px) / 3);
    }
}

/* Mobile: 1 foto + scroll manual */
@media (max-width: 760px) {
    .before-after-slider {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .before-after-slider::-webkit-scrollbar {
        display: none;
    }

    .before-after-track {
        gap: 12px;
        transition: none;
        transform: none !important;
    }

    .before-after-item {
        flex: 0 0 calc(100% - 20px);
        scroll-snap-align: center;
    }

    .before-after-dots {
        display: none;
    }
}

/* Respekto preferencat për animacione */
@media (prefers-reduced-motion: reduce) {
    .before-after-track {
        transition: none;
    }
}
/* Tablet: 2 foto */
@media (max-width: 900px) {
    .slider-item {
        flex: 0 0 calc((100% - 18px) / 2);
    }
}

/* Mobile: 1 foto + scroll manual + pa shigjeta */
@media (max-width: 760px) {
    .slider-arrow {
        display: none;
    }

    .slider {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .slider::-webkit-scrollbar {
        display: none;
    }

    .slider-track {
        gap: 12px;
        transition: none;
        transform: none !important;
    }

    .slider-item {
        flex: 0 0 calc(100% - 20px);
        scroll-snap-align: center;
    }
}

/* Respekto preferencat për animacione */
@media (prefers-reduced-motion: reduce) {
    .slider-track {
        transition: none;
    }
}

/* ================================================================
   9. CTA BAND
   ================================================================ */
.cta-band {
    padding-block: clamp(56px, 7vw, 88px);
    background:
        radial-gradient(120% 140% at 12% 0%, var(--brand-mid) 0%, var(--brand) 45%, var(--brand-dark) 100%);
    color: #fff;
    text-align: center;
}

.cta-band h2 {
    color: #fff;
    max-width: 18ch;
    margin-inline: auto;
    text-wrap: balance;
}

.cta-band p {
    max-width: 56ch;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, .88);
    font-size: 1.0625rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

/* ================================================================
   10. CONTACT
   ================================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(28px, 3.5vw, 48px);
    align-items: stretch;   /* ← TË DYJA KOLONAT E NJËJTA LARTËSI */
}

.contact-panel {
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.contact-panel form {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.contact-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 26px;
}

.info-list {
    display: grid;
    gap: 4px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--border);
}

.info-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--brand);
}

.info-icon .icon {
    width: 20px;
    height: 20px;
}

.info-item dt {
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
}

.info-item dd {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
}

.info-item dd a {
    color: var(--ink);
    text-decoration: none;
    word-break: break-word;
}

.info-item dd a:hover {
    color: var(--brand);
    text-decoration: underline;
}

.map-frame {
    flex: 1;
    min-height: 260px;
    margin-top: 24px;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--border);
    line-height: 0;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
}

/* --- Form --- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    flex: 1;
    align-content: start;
}

.form-field {
    display: grid;
    gap: 6px;
}

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

.form-field label {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--ink);
}

.form-field .optional {
    font-weight: 500;
    color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: #fff;
    font-size: 1rem;
    transition: border-color .2s, box-shadow .2s;
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e7b73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    padding-right: 44px;
}

.form-field textarea {
    min-height: 190px;
    height: 100%;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--brand-mid);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, .13);
}

.form-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
}

.form-footer .btn {
    width: 100%;
    min-height: 54px;
    font-size: 1.0625rem;
}

.form-status {
    font-size: .9375rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    min-height: 0;
}

.form-status.is-success {
    color: var(--brand);
}

.form-status.is-error {
    color: #b3261e;
}

/* ================================================================
   11. FOOTER
   ================================================================ */
.site-footer {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, .78);
    font-size: .9375rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: clamp(28px, 4vw, 56px);
    padding-block: clamp(44px, 5vw, 66px);
}

.footer-logo {
    height: 54px;
    width: auto;
    margin-bottom: 18px;
    background: #fff;
    border-radius: var(--r-sm);
    padding: 7px 12px;
}

.footer-brand p {
    max-width: 40ch;
    line-height: 1.6;
}

.footer-col h3 {
    margin-bottom: 16px;
    color: #fff;
    font-size: .8125rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.footer-col ul {
    display: grid;
    gap: 11px;
}

.footer-col a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    transition: color .2s;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact .icon {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-block: 22px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: .875rem;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

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

.footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ================================================================
   12. LIGHTBOX
   ================================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 18, 12, .92);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.lightbox img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: var(--r-md);
}

.lightbox p {
    margin-top: 14px;
    color: #fff;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: -14px;
    right: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    transform: translateY(-100%);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
}

.lightbox-close .icon {
    width: 22px;
    height: 22px;
    stroke-width: 2.4;
}

/* ================================================================
   13. MOBILE CONTACT BAR
   ================================================================ */
.mobile-bar {
    display: none;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 24px rgba(22, 33, 27, .1);
}

.mobile-bar .btn {
    flex: 1;
    min-height: 50px;
    padding-inline: 12px;
    font-size: .9375rem;
}

/* ================================================================
   14. RESPONSIVE
   ================================================================ */
@media (max-width: 1080px) {
    .header-phone span {
        display: none;
    }

    .nav-list {
        gap: 22px;
    }
}

/* ---- Mobile navigation ---- */
@media (max-width: 960px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        padding: 8px 20px 28px;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: transform .22s ease, opacity .22s ease, visibility .22s;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        display: block;
    }

    .nav-list li + li {
        border-top: 1px solid var(--border);
    }

    .nav-list a {
        display: block;
        padding: 17px 4px;
        font-size: 1.0625rem;
    }

    .nav-list a::after {
        display: none;
    }

    .nav-panel-actions {
        display: grid;
        gap: 12px;
        margin-top: 22px;
    }

    .header-actions .btn--primary {
        display: none;
    }

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

    .about-media {
        order: -1;
        max-width: 560px;
    }

    .about-media img {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 980px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card,
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: span 1;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    :root {
        --header-h: 70px;
    }

    body {
        padding-bottom: 76px;
    }

    .mobile-bar {
        display: flex;
    }

    .lightbox {
        padding: 18px;
    }

    .lightbox-close {
        top: -10px;
    }

    .brand img {
        height: 44px;
    }

    .hero {
        min-height: clamp(460px, 70vh, 620px);
    }

    .hero::before {
        background: linear-gradient(180deg,
            rgba(10, 28, 15, .62) 0%,
            rgba(10, 28, 15, .82) 100%);
    }

    .hero-media img {
        object-position: 50% center;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-points {
        gap: 12px;
    }

    .hero-points li {
        width: 100%;
    }

    .contact-quick {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-footer .btn {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-caption {
        padding: 20px 10px 9px;
        font-size: .8125rem;
    }

    .slider-track {
        gap: 12px;
    }

    .work-group {
        margin-top: 34px;
    }

    .gallery-caption .icon {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 2rem, 1180px);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        padding: 26px 22px 24px;
    }

    .section-head {
        margin-bottom: 28px;
    }
}

@media (max-width: 400px) {
    .hero-points {
        display: none;
    }
}

@media (max-width: 339px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .lang-switch button {
        min-width: 34px;
        padding: 6px 7px;
    }
}

/* ================================================================
   15. LEGAL PAGES (Impressum / Datenschutz)
   ================================================================ */
.legal-hero {
    padding-block: clamp(44px, 6vw, 76px) clamp(28px, 3vw, 40px);
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.legal-body {
    padding-block: clamp(40px, 5vw, 68px);
}

.legal-content {
    max-width: 72ch;
}

.legal-content h2 {
    margin-top: 44px;
    margin-bottom: 14px;
    font-size: 1.375rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.0625rem;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 14px;
}

.legal-content ul {
    padding-left: 22px;
    list-style: disc;
}

.legal-content li {
    margin-bottom: 7px;
}

.legal-content a {
    color: var(--brand);
    word-break: break-word;
}

.legal-content address {
    font-style: normal;
    line-height: 1.8;
}

.legal-todo {
    display: block;
    margin: 18px 0;
    padding: 16px 18px;
    border-left: 4px solid #d9a300;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    background: #fff8e5;
    color: #6b5200;
    font-size: .9375rem;
}

.legal-todo strong {
    color: #4d3b00;
}
