/* ========================================
   Gebäudereinigung Nord – Stylesheet
   Color Scheme: Weiß + Cyan-Mint (#63fcfa), weniger Grün
   ======================================== */

:root {
    --primary: #63fcfa;
    --primary-dark: #0e7490;
    --primary-darker: #155e75;
    --primary-light: #8efefc;
    --primary-lighter: #e6fefd;
    --primary-glow: rgba(99, 252, 250, 0.22);
    --primary-glow-strong: rgba(99, 252, 250, 0.4);

    --white: #FFFFFF;
    --gray-50: #F8FAFA;
    --gray-100: #F1F5F5;
    --gray-200: #E2E8E8;
    --gray-300: #CBD5D5;
    --gray-400: #94A3A3;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    --success: #0e7490;
    --error: #EF4444;
    --warning: #F59E0B;

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px var(--primary-glow);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET & BASE ========== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Festes Logo als Wasserzeichen (bleibt im Viewport beim Scrollen) */
body::after {
    content: '';
    position: fixed;
    top: 50%;
    right: 6%;
    transform: translateY(-50%);
    width: min(420px, 48vw);
    height: min(420px, 48vw);
    z-index: 9999;
    pointer-events: none;
    background: url('../img/Logo.svg') no-repeat center / contain;
    opacity: 0.07;
}

@media (max-width: 900px) {
    body::after {
        right: 50%;
        transform: translate(50%, -50%);
        width: min(280px, 65vw);
        height: min(280px, 65vw);
        opacity: 0.055;
    }
}

@media print {
    body::before {
        display: none !important;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

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

.section {
    padding: 100px 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== BUTTONS ========== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--gray-900);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--primary-light);
    box-shadow: 0 8px 25px var(--primary-glow-strong);
    color: var(--gray-900);
}

.btn-outline {
    background: transparent;
    color: var(--gray-800);
    border-color: var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-lighter);
}

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* WhatsApp-Grün */
.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.cta-buttons .btn-whatsapp {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

/* Schwebender WhatsApp-Button (nicht mit „Nach oben“ kollidieren) */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 998;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    font-size: 28px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #20bd5a;
    color: var(--white);
    transform: scale(1.06);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========== NAVBAR ========== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon-img {
    height: 32px;
    width: auto;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
    background: var(--primary-lighter);
}

.btn-nav {
    margin-left: 8px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ========== HERO ========== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-glow);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(99, 252, 250, 0.08);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(99, 252, 250, 0.06);
    top: 50%;
    left: 50%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid rgba(99, 252, 250, 0.2);
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual */

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary-lighter);
}

.hero-circle:first-child {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(99, 252, 250, 0.15);
    animation: pulse-ring 4s ease-in-out infinite;
}

.hero-circle-2 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-glow);
    border-color: rgba(99, 252, 250, 0.2);
    animation: pulse-ring 4s ease-in-out infinite 0.5s;
}

.hero-circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow-strong));
    border-color: rgba(99, 252, 250, 0.3);
    animation: pulse-ring 4s ease-in-out infinite 1s;
}

@keyframes pulse-ring {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.8; }
}

.hero-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-800);
    z-index: 2;
    animation: card-float 6s ease-in-out infinite;
}

.hero-card:first-of-type {
    top: 15%;
    right: 10%;
}

.hero-card-2 {
    bottom: 25%;
    left: 0;
    animation-delay: -2s !important;
}

.hero-card-3 {
    bottom: 10%;
    right: 15%;
    animation-delay: -4s !important;
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    font-size: 18px;
}

@keyframes card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll Indicator */

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
}

.scroll-indicator i {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ========== SECTION HEADERS ========== */

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.8;
}

/* ========== SERVICES ========== */

.leistungen-section-footer {
    text-align: center;
    margin-top: 32px;
}

/* SEO: Standort-Seiten & breitere Inhalte */
.page-content-wide .container {
    max-width: 1100px;
}

.page-content.page-content-wide {
    padding: 60px 0 100px;
}

.page-content-seo .container {
    max-width: 820px;
}

.page-content.page-content-seo {
    padding: 60px 0 100px;
}

.page-content .lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.standorte-hub-cta {
    margin-top: 56px;
}

.standort-card h2 {
    font-size: 1.05rem;
}

.section-einsatzgebiete {
    background: var(--gray-50);
    padding-top: 80px;
    padding-bottom: 80px;
}

.standorte-seo-grid {
    margin-top: 8px;
}

.standort-card--all {
    border-color: var(--primary-light);
}

.standort-card--highlight {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 252, 250, 0.06) 0%, rgba(255, 255, 255, 1) 60%);
    box-shadow: 0 4px 20px rgba(99, 252, 250, 0.12);
}

.standort-card--highlight h2 {
    color: var(--primary);
}

