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

:root {
    --primary-blue: #4A90E2;
    --light-blue: #E8F4F8;
    --dark-blue: #2C5F8D;
    --darker-blue: #234C71;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-dark: #333333;
    --text-gray: #666666;
    --top-header-height: 45px;
    --nav-height: 70px;
    --total-header-height: 115px;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
    scroll-behavior: smooth;
    scroll-padding-top: var(--total-header-height);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

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

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

/* Skip to Content Link for Accessibility */
.skip-to-content {
    position: fixed;
    top: 0;
    left: 0.75rem;
    transform: translateY(-150%);
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 8px 8px;
}

.skip-to-content:focus,
.skip-to-content:focus-visible {
    transform: translateY(0);
}

/* Top Contact Header */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--dark-blue);
    color: var(--white);
    z-index: 1001;
    height: var(--top-header-height);
}

.top-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.top-header-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.top-header-item a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-header-item a:hover {
    opacity: 0.8;
}

.top-header-item a:focus,
.top-header-item a:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.top-header-item i {
    color: var(--primary-blue);
}

.opening-hours {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Navigation */
nav {
    position: fixed;
    top: var(--top-header-height);
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    height: var(--nav-height);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 2rem;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo:focus,
.logo:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 4px;
    border-radius: 4px;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

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

.logo-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-gray);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--dark-blue);
}

.nav-links a:focus,
.nav-links a:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-links a.active {
    color: var(--dark-blue);
    font-weight: 700;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.menu-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--dark-blue) !important;
    color: var(--white) !important;
    padding: 0.55rem 1rem !important;
    border-radius: 25px;
    font-weight: 700 !important;
    line-height: 1;
}

.menu-cta:hover {
    background: var(--darker-blue) !important;
}

.menu-cta:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 3px;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
}

.burger:focus,
.burger:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
}

/* Sticky Contact Buttons (Mobile) */
.sticky-contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 998;
}

.sticky-call-button,
.sticky-whatsapp-button {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.sticky-call-button {
    background: var(--primary-blue);
}

.sticky-whatsapp-button {
    background: #25D366;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.sticky-call-button:hover,
.sticky-call-button:focus-visible {
    background: var(--dark-blue);
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(74, 144, 226, 0.8);
}

.sticky-whatsapp-button:hover,
.sticky-whatsapp-button:focus-visible {
    background: #1ebe5d;
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.55);
}

/* Sichtbarer Fokus-Indikator auf hellem Seitenhintergrund */
.sticky-call-button:focus-visible,
.sticky-whatsapp-button:focus-visible,
.back-to-top:focus-visible {
    outline: 3px solid var(--dark-blue);
    outline-offset: 3px;
}

.sticky-call-button i,
.sticky-whatsapp-button i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1105;
    /* box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4); */
    box-shadow: 0 0 0 3px #39FF14, 0 4px 15px rgba(74, 144, 226, 0.4);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    line-height: 1;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--dark-blue);
    transform: translateY(-5px);
    /* box-shadow: 0 6px 20px rgba(74, 144, 226, 0.6); */
    box-shadow: 0 0 0 3px #39FF14, 0 6px 20px rgba(74, 144, 226, 0.6);
}

.back-to-top span {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

/* Hero */
.hero {
    padding-top: var(--total-header-height);
    min-height: 100vh;
    min-height: 100dvh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
        url('../../images/hero-dachsanierung-solar-holz-fassade.webp') 15% 25% / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: clamp(2.2rem, 1.2rem + 4vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subline {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
}

.hero-benefits {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-hours {
    margin-top: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--dark-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button:focus,
.cta-button:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 4px;
}


/* Sections */
section {
    padding: 5rem 2rem;
}

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

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 1.2rem + 2vw, 2.5rem);
    color: var(--dark-blue);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}



.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

/* About Section */
#about {
    background: var(--light-blue);
}

.about-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content strong {
    color: var(--dark-blue);
    font-weight: 600;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 150px;
}

.stat strong {
    display: block;
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat span {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0.8rem;
    text-align: left;
}

.service-card .service-target {
    font-size: 0.9rem;
    color: var(--dark-blue);
    font-weight: 600;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--light-blue);
    text-align: center;
    text-wrap: balance;
}

/* Glühbirne */
.service-target i {
    color: #FFC107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.55);
}

/* Mini-CTA: Beispielprojekt in Lightbox öffnen */

.service-example-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.4rem;
    padding: 0.45rem 1.1rem;
    border: 1px solid var(--dark-blue);
    border-radius: 999px;
    background: transparent;
    color: var(--dark-blue);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.service-example-cta:hover,
.service-example-cta:focus-visible {
    background: var(--dark-blue);
    color: var(--white);
}

.service-example-cta:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}


