/* ==========================================================================
   CLEAN FOR YOU - New Design
   Light blue/white gradient, modern card-based layout
   ========================================================================== */

:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a5f;

    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #4a5568;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --green-500: #22c55e;
    --green-100: #dcfce7;

    --white: #ffffff;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --container: 1200px;
    --header-h: 80px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-700); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.skip-link {
    position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
    background: var(--blue-600); color: var(--white); padding: 8px 24px;
    border-radius: 8px; z-index: 9999;
}
.skip-link:focus { top: 16px; color: var(--white); }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }

.container { width: min(100% - clamp(48px, 8.8vw, 180px), 1700px); margin: 0 auto; }

h1, h2, h3, h4 { color: var(--blue-900); font-weight: 700; line-height: 1.2; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; font-size: 15px; font-weight: 600;
    border-radius: 50px; transition: all 0.25s; white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, #009BFF, #005FD1);
    color: var(--white); box-shadow: 0 4px 16px rgba(0,95,209,0.32);
}
.btn-primary:hover {
    color: var(--white); transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0,95,209,0.45);
}
.btn-outline {
    background: var(--white); color: var(--blue-600);
    border: 2px solid var(--blue-200);
}
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-50); }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.header {
    position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
    background: rgba(255,255,255,0.35); backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px); z-index: 1000; transition: all 0.3s;
}
.header-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); background: rgba(255,255,255,0.97); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo img {
    height: 70px;
    width: auto;
}

.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--gray-600); font-weight: 500; font-size: 15px; position: relative; padding: 4px 0; }
.nav-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2.5px;
    background: var(--blue-600); border-radius: 2px; transition: width 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--blue-700); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

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