.standort-card--highlight::after {
    content: "Firmensitz";
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(99, 252, 250, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

.footer-grid-5 {
    grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr;
    gap: 28px;
}

@media (max-width: 1200px) {
    .footer-grid-5 {
        grid-template-columns: 1fr 1fr;
    }
}

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

.service-card {
    padding: 36px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    border-radius: var(--radius-md);
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-dark);
}

.service-link:hover {
    gap: 10px;
    color: var(--primary);
}

/* ========== ABOUT ========== */

.about {
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-pattern {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--primary) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.3;
    z-index: 0;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-lighter), var(--gray-100));
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-dark);
    border: 2px dashed var(--primary-light);
}

.about-image-placeholder i {
    font-size: 48px;
    opacity: 0.6;
}

.about-badge-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.badge-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 20px;
}

.about-badge-card strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--gray-900);
}

.about-badge-card span {
    font-size: 13px;
    color: var(--gray-500);
}

.about-content .section-tag {
    display: inline-block;
}

.about-content h2 {
    font-size: clamp(28px, 3.5vw, 36px);
    margin-bottom: 20px;
}

.about-content > p {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    color: var(--primary);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-feature strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========== TESTIMONIALS ========== */

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

.testimonial-card {
    padding: 36px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #FBBF24;
    font-size: 16px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--gray-800);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--gray-400);
}

/* ========== CTA SECTION ========== */

.cta-section {
    padding: 60px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== CONTACT ========== */

.kontakt {
    background: var(--gray-50);
}

.contact-whatsapp-hint {
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--gray-600);
}

.contact-whatsapp-hint a {
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
}

.contact-whatsapp-hint a:hover {
    text-decoration: underline;
}

.contact-whatsapp-hint .fa-whatsapp {
    color: #25d366;
    margin-right: 4px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lighter);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary-dark);
}

.contact-card a:hover {
    color: var(--primary);
}

/* Contact Form */

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2364748B'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray-500);
    margin-bottom: 0;
}

.form-checkbox a {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Form Messages */

.form-message {
    text-align: center;
    padding: 60px 40px;
    border-radius: var(--radius-lg);
}

.form-message i {
    font-size: 48px;
    margin-bottom: 20px;
}

.form-message h3 {
    margin-bottom: 12px;
}

.form-success {
    background: var(--primary-lighter);
    border: 1px solid rgba(99, 252, 250, 0.45);
}

.form-success i {
    color: var(--primary-dark);
}

.form-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
}

.form-error i {
    color: var(--error);
}

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

.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    display: flex;
    color: var(--white);
}

.footer-logo .logo-icon-img {
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--gray-400);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
}

/* ========== BACK TO TOP ========== */

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========== COOKIE BANNER ========== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--gray-100);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-text h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.cookie-text p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary-dark);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 48px;
        min-height: 48px;
        padding: 12px;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        background: var(--white);
        padding: 100px 32px 40px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-slow);
        gap: 12px;
        align-items: stretch;
    }

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

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 14px 20px;
        font-size: 17px;
        line-height: 1.35;
        border-radius: var(--radius-md);
    }

    .btn-nav {
        margin-left: 0;
        text-align: center;
        justify-content: center;
        margin-top: 8px;
        min-height: 52px;
        padding: 16px 24px !important;
        font-size: 16px;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section {
        padding: 70px 0;
    }

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

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

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

    .contact-form {
        padding: 28px;
    }

    .cta-card {
        padding: 50px 30px;
    }

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-actions .btn {
        justify-content: center;
    }

    .hero-scroll {
        display: none;
    }

    .about-badge-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .service-card {
        padding: 28px;
    }
}

/* ========== OVERLAY (mobile menu) ========== */

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== ANIMATIONS (scroll reveal) ========== */

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ========== PAGE STYLES (Subpages) ========== */

.page-header {
    padding: 150px 0 64px;
    background: linear-gradient(180deg, var(--gray-50) 60%, var(--white) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -12%;
    width: 550px;
    height: 550px;
    background: var(--primary-glow);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: rgba(99, 252, 250, 0.06);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.page-header p {
    color: var(--gray-500);
    font-size: 17px;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    background: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.page-breadcrumb a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition);
}

.page-breadcrumb a:hover {
    color: var(--primary);
}

.page-breadcrumb span.sep {
    color: var(--gray-300);
    margin: 0 4px;
    font-size: 11px;
}

/* -- Trust Bar (subpage) -- */

.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.trust-bar-inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--gray-700);
}

.trust-bar-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    font-size: 15px;
    flex-shrink: 0;
}

/* -- CTA Box -- */