/* Why Us Section */
#why-us {
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
}

/* Phosphor Duotone: Primär = Dunkelblau, Sekundär = Akzent-Blau */
.service-icon i,
.feature-icon i {
    --ph-duotone-primary: var(--dark-blue);
    --ph-duotone-secondary: var(--primary-blue);
}

/* Hover passend dazu */
.service-card:hover .service-icon i,
.feature-box:hover .feature-icon i {
    --ph-duotone-primary: var(--primary-blue);
    --ph-duotone-secondary: var(--dark-blue);
}

/* Optische Feinjustierung: Leiter etwas kräftiger */
.feature-icon .ph-ladder {
    font-size: 2.75rem;
}


.feature-box h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.feature-box p {
    color: var(--text-gray);
}

/* Projects Section */
/* .project-images {
    display: grid;
    grid-template-columns: repeat(3, 340px);
    gap: 1.5rem;
    margin: 2rem auto 0;
    justify-content: center;
    align-items: stretch;
    max-width: calc((3 * 340px) + (2 * 1.5rem));
} */

/* .project-figure {
    margin: 0;
    width: 340px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
} */

.project-images {
    display: grid;
    grid-template-columns: repeat(3, 340px);
    gap: 1.5rem;
    margin: 2rem auto 0;
    justify-content: center;
    align-items: stretch;
    max-width: calc((3 * 340px) + (2 * 1.5rem));
}

.project-figure {
    margin: 0;
    width: 340px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}




.project-figure:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.project-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center center;
    display: block;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.project-image--solar {
    object-position: 54% 30%;
}

.project-image:hover {
    transform: scale(1.02);
}

.project-image:focus {
    outline: none;
}

.project-image:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 4px;
}

/* .project-caption {
    text-align: center;
    padding: 0.9rem 1rem 1rem;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
} */

.project-caption {
    text-align: center;
    padding: 0.9rem 1rem 1rem;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    flex: 1 1 auto;
}


.project-meta {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.3rem;
}

@media (max-width: 1100px) {
    .project-images {
        grid-template-columns: repeat(2, 340px);
        max-width: calc((2 * 340px) + 1.5rem);
    }
}

@media (max-width: 760px) {
    .project-images {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 1.25rem;
    }

    .project-figure {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .project-image {
        height: 220px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: calc(90vh - 140px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 80px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus,
.lightbox-close:focus-visible {
    background: var(--primary-blue);
    color: var(--white);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-prev:focus,
.lightbox-next:focus,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

/* Sichtbarer Fokus-Indikator auf dunklem Lightbox-Overlay */
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 3px;
}

/* Bildunterschrift: oben über dem Bild */
.lightbox-title {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.45;
    max-width: min(90vw, 700px);
    width: max-content;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10001;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: break-word;
    word-break: normal;
}

/* Conversion-CTA direkt unter dem Bild */
.lightbox-cta {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(74, 144, 226, 0.4);
    transition: background 0.3s ease;
    z-index: 10001;
}

.lightbox-cta strong {
    font-weight: 700;
}

.lightbox-cta:hover,
.lightbox-cta:focus-visible {
    background: var(--dark-blue);
}

/* Contact Section */
#contact {
    background: linear-gradient(to bottom, #f8fafc 0%, #eef4f8 100%);
}

.contact-intro {
    max-width: 760px;
    margin: 0 auto 2.2rem;
    text-align: center;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.contact-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: rgba(0, 102, 204, 0.08); */
    background: rgba(74, 144, 226, 0.08);
    color: var(--primary-blue);
    font-size: 1rem;
}

.contact-item-icon .fa-whatsapp {
    color: #25D366;
}

.contact-item-content {
    flex: 1;
    min-width: 0;
}

.contact-item-content h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
    line-height: 1.3;
    color: var(--text-dark);
}

.contact-item-content a,
.contact-item-content p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.contact-item-content a {
    display: inline-block;
    color: var(--dark-blue);
    font-weight: 500;
    text-decoration: none;
}

.contact-item-content a:hover {
    text-decoration: underline;
}

.contact-item-content a:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 3px;
    border-radius: 6px;
}

.contact-item-content p + p,
.contact-item-content a + p {
    margin-top: 0.35rem;
}

.contact-form {
    background: var(--white);
    border-radius: 16px;
    padding: 1.6rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.1rem;
}

.form-group label {
    margin-bottom: 0.45rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font-size: 0.98rem;
    color: var(--text-dark);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8a94a6;
}
/* 
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
} */

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.12);
}