.header-phone {
    display: none; align-items: center; gap: 8px; color: #0077E6;
    font-weight: 600; font-size: 16px; padding: 11px 24px;
    background: var(--white);
    border: 1.5px solid var(--blue-200); border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,119,230,0.1);
}
.header-phone svg { color: #0077E6; }
.header-phone:hover { border-color: #0077E6; color: #005FD1; box-shadow: 0 4px 16px rgba(0,119,230,0.18); }

.header-cta { display: none; padding: 11px 28px; font-size: 16px; }

.nav-toggle {
    display: flex; flex-direction: column; gap: 5px; padding: 8px;
}
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 24px; height: 2px;
    background: var(--gray-700); transition: all 0.2s;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { bottom: 0; transform: rotate(-45deg); }

@media (max-width: 767px) {
    .nav {
        position: fixed; top: var(--header-h); left: 0; right: 0;
        background: var(--white); padding: 16px 24px;
        transform: translateY(-100%); opacity: 0; visibility: hidden;
        transition: all 0.3s; box-shadow: var(--shadow-lg);
    }
    .nav.nav-open { display: block; transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-link { display: block; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
    .nav-link::after { display: none; }
    .nav-toggle { margin-left: auto; }
    .header-actions { display: none; }
}

@media (min-width: 768px) {
    .nav { display: block; }
    .nav-toggle { display: none; }
    .header-phone { display: flex; }
    .header-cta { display: inline-flex; }
}

/* ---------- Hero + Pricing shared background wrapper ---------- */
.hero-priser-wrap {
    position: relative;
    overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 0;
}

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

.hero-banner-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: right 20%;
    display: block;
}

/* Fade background out at midpoint of pricing section */
.hero-bg-fade {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom,
        transparent 65%,
        rgba(255,255,255,0.6) 72%,
        rgba(255,255,255,1) 78%
    );
}

/* Animated sparkle dots */
.hero-sparkle {
    position: absolute;
    animation: sparkle-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

/* CSS sparkles accent the center transition zone */
.hs1 { top: 20%; left: 48%; animation-delay: 0s; }
.hs2 { top: 55%; left: 44%; animation-delay: 0.9s; }
.hs3 { top: 38%; left: 52%; animation-delay: 1.8s; }
.hs4 { top: 72%; left: 50%; animation-delay: 2.4s; }
.hs5 { top: 12%; left: 55%; animation-delay: 1.2s; }

@keyframes sparkle-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50%       { opacity: 1;   transform: scale(1.35) rotate(18deg); }
}

/* Content positioned over background */
.hero-inner {
    position: relative; z-index: 2;
    padding-top: calc(var(--header-h) + 10px);
    padding-bottom: 16px;
}


/* 3-column flex grid */
.hero-grid {
    display: flex;
    align-items: center;
}

.hero-text {
    flex: 0 0 100%;
    max-width: 560px;
}

.hero-brand-col,
.hero-room-col { display: none; }

/* Main headline */
.hero-text h1 {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 800;
    color: #073B88;
    line-height: 1.08;
    margin-bottom: 14px;
    white-space: nowrap;
}

.hero-h1-accent { color: #1597F2; }

.hero-desc {
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    color: #0A2F66;
    line-height: 1.5;
    margin-bottom: 18px;
    max-width: 490px;
}

/* Feature items: icon on top, text centered below */
.hero-features {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 0;
}

.hero-feature-sep {
    width: 2px;
    height: 56px;
    background: #5A9FD8;
    flex-shrink: 0;
    border-radius: 2px;
}

.hero-feature-icon {
    display: flex; align-items: center; justify-content: center;
    color: #0077E6;
}
.hero-feature-icon img { width: 70px; height: 70px; object-fit: contain; }

.hero-feature-text strong {
    display: block; font-size: 12.5px; font-weight: 700;
    color: #073B88; line-height: 1.3;
    white-space: nowrap;
}

.hero-feature-text span {
    font-size: 11px; color: #4a5568;
    white-space: nowrap;
}

@media (max-width: 639px) {
    .hero-features { flex-direction: column; gap: 10px; }
    .hero-feature { flex-direction: row; text-align: left; padding: 0; }
    .hero-feature-sep { display: none; }
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { border-radius: 10px; padding: 9px 52px; }

/* Center brand visual */
.hero-brand-visual {
    text-align: center;
    padding: 0 8px;
}

.hero-brand-logo {
    width: 100%; max-width: 440px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 12px 32px rgba(0,119,230,0.3));
    animation: logo-float 4.5s ease-in-out infinite;
}

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

/* Show all 3 columns on wider screens */
@media (min-width: 900px) {
    .hero-text {
        flex: 0 0 32%;
        max-width: 32%;
    }
    .hero-brand-col {
        display: block;
        flex: 0 0 25%;
        max-width: 27%;
        padding: 0 8px;
    }
    .hero-room-col {
        display: block;
        flex: 0 0 35%;
        max-width: 35%;
    }
}

@media (min-width: 1200px) {
    .hero-text { flex: 0 0 26%; max-width: 26%; }
    .hero-brand-col { flex: 0 0 24%; max-width: 24%; }
    .hero-room-col { flex: 0 0 50%; max-width: 50%; }
}

/* ---------- Pricing ---------- */
.priser {
    padding: 10px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.pricing-panel {
    background: var(--white);
    border-radius: 24px;
    padding: 16px 20px 14px;
    box-shadow: 0 4px 28px rgba(0,119,230,0.10);
    border: 1.5px solid var(--blue-100);
}

.section-title {
    text-align: center; font-size: 1.4rem; margin-bottom: 14px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}

.pricing-layout {
    display: flex; gap: 20px; align-items: stretch;
}

.pricing-left {
    flex: 1; min-width: 0; display: flex; flex-direction: column;
}

.pricing-cards {
    display: grid; gap: 12px; align-items: start;
}

.price-card {
    background: var(--white); border: 1px solid rgba(0,119,230,0.18);
    border-radius: 16px; padding: 20px 20px 16px;
    text-align: left; transition: all 0.3s;
    display: flex; flex-direction: column; align-items: flex-start;
    box-shadow: 0 8px 24px rgba(0,119,230,0.10);
}

.price-card:hover {
    border-color: var(--blue-300); transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.price-card-header {
    display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}

.price-card-icon {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}

.price-card-icon svg { width: 56px; height: 56px; }
.price-card-icon img { width: 128px; height: 128px; object-fit: contain; }

.price-card-header h3 { font-size: 1rem; font-weight: 800; color: var(--blue-900); }

.price-value { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-amount { font-size: 2.75rem; font-weight: 800; color: var(--blue-600); }
.price-unit { font-size: 1.1rem; color: #4a5568; font-weight: 600; }

.price-vat {
    display: inline-block; font-size: 0.7rem; color: #4a5568;
    margin-bottom: 4px; font-weight: 500;
}

.price-desc { color: #4a5568; font-size: 0.85rem; margin-bottom: 8px; line-height: 1.4; }

.price-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }

.tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 500;
}
.tag-blue { background: var(--blue-50); color: var(--blue-600); }
.tag-green { background: var(--green-100); color: #16a34a; }

/* ── Price card v2 (Flyterengøring Fuld redesign) ── */
.price-card.price-card-v2 {
    padding: 10px 14px 10px;
    border-radius: 24px;
    border: 2px solid #D6EAFF;
    box-shadow: 0 8px 40px rgba(0,100,220,0.10);
    height: 252px;
    display: flex; flex-direction: column;
}
.pcv2-top { display: flex; align-items: flex-start; gap: 14px; }
.pcv2-icon img { width: 104px; height: 104px; object-fit: contain; flex-shrink: 0; }
.pcv2-meta { display: flex; flex-direction: column; justify-content: flex-start; padding-top: 8px; }
.pcv2-meta h3 { font-size: 17px; font-weight: 650; color: #0B3570; letter-spacing: -0.01em; margin-bottom: 5px; }
.pcv2-price-row { display: flex; align-items: baseline; gap: 4px; line-height: 1; }
.pcv2-num { font-size: 52px; font-weight: 500; color: #0077E6; letter-spacing: -1px; line-height: 1; }
.pcv2-unit { font-size: 18px; font-weight: 600; color: #0077E6; padding-bottom: 5px; }
.pcv2-vat { font-size: 12px; color: #0077E6; margin-top: 3px; font-weight: 400; }
.pcv2-desc {
    flex: 1; align-self: stretch; display: flex; align-items: center; justify-content: center; text-align: center;
}
.pcv2-desc p {
    text-align: center; font-size: 15px; font-weight: 500; color: #2e5f8e; line-height: 1.55;
    margin: 0; width: 100%;
}
.pcv2-tags { display: flex; gap: 8px; align-self: stretch; }
.pcv2-pill {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 9px 12px; border-radius: 100px; border: 1.5px solid #C4DCFA;
    background: #fff; font-size: 12.5px; font-weight: 600; color: #0B3570;
    white-space: nowrap;
}
.pcv2-pill-green { color: #1E9E57; border-color: #A8E6C4; }
.pcv2-pill-icon { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.price-card.price-card-v2 { cursor: pointer; }
.price-card.price-card-v2:hover {
    border-color: var(--blue-300);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Fast rengøring card */
.fast-card {
    background: url('assets/fast-card-bg.png') center/cover no-repeat;
    border: none; border-radius: var(--radius-xl);
    padding: 10px 16px; position: relative;
    box-shadow: 0 8px 32px rgba(0,155,255,0.25);
    color: var(--white);
    display: flex; flex-direction: column;
    height: 300px; align-self: flex-start;
    overflow: hidden;
}

.fast-card::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0, 80, 180, 0.32);
    border-radius: inherit;
    z-index: 0;
}

.fast-card > * { position: relative; z-index: 1; }

.fast-card-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    margin-bottom: 6px; gap: 10px;
}

.fast-card-header h3 { font-size: 1.5rem; color: var(--white); white-space: nowrap; }
.fast-subtitle { color: rgba(255,255,255,0.85); font-size: 0.88rem; margin-top: 2px; }

.badge-recommended {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--white); color: var(--blue-600);
    padding: 6px 13px; border-radius: 50px; font-size: 0.88rem; font-weight: 600;
    border: 1.5px solid var(--white); white-space: nowrap; flex-shrink: 0;
}

.fast-options {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px;
}

/* Unselected: transparent — shows card background */
.fast-option {
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: var(--radius); padding: 8px 6px; text-align: center;
    cursor: pointer; transition: background 0.2s, border-color 0.2s;
}

.fast-option:hover:not(.active) {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.55);
}

/* Selected: white background */
.fast-option.active {
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

/* Labels/amounts — white on transparent, dark on white */
.fast-option-label {
    display: block; font-size: 0.8rem; font-weight: 600;
    color: rgba(255,255,255,0.9); margin-bottom: 3px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.fast-option.active .fast-option-label { color: var(--blue-700); }

.fast-option-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.fast-amount { font-size: 1.75rem; font-weight: 800; color: var(--white); }
.fast-option.active .fast-amount { color: var(--blue-600); }

.fast-unit { font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.fast-option.active .fast-unit { color: #4a5568; }

.fast-minimum { display: block; font-size: 0.76rem; color: rgba(255,255,255,0.75); margin-top: 2px; }
.fast-option.active .fast-minimum { color: #4a5568; }

.fast-benefits {
    display: flex; flex-wrap: wrap; gap: 2px 10px; margin-bottom: 6px;
}

.fast-benefits span {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.875rem; color: rgba(255,255,255,0.92);
}

.btn-fast {
    width: 100%; justify-content: center;
    background: var(--white) !important; color: #0077E6 !important;
    border-color: transparent !important;
    font-size: 15px; padding: 9px 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}
.btn-fast:hover { background: #F5FBFF !important; color: #005FD1 !important; }

@media (min-width: 768px) {
    .pricing-cards { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .fast-card { flex: 0 0 560px; }
}

@media (min-width: 1024px) {
    .section-title { font-size: 1.75rem; }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
    padding: 10px 0 14px;
    background: var(--white);
}

.trust-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,119,230,0.15);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,119,230,0.07);
    overflow: hidden;
}

.trust-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 22px;
    border-right: 1px solid rgba(0,119,230,0.15);
    border-bottom: 1px solid rgba(0,119,230,0.15);
}

.trust-item:nth-child(2n)   { border-right: none; }
.trust-item:nth-child(3),
.trust-item:nth-child(4)    { border-bottom: none; }

.trust-icon-img { width: 70px; height: 70px; object-fit: contain; }

.trust-icon {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #0077E6;
}

.trust-item strong { display: block; font-size: 1rem; color: #073B88; font-weight: 800; }
.trust-item span { font-size: 0.825rem; color: #4a5568; }

@media (min-width: 768px) {
    .trust-items { grid-template-columns: repeat(4, 1fr); }
    .trust-item          { border-bottom: none; border-right: 1px solid rgba(0,119,230,0.15); }
    .trust-item:last-child { border-right: none; }
    .trust-item:nth-child(2n) { border-right: 1px solid rgba(0,119,230,0.15); }
    .trust-item:last-child    { border-right: none; }
}

/* ---------- Sections (ydelser, om-os, kontakt) ---------- */
section { padding: 64px 0; }

.section-header {
    text-align: center; max-width: 600px; margin: 0 auto 48px;
}
.section-header h2 {
    font-size: 1.75rem; margin-bottom: 12px;
    position: relative; display: inline-block;
}
.section-header h2::after {
    content: ''; position: absolute; bottom: -8px; left: 0; width: 100%;
    height: 3px; background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
    border-radius: 2px;
}
.section-header p { color: #4a5568; font-size: 1.05rem; margin-top: 16px; }

/* Ydelser */
.ydelser { background: var(--white); }

.services-grid { display: grid; gap: 20px; }

.service-card {
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-xl); padding: 32px 24px; text-align: center;
    transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
    transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 104px; height: 104px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.service-card p { color: #4a5568; margin-bottom: 16px; font-size: 0.95rem; }
.service-card .card-link {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
}
.service-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; position: relative; z-index: 1; }
.service-link span { transition: transform 0.2s; }
.service-link:hover span { transform: translateX(4px); }
.service-card-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.service-link-secondary { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: #4a5568; font-size: 0.95rem; }
.service-link-secondary span { transition: transform 0.2s; }
.service-link-secondary:hover span { transform: translateX(4px); }

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(5, 1fr); } }

/* Om os */
.om-os { background: var(--gray-50); }
.about-text { max-width: 700px; margin: 0 auto; text-align: center; }
.about-text .lead { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; }
.about-cta { margin-top: 32px; }

/* Kontakt */
.kontakt { background: var(--white); }
.contact-grid { display: grid; gap: 48px; }

.contact-form { display: grid; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; color: #4a5568; font-size: 0.95rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 14px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius);
    transition: all 0.2s; background: var(--white); font-size: 15px;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-400); }
.form-note { font-size: 0.85rem; color: #4a5568; text-align: center; margin-top: 8px; }

.form-success {
    text-align: center; padding: 48px 24px;
    background: var(--gray-50); border-radius: var(--radius-lg);
}
.success-icon {
    width: 56px; height: 56px; margin: 0 auto 16px;
    background: var(--green-500); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--white);
}
.form-success h3 { margin-bottom: 8px; }

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

.info-card {
    background: var(--gray-50); border-radius: var(--radius-xl);
    padding: 28px; border: 1px solid var(--gray-100);
}
.info-card h3 { margin-bottom: 16px; font-size: 1.1rem; }

.info-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 10px 0; border-bottom: 1px solid var(--gray-200);
}
.info-item:last-child { border-bottom: none; }
.info-item svg { color: var(--blue-500); flex-shrink: 0; margin-top: 2px; }
.info-item strong { display: block; color: #4a5568; margin-bottom: 2px; }
.info-item a, .info-item span { color: #4a5568; }

.hours { margin-bottom: 12px; }
.hours-row {
    display: flex; justify-content: space-between;
    padding: 8px 0; border-bottom: 1px solid var(--gray-200);
}
.hours-row:last-child { border-bottom: none; }
.hours-note { font-size: 0.85rem; color: #4a5568; }

@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Service Detail Section ---------- */
.service-details { padding: 80px 0; background: var(--white); }
.service-details .section-header { margin-bottom: 48px; }

.details-grid { display: grid; gap: 32px; }

.detail-card {
    background: var(--white); border: 1.5px solid var(--blue-100);
    border-radius: var(--radius-xl); overflow: hidden;
    transition: box-shadow 0.3s;
}
.detail-card:hover { box-shadow: var(--shadow-md); }

.detail-card-top {
    background: linear-gradient(135deg, var(--blue-50), #e8f2ff);
    padding: 24px 28px; display: flex; align-items: center;
    justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.detail-card-title {
    display: flex; align-items: center; gap: 12px;
}
.detail-card-title h3 { font-size: 1.15rem; }
.detail-card-price {
    display: flex; align-items: baseline; gap: 4px;
}
.detail-card-price .big { font-size: 1.75rem; font-weight: 800; color: var(--blue-600); }
.detail-card-price .unit { font-size: 0.9rem; color: #4a5568; }
.detail-card-use {
    width: 100%; font-size: 0.85rem; color: #4a5568;
    font-style: italic; margin-top: 4px;
}

.detail-card-body { padding: 24px 28px; }

.detail-card-body h4 {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--blue-600); margin-bottom: 12px; font-weight: 700;
}

.included-list, .excluded-list { margin-bottom: 20px; }
.included-list li, .excluded-list li {
    padding: 5px 0 5px 24px; position: relative;
    font-size: 0.9rem; color: var(--gray-600); line-height: 1.5;
}
.included-list li::before {
    content: '✓'; position: absolute; left: 0; color: var(--green-500); font-weight: 700;
}
.excluded-list li::before {
    content: '✗'; position: absolute; left: 0; color: #ef4444; font-weight: 700;
}
.excluded-list { color: #4a5568; }

.guarantee-box {
    background: var(--green-100); border-radius: var(--radius);
    padding: 14px 18px; font-size: 0.9rem; color: #166534;
    display: flex; align-items: flex-start; gap: 8px; margin-top: 12px;
}

@media (min-width: 768px) {
    .details-grid { grid-template-columns: 1fr; }
}

/* Fast aftale detail */
.fast-detail-card {
    background: linear-gradient(135deg, var(--blue-50), #e8f0ff);
    border: 2px solid var(--blue-200); border-radius: var(--radius-xl);
    padding: 32px 28px; margin-top: 32px;
}
.fast-detail-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.fast-detail-subtitle { color: #4a5568; margin-bottom: 20px; }

.fast-detail-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }

.fast-detail-option {
    background: var(--white); border-radius: var(--radius); padding: 20px;
    border: 1.5px solid var(--blue-100);
}
.fast-detail-option h4 {
    font-size: 1rem; color: var(--blue-700); margin-bottom: 8px;
    text-transform: none; letter-spacing: 0;
}
.fast-detail-option .price-line {
    font-size: 1.5rem; font-weight: 800; color: var(--blue-600); margin-bottom: 4px;
}
.fast-detail-option .price-sub { font-size: 0.8rem; color: var(--gray-400); }

.conditions-list {
    margin-top: 24px; padding: 20px 24px;
    background: var(--white); border-radius: var(--radius);
}
.conditions-list h4 {
    font-size: 0.9rem; color: var(--blue-900); margin-bottom: 12px;
    text-transform: none; letter-spacing: 0;
}
.conditions-list ol {
    padding-left: 20px; counter-reset: none;
}
.conditions-list ol li {
    font-size: 0.85rem; color: var(--gray-600);
    padding: 4px 0; list-style: decimal;
}

/* Price examples table */
.price-examples {
    margin-top: 20px; width: 100%; overflow-x: auto;
}
.price-examples table {
    width: 100%; border-collapse: collapse; font-size: 0.85rem;
}
.price-examples th, .price-examples td {
    padding: 10px 14px; text-align: left;
    border: 1px solid var(--blue-100);
}
.price-examples th {
    background: var(--blue-50); font-weight: 600; color: var(--blue-800);
}
.price-examples td { background: var(--white); }

@media (max-width: 640px) {
    .fast-detail-options { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
    background: linear-gradient(180deg, var(--gray-800), #111c30);
    color: var(--gray-300); padding: 64px 0 32px; position: relative;
}
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
}

.footer-grid { display: grid; gap: 32px; margin-bottom: 48px; }

.footer-logo-wrapper {
    display: inline-block; margin-bottom: 12px;
}
.footer-logo-wrapper img { width: 260px; height: auto; display: block; }
.footer-tagline { color: var(--gray-400); font-size: 0.9rem; }

.footer-social { margin-top: 16px; display: flex; gap: 10px; }
.social-link {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: rgba(255,255,255,0.08);
    border-radius: 10px; color: var(--gray-400); transition: all 0.2s;
}
.social-link:hover { background: var(--blue-600); color: var(--white); transform: translateY(-2px); }
.social-link svg { width: 18px; height: 18px; }

.footer h4 { color: var(--white); margin-bottom: 14px; font-size: 0.95rem; }
.footer ul li { margin-bottom: 8px; }
.footer a { color: var(--gray-400); }
.footer a:hover { color: var(--white); }

.footer-bottom {
    padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; flex-direction: column; gap: 12px; text-align: center;
}
.footer-legal { font-size: 0.85rem; color: var(--gray-500); }
.footer-legal p { margin-bottom: 4px; }
.footer-legal-links { display: flex; gap: 24px; justify-content: center; }
.footer-legal-links a { font-size: 0.85rem; }

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-card, .price-card, .detail-card { animation: fadeInUp 0.5s ease forwards; }
.service-card:nth-child(2), .price-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3), .price-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.3s; }

/* Mobile feature strip — hidden on desktop */
.mobile-features-strip { display: none; }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    /* Prevent any element from pushing page wider than viewport */
    main { overflow-x: hidden; }

    /* General spacing */
    section { padding: 40px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 1.45rem; }

    /* ── Hero ── */
    .hero-text h1 { white-space: normal; font-size: clamp(1.75rem, 8vw, 2.4rem); }
    .hero-inner { min-height: 340px; padding-bottom: 28px; }

    /* Show image more on mobile — fade from left, not just bottom */
    .hero-bg-fade {
        background:
            linear-gradient(to right, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.4) 55%, transparent 100%),
            linear-gradient(to bottom, transparent 55%, rgba(255,255,255,0.9) 82%, white 95%);
    }
    /* Portrait hero image anchored to right */
    .hero-banner-img { object-position: right top; }

    /* Hide features inside hero — shown in strip below */
    .hero-features { display: none; }

    /* Full-width stacked buttons */
    .hero-actions { flex-direction: column; gap: 10px; }
    .hero-actions .btn { width: 100%; justify-content: center; padding: 13px 20px; font-size: 16px; }

    /* ── Mobile feature strip ── */
    .mobile-features-strip {
        display: flex; position: relative; z-index: 2;
        background: white;
        border-top: 1px solid rgba(0,119,230,0.1);
        border-bottom: 1px solid rgba(0,119,230,0.1);
        padding: 14px 0;
    }
    .mobile-features-strip .container {
        display: flex; align-items: center; justify-content: space-between; gap: 4px;
    }
    .mobile-feature {
        display: flex; flex-direction: column; align-items: center;
        text-align: center; gap: 4px; flex: 1;
    }
    .mobile-feature img { width: 40px; height: 40px; object-fit: contain; }
    .mobile-feature strong { font-size: 11.5px; color: #073B88; font-weight: 700; line-height: 1.2; }
    .mobile-feature span { font-size: 10px; color: #4a5568; }
    .mobile-feature-sep { width: 1px; height: 48px; background: rgba(0,119,230,0.15); flex-shrink: 0; }

    /* ── Pricing panel ── */
    .pricing-panel { background: transparent; border: none; box-shadow: none; padding: 0 0 8px; border-radius: 0; }
    .section-title { font-size: 1.25rem; margin-bottom: 14px; }
    .pricing-layout { flex-direction: column; gap: 12px; }
    .pricing-cards { grid-template-columns: 1fr; gap: 10px; }
    .fast-card { height: auto; flex: none; width: 100%; }
    .fast-options { grid-template-columns: 1fr 1fr; }

    /* ── Price card v2 — horizontal row layout ── */
    .price-card.price-card-v2 {
        display: grid;
        grid-template-columns: 52px minmax(0,1fr) 62px 70px;
        grid-template-rows: auto auto;
        height: auto;
        padding: 10px 6px 10px 10px;
        gap: 1px 6px;
        border-radius: 18px;
    }
    .pcv2-top { display: contents; }
    .pcv2-meta { display: contents; }

    .pcv2-icon { grid-column: 1; grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; }
    .pcv2-icon img { width: 48px; height: 48px; }

    .price-card.price-card-v2 h3 {
        grid-column: 2; grid-row: 1; align-self: end;
        font-size: 13.5px; font-weight: 700; margin-bottom: 0; letter-spacing: 0;
    }
    .pcv2-price-row { grid-column: 3; grid-row: 1; align-self: end; gap: 2px; }
    .pcv2-num { font-size: 28px; }
    .pcv2-unit { font-size: 11.5px; padding-bottom: 2px; }

    .pcv2-vat { grid-column: 3; grid-row: 2; align-self: start; font-size: 10px; margin-top: 1px; }

    .pcv2-desc { grid-column: 2; grid-row: 2; display: block; align-self: start; align-items: flex-start; justify-content: flex-start; min-height: 62px; }
    .pcv2-desc p { font-size: 11.5px; text-align: left; line-height: 1.35; margin: 0; color: #4a5568; font-weight: 400; }

    .pcv2-tags { grid-column: 4; grid-row: 1 / 3; flex-direction: column; gap: 5px; align-self: start; align-items: stretch; justify-self: end; width: 100%; }
    .pcv2-pill { flex: none; padding: 5px 6px; font-size: 10px; gap: 3px; white-space: normal; text-align: center; line-height: 1.2; justify-content: center; }
    .pcv2-pill-icon { width: 13px; height: 13px; flex-shrink: 0; }

    /* ── Service cards ── */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .service-card { padding: 20px 14px; }
    .service-icon { width: 70px; height: 70px; }
    .service-icon img { width: 70px; height: 70px; }

    /* ── Service detail ── */
    .detail-card-top { flex-direction: column; align-items: flex-start; gap: 8px; }
    .service-details { padding: 40px 0; }

    /* ── Fast detail ── */
    .fast-detail-card { padding: 20px 16px; max-width: 100%; overflow-x: hidden; }
    .fast-detail-options { grid-template-columns: minmax(0, 1fr); }
    .fast-detail-option { min-width: 0; }

    /* ── Price table ── */
    .price-examples { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .price-examples table { min-width: 420px; }

    /* ── Contact ── */
    .contact-grid { gap: 28px; grid-template-columns: minmax(0, 1fr); }
    .contact-form-wrapper, .contact-info { min-width: 0; }

    /* ── Pill tags ── */
    .pcv2-tags { grid-template-columns: 82px; }
    .pcv2-mobile-hide { display: none; }
}

@media (max-width: 479px) {
    /* Stack to 1 column on very small phones */
    .services-grid { grid-template-columns: 1fr; }
    .trust-items { grid-template-columns: 1fr; }
    .trust-item { border-right: none; border-bottom: 1px solid rgba(0,119,230,0.15); }
    .trust-item:last-child { border-bottom: none; }
    .pcv2-pill { white-space: normal; text-align: center; min-height: 44px; }
    .hero-features { flex-direction: column; align-items: flex-start; gap: 8px; }
    .hero-feature { flex-direction: row; gap: 10px; }
    .hero-feature-sep { display: none; }
}

/* ---------- Print ---------- */
@media print {
    .header, .hero-actions, .btn, .footer { display: none !important; }
    body { font-size: 12pt; color: #000; }
    section { padding: 20pt 0; page-break-inside: avoid; }
}

/* ---------- Nav Highlight (Ledige job) ---------- */
.nav-link-highlight { color: var(--blue-600) !important; font-weight: 700 !important; }

/* ---------- Legal Pages ---------- */
.legal-page { padding: 80px 0; min-height: calc(100vh - var(--header-h)); padding-top: calc(var(--header-h) + 48px); }
.legal-content {
    max-width: 780px; margin: 0 auto;
    background: var(--white); border-radius: var(--radius-xl);
    padding: 48px 56px; border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
}
.legal-content h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-updated { color: var(--gray-400); font-size: 0.85rem; margin-bottom: 32px; display: block; }
.legal-content h2 {
    font-size: 1.15rem; color: var(--blue-800);
    margin-top: 32px; margin-bottom: 10px;
    padding-bottom: 8px; border-bottom: 2px solid var(--blue-100);
}
.legal-content h3 { font-size: 1rem; color: var(--blue-700); margin-top: 20px; margin-bottom: 8px; }
.legal-content p { margin-bottom: 12px; color: var(--gray-600); line-height: 1.7; }
.legal-content ul, .legal-content ol { padding-left: 20px; margin-bottom: 16px; }
.legal-content ul li { list-style: disc; color: var(--gray-600); padding: 3px 0; font-size: 0.95rem; }
.legal-content ol li { list-style: decimal; color: var(--gray-600); padding: 3px 0; font-size: 0.95rem; }
.legal-back { margin-top: 40px; }
.legal-lang-note {
    font-size: 0.9rem; margin-bottom: 24px; padding: 12px 16px;
    background: var(--gray-100); border-radius: var(--radius); border-left: 3px solid var(--blue-300);
}

/* Cookie table */
.cookie-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 0.9rem; overflow-x: auto; display: block; }
.cookie-table th, .cookie-table td { padding: 10px 14px; text-align: left; border: 1px solid var(--blue-100); }
.cookie-table th { background: var(--blue-50); font-weight: 600; color: var(--blue-800); }
.cookie-table td { background: var(--white); color: var(--gray-600); }

@media (max-width: 767px) {
    .legal-content { padding: 28px 20px; }
    .legal-page { padding: calc(var(--header-h) + 24px) 0 40px; }
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--blue-300); }
.faq-question {
    padding: 18px 22px; cursor: pointer; font-weight: 600;
    color: var(--blue-900); font-size: 1rem; list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--blue-500); flex-shrink: 0; line-height: 1; }
.faq-item[open] .faq-question::after { content: '−'; }
.faq-answer { padding: 0 22px 18px; }
.faq-answer p { color: var(--gray-600); font-size: 0.95rem; margin: 0; line-height: 1.7; }

/* ---------- Testimonials ---------- */
.about-content { display: grid; gap: 48px; }
.about-text h2 { font-size: 1.5rem; margin-bottom: 16px; }
.about-text .lead { font-size: 1.05rem; color: var(--gray-600); margin-bottom: 16px; }
.about-text p { color: var(--gray-600); margin-bottom: 12px; line-height: 1.7; }
.testimonials h3 { font-size: 1.25rem; margin-bottom: 24px; }
.testimonial-slider { display: flex; flex-direction: column; gap: 20px; }
.testimonial {
    background: var(--blue-50); border-radius: var(--radius-xl);
    padding: 24px 28px; border-left: 4px solid var(--blue-400);
}
.testimonial p { color: var(--gray-700); font-style: italic; margin-bottom: 10px; line-height: 1.7; }
.testimonial footer cite { color: var(--blue-700); font-style: normal; font-weight: 600; font-size: 0.9rem; }

@media (min-width: 768px) {
    .about-content { grid-template-columns: 1fr 1fr; }
}

/* ---------- Job / What-We-Offer Features ---------- */
.features-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.feature {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 28px 24px; text-align: center;
    border: 1.5px solid var(--gray-200); transition: all 0.3s;
}
.feature:hover { border-color: var(--blue-300); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon {
    width: 56px; height: 56px; margin: 0 auto 16px;
    background: var(--blue-50); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--blue-600);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; font-size: 1rem; }
.feature p { color: var(--gray-500); font-size: 0.9rem; }

/* Job requirements list */
.price-features { display: flex; flex-direction: column; gap: 0; padding: 0; }
.price-features li {
    display: flex; align-items: flex-start; gap: 10px;
    color: var(--gray-600); font-size: 0.95rem;
    padding: 8px 0; border-bottom: 1px solid var(--gray-100); list-style: none !important;
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: '✓'; color: var(--green-500); font-weight: 700; flex-shrink: 0; }

/* File input */
.file-input {
    width: 100%; padding: 12px 16px;
    border: 2px dashed var(--gray-300); border-radius: var(--radius);
    background: var(--gray-50); cursor: pointer; font-size: 14px; color: var(--gray-600);
    transition: border-color 0.2s;
}
.file-input:hover { border-color: var(--blue-400); background: var(--blue-50); }
.file-hint { font-size: 0.8rem; color: var(--gray-400); margin-top: 4px; }

/* ---------- Sub-page hero ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--blue-50) 0%, #d8eaff 100%);
    padding: calc(var(--header-h) + 56px) 0 64px;
    text-align: center;
}
.page-hero h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 14px; }
.page-hero .hero-tagline { font-size: 1.15rem; color: var(--blue-700); font-weight: 600; margin-bottom: 12px; }
.page-hero .hero-description { color: var(--gray-600); max-width: 680px; margin: 0 auto; font-size: 1rem; line-height: 1.7; }

/* ---------- Generic page section ---------- */
.page-section { padding: 64px 0; }
.page-section-gray { background: var(--gray-50); }

/* ---------- Mobile UX improvements ---------- */

/* Prevent iOS Safari zoom on input focus (requires ≥16px) */
@media (max-width: 767px) {
    .form-group input, .form-group textarea, .form-group select,
    .file-input {
        font-size: 16px;
    }

    /* pcv2 text — kept compact to prevent price column from squeezing the title */
    .pcv2-num { font-size: 24px; }
    .pcv2-unit { font-size: 10.5px; }
    .pcv2-vat { font-size: 10.5px; }
    .price-card.price-card-v2 h3 { font-size: 14px; }
    .pcv2-pill { font-size: 11px; }
    .pcv2-price-row { white-space: nowrap; }

    /* Price table — narrower min-width so it fits smaller phones */
    .price-examples table { min-width: 360px; }
    .price-examples th, .price-examples td { padding: 10px 10px; }

    /* Detail card body — tighter padding */
    .detail-card-body { padding: 18px 18px; }

    /* Trust bar — smaller icons to fit 4 across */
    .trust-icon-img { width: 52px; height: 52px; }

    /* Footer links — larger touch targets */
    .footer ul li a { display: block; padding: 4px 0; }
    .footer-legal-links a { padding: 4px 8px; }
}

@media (max-width: 380px) {
    /* Very small phones — section headings */
    .section-header h2 { font-size: 1.3rem; }
    .section-title { font-size: 1.15rem; }
}

/* ==========================================================================
   Chatbot Widget
   ========================================================================== */

.chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.chatbot-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-600);
    color: var(--white);
    padding: 14px 20px;
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}
.chatbot-toggle:hover { background: var(--blue-700); transform: scale(1.05); }
.chatbot-toggle svg { width: 24px; height: 24px; }
.chatbot-toggle .close-icon { display: none; }
.chatbot-toggle[aria-expanded="true"] .chat-icon { display: none; }
.chatbot-toggle[aria-expanded="true"] .close-icon { display: block; }
.chatbot-toggle[aria-expanded="true"] .chatbot-label { display: none; }
.chatbot-label { font-weight: 600; }
.chatbot-toggle.open { background: var(--gray-700); }
.chatbot-toggle.open:hover { background: var(--gray-800); }

.chatbot-window {
    position: absolute;
    bottom: calc(100% + 16px);
    right: 0;
    width: 380px;
    max-width: calc(100vw - 48px);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.2s ease;
}
.chatbot-window:not([hidden]) { transform: translateY(0); opacity: 1; }
.chatbot-window.open { transform: translateY(0) !important; opacity: 1 !important; }

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--blue-600);
    color: var(--white);
}
.chatbot-header-info { display: flex; align-items: center; gap: 12px; }
.chatbot-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.chatbot-title { font-weight: 700; font-size: 0.9rem; }
.chatbot-status {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.75rem; color: rgba(255,255,255,0.8);
}
.status-dot {
    width: 8px; height: 8px;
    background: #22c55e; border-radius: 50%;
    animation: statusPulse 2s infinite;
}
@keyframes statusPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.chatbot-header-actions { display: flex; gap: 8px; }
.chatbot-clear, .chatbot-close {
    padding: 8px; color: rgba(255,255,255,0.7);
    background: transparent; border-radius: 10px;
    transition: all 0.15s ease;
}
.chatbot-clear:hover, .chatbot-close:hover { color: var(--white); background: rgba(255,255,255,0.1); }

.chatbot-messages {
    height: 300px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    line-height: 1.5;
}
.chat-message.bot {
    background: var(--gray-100);
    color: var(--gray-700);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}
.chat-message.user {
    background: var(--blue-600);
    color: var(--white);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.chatbot-quick-replies {
    padding: 0 16px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.quick-reply-btn {
    background: var(--gray-100);
    color: var(--blue-600);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--gray-200);
    transition: all 0.15s ease;
    cursor: pointer;
}
.quick-reply-btn:hover { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }

.chatbot-contact-buttons {
    display: flex;
    gap: 8px;
    padding: 0 16px 8px;
}
.chatbot-contact-buttons .contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--green-100);
    color: #166534;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.15s ease;
}
.chatbot-contact-buttons .contact-btn:hover { background: var(--green-500); color: var(--white); }

.chatbot-input-form {
    display: flex;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}
.chatbot-input-form input[type="text"] {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.875rem;
    font-family: inherit;
    background: var(--gray-50);
    transition: border-color 0.15s ease, background 0.15s ease;
}
.chatbot-input-form input[type="text"]:focus { outline: none; border-color: var(--blue-500); background: var(--white); }
.chatbot-input-form input[type="text"]::placeholder { color: var(--gray-400); }
.chatbot-input-form button[type="submit"] {
    width: 40px; height: 40px;
    background: var(--blue-600);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}
.chatbot-input-form button[type="submit"]:hover { background: var(--blue-700); transform: scale(1.05); }

.chatbot-typing { padding: 12px 16px; display: flex; align-items: center; }
.chatbot-typing[hidden] { display: none; }
.typing-dots { display: flex; gap: 4px; padding: 8px 12px; background: var(--gray-100); border-radius: var(--radius-lg); }
.typing-dots span { width: 8px; height: 8px; background: var(--gray-400); border-radius: 50%; animation: typingBounce 1.4s infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }

.chatbot-badge {
    position: absolute; top: -4px; right: -4px;
    width: 20px; height: 20px;
    background: var(--green-500); color: var(--white);
    font-size: 11px; font-weight: 700;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

@media (max-width: 480px) {
    .chatbot-widget { bottom: 16px; right: 16px; }
    .chatbot-window {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%; max-width: 100%;
        border-radius: 0;
    }
    .chatbot-messages { height: calc(100vh - 220px); }
    .chatbot-input-form input[type="text"] { font-size: 16px; }
}
