/* ==========================================================================
   CSS RESET & VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #0A2540;
    /* Deep Navy */
    --color-primary-light: #1A3A5F;
    --color-accent: #FF6B00;
    /* Signal Orange */
    --color-accent-hover: #E56000;
    --color-success: #00B33C;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F6F9FC;
    --color-border: #E2E8F0;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 80px 20px;
    --border-radius: 8px;
    --border-radius-lg: 16px;

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 4px rgba(10, 37, 64, 0.05);
    --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 12px 24px rgba(10, 37, 64, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
    font-size: 1.125rem;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--color-bg-alt);
}

.bg-dark {
    background-color: var(--color-primary);
    color: white;
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark p {
    color: white;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #1EBE57;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background-color: rgba(10, 37, 64, 0.05);
}

.btn-white {
    background-color: white;
    color: var(--color-primary);
}

.btn-white:hover {
    background-color: var(--color-bg-alt);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    padding: 10px 20px;
    background-color: var(--color-bg-alt);
    border-radius: 50px;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--color-accent);
    color: white;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle background accent pattern */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content,
.hero-image {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(10, 37, 64, 0.1);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 500;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Floating Trust Badge */
.trust-badge-float {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 6s ease-in-out infinite;
}

.trust-badge-float .stars {
    color: #FFB800;
    font-size: 1.2rem;
}

.trust-badge-float .text {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.9rem;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ==========================================================================
   SERVICES OVERVIEW
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 0, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--color-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--color-accent);
    color: white;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
}

.service-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   TRUST / USPs
   ========================================================================== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: var(--color-accent);
}

.trust-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    position: relative;
    padding: 100px 20px;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   SEO REGIONS (Einsatzgebiete)
   ========================================================================== */
.seo-regions {
    background-color: #f8f9fa;
    padding: 60px 20px;
    border-top: 1px solid var(--color-border);
}

.seo-regions-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.seo-regions h3 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.seo-regions p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.regions-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.region-tag {
    background-color: white;
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.region-tag:hover {
    background-color: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #051322;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        /* We'll add a mobile menu via JS later */
    }

    .services-grid,
    .trust-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .trust-badge-float,
    .google-badge-float {
        display: none;
    }
}

/* New styles for hero image and floating badges */
.hero-image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin: 0 auto;
}

.hero-image {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    height: auto;
    display: block;
}

.trust-badge-float {
    position: absolute;
    top: 20px;
    bottom: auto;
    left: -30px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    animation: floating 3s ease-in-out infinite alternate;
}

/* ==========================================================================
   GOOGLE REVIEWS
   ========================================================================== */
.google-badge-float {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    z-index: 2;
    animation: floating 3s ease-in-out infinite alternate;
    animation-delay: 1s;
    /* Slight delay compared to MyHammer to avoid synchronized bobbing */
}

.review-header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    margin-bottom: 50px;
}

.review-title-area {
    max-width: 850px;
    margin: 0 auto;
}

.review-badge {
    background-color: transparent;
    color: var(--color-accent);
    padding: 4px 0;
    border-bottom: 2px solid var(--color-accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
}

.review-title-area h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.review-summary-box {
    background: white;
    padding: 18px 40px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255, 107, 0, 0.1);
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: #fdfdfd;
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--color-accent);
}

.review-card .stars {
    color: #FFB800;
    font-size: 1rem;
    margin-bottom: 15px;
}

.review-text {
    flex: 1;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.6;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px dashed var(--color-border);
    padding-top: 20px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    overflow: hidden;
    background-color: #e0e0e0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-primary);
}

.author-info span {
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 992px) {
    .review-header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1EBE57;
    transform: scale(1.1);
    color: white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}