.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Notfall-Hinweis unter dem Select */
.form-hint-emergency {
    margin: -0.4rem 0 1.1rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.25);
    color: #8a1f1f;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-hint-emergency a {
    color: inherit;
    font-weight: 600;
}

.form-status {
    display: none;
    margin-bottom: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    background: #eaf6ee;
    color: #1f5f35;
    border: 1px solid rgba(31, 95, 53, 0.18);
}

.form-status.is-error {
    background: #fff1f1;
    color: #8a1f1f;
    border: 1px solid rgba(138, 31, 31, 0.18);
}

.form-status a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.form-status a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 4px;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.4rem;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 999px;
    background-color: var(--dark-blue);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    /* box-shadow: 0 8px 18px rgba(0, 102, 204, 0.22); */
    box-shadow: 0 8px 18px rgba(44, 95, 141, 0.22);

}

.submit-button:hover,
.submit-button:focus-visible {
    transform: translateY(-1px);
    background-color: var(--darker-blue);
    color: var(--white);
    /* box-shadow: 0 10px 24px rgba(0, 102, 204, 0.28); */
    box-shadow: 0 10px 24px rgba(44, 95, 141, 0.28);
}

.submit-button:active {
    transform: translateY(0);
    background-color: var(--darker-blue);
    color: var(--white);
}

.submit-button:focus-visible {
    outline: 3px solid var(--dark-blue);
    outline-offset: 3px;
}

