/* ===== KLAR.RAUM LANDINGPAGE SHARED STYLES ===== */
/* Shared styles for SEO landingpages, blog, and legal pages */
/* Requires: /css/base.css */

/* ===== LANDINGPAGE OVERRIDES ===== */
:root {
    --transition-base: 0.3s ease;
}

/* ===== BODY ===== */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-black);
    background: var(--color-white);
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-new {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
}

.hero-new-bg {
    position: absolute;
    top: -2%;
    left: -2%;
    width: 104%;
    height: 104%;
    object-fit: cover;
    object-position: right center;
    z-index: 0;
}

.hero-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 1;
}

.hero-new-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) 24px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-new-content-inner {
    max-width: 720px;
    background: rgba(248, 249, 250, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.hero-new-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(0, 184, 212, 0.1);
    border: 1px solid rgba(0, 184, 212, 0.2);
    padding: var(--space-xs) var(--space-s);
    border-radius: 100px;
    font-size: 14px;
    color: var(--color-cyan-dark);
    margin-bottom: var(--space-m);
    font-weight: 500;
}

.hero-new h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-m);
    color: var(--color-black);
}

.hero-new h1 span {
    display: block;
    color: var(--color-cyan-dark);
}

.hero-new-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: var(--space-l);
    line-height: 1.6;
}

/* ===== HERO FEATURES ===== */
.hero-new-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s) var(--space-l);
    margin-bottom: var(--space-xl);
}

.hero-new-feature {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 15px;
    color: #333;
}

.hero-new-feature-icon {
    color: var(--color-cyan-dark);
    font-weight: bold;
}

/* ===== HERO BUTTONS ===== */
.hero-new-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
    margin-bottom: var(--space-l);
}

.hero-new-location {
    font-size: 14px;
    color: #777;
}

/* ===== BUTTONS (New Style) ===== */
.btn-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-new-primary {
    background: linear-gradient(
        135deg, var(--color-cyan), var(--color-cyan-dark));
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 184, 212, 0.3);
}

.btn-new-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 184, 212, 0.4);
}

.btn-new-secondary {
    background: var(--color-white);
    color: var(--color-black);
    border: 2px solid var(--color-gray-medium);
}

.btn-new-secondary:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan-dark);
}

/* ===== BUTTONS (Original) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-s) var(--space-l);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(
        135deg, var(--color-cyan), var(--color-cyan-dark));
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 184, 212, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 184, 212, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-black);
}

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

.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* ===== TRUST SECTION ===== */
.trust-section {
    background: var(--color-gray-light);
    padding: var(--space-xl) 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-l);
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.trust-icon {
    font-size: 32px;
}

.trust-text {
    font-weight: 600;
    color: var(--color-black);
}

.trust-subtext {
    font-size: 14px;
    color: var(--color-gray-dark);
}

/* ===== CONTENT SECTIONS ===== */
.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: var(--space-s);
}

.section-header p {
    font-size: 18px;
    color: var(--color-gray-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== INTRO SECTION ===== */
.intro {
    background: var(--color-white);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.intro-text h2 {
    font-size: 32px;
    margin-bottom: var(--space-m);
    color: var(--color-black);
}

.intro-text p {
    color: var(--color-gray-dark);
    margin-bottom: var(--space-m);
    font-size: 17px;
    line-height: 1.8;
}

.highlight-box {
    background: linear-gradient(
        135deg,
        rgba(0, 184, 212, 0.1),
        rgba(0, 184, 212, 0.05)
    );
    border-left: 4px solid var(--color-cyan);
    padding: var(--space-m);
    border-radius: var(--radius-sm);
    margin: var(--space-l) 0;
}

.highlight-box p {
    color: var(--color-black);
    font-weight: 500;
    margin: 0;
}

.intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--color-gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-l);
}

.service-card {
    background: var(--color-white);
    padding: var(--space-l);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-base),
        box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    margin-bottom: var(--space-s);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: var(--space-s);
}

.service-card p {
    color: var(--color-gray-dark);
    font-size: 15px;
    margin-bottom: var(--space-s);
}