.service-page-cta {
    margin-top: 48px;
    padding: 48px 40px;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    border-radius: var(--radius-xl);
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.service-page-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 320px;
    height: 320px;
    background: var(--primary-glow);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.service-page-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: rgba(99, 252, 250, 0.06);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.service-page-cta h2 {
    margin-top: 0;
    margin-bottom: 12px;
    padding-top: 0;
    border-top: none;
    font-size: 24px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.service-page-cta p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-page-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* -- Leistungen Overview Grid -- */

.leistungen-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.leistungen-overview-card {
    display: block;
    padding: 28px 28px 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.leistungen-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}

.leistungen-overview-card::after {
    content: '→';
    position: absolute;
    bottom: 24px;
    right: 24px;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-300);
    transition: var(--transition);
}

.leistungen-overview-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.leistungen-overview-card:hover::before {
    transform: scaleX(1);
}

.leistungen-overview-card:hover::after {
    color: var(--primary);
    transform: translateX(4px);
}

.leistungen-overview-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    border-radius: var(--radius-md);
    font-size: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.leistungen-overview-card:hover .card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.leistungen-overview-card h2 {
    font-size: 18px;
    margin-bottom: 8px;
    margin-top: 0;
    padding-top: 0;
    border: none;
    color: var(--gray-900);
    transition: var(--transition);
}

.leistungen-overview-card:hover h2 {
    color: var(--primary-dark);
}

.leistungen-overview-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.7;
    padding-right: 28px;
}

/* Standort card with pin icon */
.standort-card .card-icon {
    background: linear-gradient(135deg, rgba(99, 252, 250, 0.08), rgba(99, 252, 250, 0.15));
}

/* -- Page Content -- */

.page-content {
    padding: 60px 0 100px;
}

.page-content .container {
    max-width: 800px;
}

.page-content h2 {
    font-size: 23px;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-top: 28px;
    border-top: 1px solid var(--gray-100);
    letter-spacing: -0.01em;
}

.page-content h2:first-child,
.page-content > .container > p:first-child + h2,
.page-content > .container > .lead + h2,
.page-content > .container > p:first-child + .leistungen-overview-grid + .service-page-cta + h2 {
    margin-top: 24px;
    border-top: none;
    padding-top: 0;
}

.page-content h3 {
    font-size: 18px;
    margin-top: 28px;
    margin-bottom: 12px;
}

.page-content p,
.page-content li {
    font-size: 15px;
    line-height: 1.85;
    color: var(--gray-600);
    margin-bottom: 14px;
}

.page-content > .container > p:first-child,
.page-content .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.page-content ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 24px 28px 14px;
    border: 1px solid var(--gray-100);
}

.page-content ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
}

.page-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 13px;
    color: var(--primary);
}

.page-content a {
    color: var(--primary-dark);
    text-decoration: underline;
    text-decoration-color: rgba(99, 252, 250, 0.45);
    text-underline-offset: 3px;
    transition: var(--transition);
}

.page-content a:hover {
    text-decoration-color: var(--primary);
}

.page-content a.btn,
.page-content a.leistungen-overview-card,
.page-content a.standort-card {
    text-decoration: none;
    color: inherit;
}

.page-content .btn-primary,
.page-content .btn-primary:hover {
    color: var(--gray-900);
}

.page-content .btn-whatsapp,
.page-content .btn-whatsapp:hover {
    color: var(--white);
}

.page-content .btn-outline,
.page-content .btn-outline:hover {
    text-decoration: none;
    color: var(--gray-800);
}

/* -- Related Services Grid (bottom of subpages) -- */

.related-services {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-100);
}

.related-services h2 {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 20px;
    text-align: center;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.related-service-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--gray-700);
    text-decoration: none;
    transition: var(--transition);
}

.related-service-link:hover {
    background: var(--primary-lighter);
    border-color: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.related-service-link i {
    color: var(--primary);
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* -- CTA Button overrides inside CTA box -- */

.service-page-cta a {
    text-decoration: none;
    color: var(--white);
}

.service-page-cta .btn-primary {
    background: var(--white);
    color: var(--gray-900);
    border-color: var(--white);
}

.service-page-cta .btn-primary:hover {
    background: var(--gray-100);
    color: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.service-page-cta .btn-whatsapp {
    background: #25d366;
    color: var(--white);
    border: 2px solid transparent;
}

.service-page-cta .btn-whatsapp:hover {
    background: #20bd5a;
    color: var(--white);
}

/* -- Subpage Responsive -- */

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 48px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .trust-bar-inner {
        gap: 20px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 4px;
        flex-wrap: nowrap;
    }

    .trust-bar-item {
        font-size: 13px;
        flex-shrink: 0;
    }

    .service-page-cta {
        padding: 36px 24px;
    }

    .page-content ul {
        padding: 20px 20px 10px;
    }

    .related-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 110px 0 36px;
    }

    .page-breadcrumb {
        font-size: 12px;
        padding: 5px 12px;
    }

    .service-page-cta-buttons {
        flex-direction: column;
    }

    .service-page-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .related-services-grid {
        grid-template-columns: 1fr;
    }

    .trust-bar-inner {
        gap: 16px;
    }
}