.form-trust {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-trust i {
    color: var(--primary-blue);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .contact-info {
        order: 1;
    }

    .contact-form {
        order: 2;
    }
}

@media (max-width: 768px) {
    .contact-intro {
        margin-bottom: 1.5rem;
        font-size: 0.98rem;
    }

    .contact-container {
        gap: 1.4rem;
    }

    .contact-item {
        padding: 0.95rem 1rem;
        gap: 0.85rem;
    }

    .contact-item-icon {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .contact-item-content h3 {
        font-size: 0.98rem;
    }

    .contact-item-content a,
    .contact-item-content p {
        font-size: 0.93rem;
    }

    .contact-form {
        padding: 1.2rem;
        border-radius: 14px;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.9rem 0.95rem;
        font-size: 1rem;
    }

    .submit-button {
        padding: 0.95rem 1.1rem;
        font-size: 0.98rem;
    }

    .form-trust {
        font-size: 0.86rem;
    }
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

footer p {
    color: var(--white);
}

footer a {
    color: var(--white);
    text-decoration: none;
    margin: 0 1rem;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

footer a:focus,
footer a:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Tablet / small desktop navigation */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0.9rem 1.25rem;
    }

    .logo {
        transform: scale(0.92);
        transform-origin: left center;
        gap: 6px;
    }

    .logo-image {
        height: 36px;
    }

    .logo-name {
        font-size: 1.3rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--total-header-height);
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        background: var(--white);
        width: min(360px, 100%);
        height: calc(100vh - var(--total-header-height));
        padding: 1.25rem 1.25rem 1.5rem;
        text-align: left;
        box-shadow: -10px 0 24px rgba(0, 0, 0, 0.12);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        display: block;
        width: 100%;
        font-size: 1.05rem;
        padding: 0.8rem 0.2rem;
    }

    .nav-links a.active::after {
        display: none;
    }

    .menu-cta {
        width: 100%;
        margin-top: 0.75rem;
        padding: 0.9rem 1rem !important;
        border-radius: 16px;
        font-size: 1rem;
    }

    .burger {
        display: flex;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    :root {
        --top-header-height: 52px;
        --nav-height: 70px;
        --total-header-height: 122px;
    }

    .top-header {
        height: 52px;
    }

    .top-header-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        padding: 0 0.75rem;
        height: 100%;
        overflow: hidden;
    }

    .opening-hours {
        display: none !important;
    }

    .top-header-item {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.8rem;
        white-space: nowrap;
        min-width: 0;
        flex: 0 1 auto;
    }

    .top-header-item a {
        white-space: nowrap;
    }

    .top-header-item i {
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    nav {
        top: 52px;
    }

    .logo {
        transform: scale(0.9);
        transform-origin: left center;
        gap: 6px;
    }

    .logo-image {
        height: 36px;
    }

    .logo-name {
        font-size: 1.3rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
    }

    .nav-links {
        top: 122px;
        width: 100%;
        height: calc(100vh - 122px);
        padding: 1.25rem 1rem 1.5rem;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.85rem 0.2rem;
    }

    .menu-cta {
        width: 100%;
        margin-top: 0.75rem;
        justify-content: center;
    }

    .hero {
        padding-top: 0;
        margin-top: 122px;
        min-height: 85vh;
        min-height: 85dvh;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1.2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subline {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .hero-benefits {
        font-size: 1rem;
    }

    .hero-hours {
        font-size: 0.95rem;
    }


    .cta-button {
        font-size: 1rem;
        padding: 0.9rem 2rem;
    }

    .sticky-contact-buttons {
        display: flex;
        right: 16px;
        bottom: 16px;
        gap: 12px;
    }

    .sticky-call-button,
    .sticky-whatsapp-button {
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
    }

    .back-to-top {
        right: 16px;
        bottom: 152px;
        width: 50px;
        height: 50px;
    }

    .back-to-top span {
        font-size: 22px;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-content {
        font-size: 1rem;
    }

    .stats-row {
        gap: 1.5rem;
    }

    .stat {
        min-width: 120px;
        padding: 1.2rem 1.5rem;
    }

    .stat strong {
        font-size: 2rem;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card,
    .feature-box {
        padding: 1.5rem;
    }

    .project-images {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 1.25rem;
    }

    .project-figure {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .project-image {
        height: 220px;
    }

    .lightbox-content {
        margin-top: 110px;
        margin-bottom: 100px;
        max-height: calc(100vh - 280px);
    }

    .lightbox-cta {
        top: calc(100% + 12px);
        white-space: normal;
        text-align: center;
        max-width: 90vw;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 56px;
        height: 56px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 56px;
        height: 56px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

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

    footer {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
}

/* Lightbox-Ladezustand: altes Bild abdunkeln + Spinner */
.lightbox-content.is-loading .lightbox-image {
    opacity: 0.35;
}

.lightbox-content.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: lightboxSpin 0.9s linear infinite;
    z-index: 10002;
}

@keyframes lightboxSpin {
    to { transform: rotate(360deg); }
}


.statement-zone {
    background: var(--white);
    padding: 4.5rem 1.5rem;
    text-align: center;
}

.statement-claim {
    margin: 0;
    font-weight: 600;
    font-size: clamp(1.25rem, 1rem + 1.2vw, 1.6rem);
    letter-spacing: 0.02em;
    color: var(--dark-blue);
}

.footer-links {
    margin-top: 1rem;
}

.footer-copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-claim {
    margin: 0.9rem 0 0;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: var(--white);
    opacity: 0.92;
}

@media (pointer: coarse) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .hero-hours {
        display: none;
    }
}

.cta-button:active {
    transform: translateY(-1px);
}

.menu-cta:active {
    background: var(--darker-blue) !important;
}

.service-example-cta:active {
    background: var(--darker-blue);
}

.sticky-call-button:active,
.sticky-whatsapp-button:active {
    transform: scale(1.02);
}