.service-price {
    color: var(--color-cyan);
    font-weight: 700;
    font-size: 18px;
    margin-top: auto;
}

/* ===== WHY US SECTION ===== */
.why-us {
    background: var(--color-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-l);
}

.why-card {
    text-align: center;
    padding: var(--space-l);
}

.why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(
        135deg,
        rgba(0, 184, 212, 0.1),
        rgba(0, 184, 212, 0.05)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-m);
    font-size: 28px;
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: var(--space-s);
}

.why-card p {
    color: var(--color-gray-dark);
    font-size: 15px;
}

/* ===== PRICING SECTION ===== */
.pricing {
    background: var(--color-gray-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-l);
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 280px;
}

.pricing-card.featured {
    background: linear-gradient(
        135deg, var(--color-black) 0%, #1a1a2e 100%);
    color: var(--color-white);
    transform: scale(1.05);
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: var(--space-s);
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-cyan);
    margin-bottom: var(--space-xs);
    white-space: nowrap;
}

.pricing-note {
    font-size: 14px;
    color: var(--color-gray-dark);
    margin-bottom: var(--space-m);
}

.pricing-card.featured .pricing-note {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-l);
}

.pricing-features li {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.pricing-card.featured .pricing-features li {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ===== PROCESS SECTION ===== */
.process {
    background: var(--color-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-l);
}

.process-step {
    background: var(--color-gray-light);
    padding: var(--space-l);
    border-radius: var(--radius-lg);
    position: relative;
    text-align: center;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-cyan);
    color: var(--color-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.process-step h3 {
    margin-top: var(--space-s);
    margin-bottom: var(--space-s);
    font-size: 20px;
}

.process-step p {
    color: var(--color-gray-dark);
    font-size: 15px;
}

/* ===== FAQ SECTION ===== */
.faq {
    background: var(--color-gray-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    margin-bottom: var(--space-s);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    padding: var(--space-m);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 var(--space-m) var(--space-m);
    color: var(--color-gray-dark);
    line-height: 1.8;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(
        135deg, var(--color-cyan) 0%, var(--color-cyan-dark) 100%);
    color: var(--color-white);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: var(--space-s);
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: var(--space-l);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-s);
}

/* ===== COMPARISON SLIDER ===== */
.comparison-slider {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.comparison-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    cursor: col-resize;
    overflow: hidden;
}

.comparison-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.comparison-before {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.comparison-after {
    z-index: 1;
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--color-white);
    z-index: 10;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.handle-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.comparison-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding: 0 24px;
}

.comparison-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.label-badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.label-badge.before {
    background: var(--color-warm);
    color: white;
}

.label-badge.after {
    background: var(--color-cyan);
    color: white;
}

.slider-caption {
    text-align: center;
    font-size: 13px;
    color: var(--color-gray-dark);
    margin-top: 12px;
}

/* ===== BENTO GRID ===== */
.bento-section {
    padding: 60px 0;
    background: #FAFAFA;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bento-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #E5E7EB;
}

.bento-card.dark {
    background: var(--color-black);
    color: white;
    border: none;
}

.bento-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: inherit;
}

.bento-card p {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
}

.bento-card.dark p {
    color: #9CA3AF;
}

.bento-visual {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 80px;
}

.bento-visual svg {
    width: 100%;
    max-width: 200px;
    height: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero-new {
        margin-top: 96px;
        min-height: auto;
    }

    .hero-new-content {
        padding: var(--space-xl) var(--space-m);
        min-height: auto;
        padding-top: 80px;
        padding-bottom: var(--space-xl);
    }

    .hero-new-content-inner {
        max-width: 100%;
    }

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

    .hero-new-features {
        gap: var(--space-s);
    }

    .hero-new-feature {
        font-size: 14px;
        width: calc(50% - var(--space-xs));
    }

    .hero-new-buttons {
        flex-direction: column;
    }

    .hero-new-buttons .btn-new {
        width: 100%;
    }

    .intro-content {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}

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

    .bento-section {
        padding: 40px 0;
    }
}
