/* ======================================================
   LANDINGPAGE BUILDER – Frontend Styles
   ====================================================== */

/* ---------- Reset / Base ---------- */
.lpb-container {
    max-width: var(--lpb-container, 1200px);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.lpb-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    font-family: var(--lpb-font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.lpb-btn span { font-size: 18px; line-height: 1; }

.lpb-btn--primary {
    background: var(--lpb-primary);
    color: #fff;
    border: 2px solid var(--lpb-primary);
}
.lpb-btn--primary:hover {
    background: var(--lpb-accent);
    border-color: var(--lpb-accent);
    color: #fff;
}

.lpb-btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.7);
}
.lpb-btn--outline:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.lpb-btn--outline-dark {
    background: transparent;
    color: var(--lpb-primary);
    border: 2px solid var(--lpb-primary);
}
.lpb-btn--outline-dark:hover {
    background: var(--lpb-primary);
    color: #fff;
}

/* ---------- Section title ---------- */
.lpb-section-title {
    font-family: var(--lpb-font-heading);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--lpb-text);
    text-align: center;
    margin-bottom: 8px;
}
.lpb-section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--lpb-primary);
    margin: 10px auto 36px;
}

.lpb-center { text-align: center; margin-top: 32px; }

/* ---------- Checklist ---------- */
.lpb-checklist {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lpb-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--lpb-font-body);
    font-size: 15px;
    color: var(--lpb-text);
    line-height: 1.5;
}
.lpb-checklist li span {
    display: block;
    flex: 1;
    min-width: 0;
    color: inherit;
}
.lpb-checklist li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--lpb-primary);
}
.lpb-checklist--light li {
    color: #e2e8f4;
}
.lpb-checklist--light li span {
    color: #e2e8f4;
}
.lpb-checklist--light li svg {
    color: #6eaaee;
}

/* ======================================================
   HERO
   ====================================================== */
.lpb-hero {
    position: relative;
    min-height: 520px;
    background-color: var(--lpb-dark);
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.lpb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13,27,46,.85) 35%, rgba(13,27,46,.25) 100%);
}
.lpb-hero__content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding-top: 80px;
    padding-bottom: 80px;
}
.lpb-hero__eyebrow {
    font-family: var(--lpb-font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    margin-bottom: 16px;
}
.lpb-hero__headline {
    font-family: var(--lpb-font-heading);
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.lpb-hero__headline .lpb-accent {
    color: var(--lpb-accent);
}
.lpb-hero__sub {
    font-family: var(--lpb-font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.lpb-hero__text {
    font-family: var(--lpb-font-body);
    font-size: 15px;
    color: rgba(255,255,255,.8);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 30px;
}
.lpb-hero__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ======================================================
   FEATURES BAR
   ====================================================== */
.lpb-features {
    background: #fff;
    border-top: 1px solid #e8ecf2;
    border-bottom: 1px solid #e8ecf2;
    padding: 28px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.lpb-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.lpb-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 24px;
    border-right: 1px solid #e8ecf2;
}
.lpb-feature:last-child { border-right: none; }
.lpb-feature__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26,79,160,.08);
    border-radius: 50%;
    color: var(--lpb-primary);
}
.lpb-feature__icon svg { width: 22px; height: 22px; }
.lpb-feature strong {
    display: block;
    font-family: var(--lpb-font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--lpb-text);
    margin-bottom: 4px;
}
.lpb-feature p {
    font-family: var(--lpb-font-body);
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ======================================================
   LEISTUNGEN
   ====================================================== */
.lpb-leistungen {
    padding: 60px 0 56px;
    background: #f7f9fc;
}
.lpb-leistungen__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.lpb-leistung-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
}
.lpb-leistung-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.lpb-leistung-card__img-wrap {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #e0e8f0;
}
.lpb-leistung-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lpb-leistung-card__icon {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 42px;
    height: 42px;
    background: var(--lpb-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.lpb-leistung-card__icon svg { width: 20px; height: 20px; }
.lpb-leistung-card__body {
    padding: 18px 20px 22px;
}
.lpb-leistung-card__body strong {
    display: block;
    font-family: var(--lpb-font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--lpb-primary);
    margin-bottom: 8px;
    letter-spacing: .01em;
}
.lpb-leistung-card__body p {
    font-family: var(--lpb-font-body);
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* ======================================================
   VORTEILE
   ====================================================== */
.lpb-vorteile {
    padding: 60px 0;
    background: #fff;
}
.lpb-vorteile__grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 48px;
    align-items: start;
    width: 100%;
}
.lpb-vorteile__left {
    background: var(--lpb-dark);
    padding: 40px 36px;
    border-radius: 10px;
}
.lpb-vorteile__left h2 {
    font-family: var(--lpb-font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 24px;
}
.lpb-vorteile__right h2 {
    font-family: var(--lpb-font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--lpb-text);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 28px;
}

/* Steps */
.lpb-steps { display: flex; flex-direction: column; gap: 24px; }
.lpb-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.lpb-step__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--lpb-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lpb-font-heading);
    font-weight: 800;
    font-size: 16px;
    color: #fff;
}
.lpb-step__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: var(--lpb-primary);
}
.lpb-step__icon svg { width: 28px; height: 28px; }
.lpb-step strong {
    display: block;
    font-family: var(--lpb-font-body);
    font-weight: 700;
    font-size: 15px;
    color: var(--lpb-text);
    margin-bottom: 4px;
}
.lpb-step p {
    font-family: var(--lpb-font-body);
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ======================================================
   WARUM
   ====================================================== */
.lpb-warum {
    background: var(--lpb-dark);
    padding: 72px 0;
}
.lpb-warum__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.lpb-warum__img img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
.lpb-warum__content h2 {
    font-family: var(--lpb-font-heading);
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 24px;
}

/* ======================================================
   PROJEKTE
   ====================================================== */
.lpb-projekte {
    padding: 72px 0;
    background: #f7f9fc;
}
.lpb-projekte__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}
.lpb-projekt-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    background: #d8e2ee;
}
.lpb-projekt-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.lpb-projekt-item:hover img { transform: scale(1.05); }

/* ======================================================
   ÜBER UNS
   ====================================================== */
.lpb-ueber {
    padding: 72px 0;
    background: #fff;
}
.lpb-ueber__grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 48px;
    align-items: start;
}
.lpb-ueber__img img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 3/4;
}
.lpb-ueber__label {
    font-family: var(--lpb-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lpb-primary);
    margin-bottom: 10px;
}
.lpb-ueber__content h2 {
    font-family: var(--lpb-font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--lpb-text);
    margin-bottom: 16px;
    line-height: 1.2;
}
.lpb-ueber__content p {
    font-family: var(--lpb-font-body);
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Badges */
.lpb-ueber__badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.lpb-badge {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.lpb-badge__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(26,79,160,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lpb-primary);
}
.lpb-badge__icon svg { width: 20px; height: 20px; }
.lpb-badge strong {
    display: block;
    font-family: var(--lpb-font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--lpb-text);
}
.lpb-badge p {
    font-size: 13px;
    color: #777;
    margin: 2px 0 0;
}

/* ======================================================
   KONTAKT BANNER
   ====================================================== */
.lpb-kontakt {
    background: var(--lpb-dark);
    padding: 48px 0;
}
.lpb-kontakt__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.lpb-kontakt__text h2 {
    font-family: var(--lpb-font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 8px;
}
.lpb-kontakt__text p {
    font-family: var(--lpb-font-body);
    font-size: 14px;
    color: rgba(255,255,255,.65);
    margin: 0;
}
.lpb-kontakt__details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lpb-kontakt__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--lpb-font-body);
    font-size: 14px;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .2s;
}
.lpb-kontakt__item:hover { color: #fff; }
.lpb-kontakt__item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--lpb-accent); }

.lpb-kontakt__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.lpb-kontakt__wa {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--lpb-font-body);
    font-size: 13px;
    transition: background .2s;
    width: 100%;
}
.lpb-kontakt__wa:hover { background: #1ebe58; color: #fff; }
.lpb-kontakt__wa svg { width: 28px; height: 28px; flex-shrink: 0; }
.lpb-kontakt__wa strong { display: block; font-size: 14px; }

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
    .lpb-leistungen__grid { grid-template-columns: repeat(3, 1fr); }
    .lpb-projekte__grid   { grid-template-columns: repeat(3, 1fr); }
    .lpb-ueber__grid      { grid-template-columns: 1fr 1fr; }
    .lpb-ueber__badges    { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 768px) {
    .lpb-features__grid   { grid-template-columns: 1fr 1fr; }
    .lpb-feature          { border-right: none; border-bottom: 1px solid #e8ecf2; }
    .lpb-leistungen__grid { grid-template-columns: 1fr 1fr; }
    .lpb-vorteile__grid   { grid-template-columns: 1fr; gap: 32px; }
    .lpb-warum__grid      { grid-template-columns: 1fr; }
    .lpb-projekte__grid   { grid-template-columns: 1fr 1fr; }
    .lpb-ueber__grid      { grid-template-columns: 1fr; }
    .lpb-kontakt__grid    { grid-template-columns: 1fr; gap: 24px; }
    .lpb-hero__headline   { font-size: 40px; }
}

@media (max-width: 480px) {
    .lpb-features__grid   { grid-template-columns: 1fr; }
    .lpb-leistungen__grid { grid-template-columns: 1fr; }
    .lpb-projekte__grid   { grid-template-columns: 1fr; }
    .lpb-hero__btns       { flex-direction: column; }
}

/* ── Extra breakpoint: prevent vorteile grid collapsing too early ── */
@media (max-width: 900px) {
    .lpb-vorteile__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .lpb-vorteile__left {
        padding: 28px 24px;
    }
}

/* ── Leistungen cards: ensure equal height ── */
.lpb-leistungen__grid {
    align-items: stretch;
}
.lpb-leistung-card {
    display: flex;
    flex-direction: column;
}
.lpb-leistung-card__body {
    flex: 1;
}

/* ── Lightbox cursor on projekt items ── */
.lpb-projekt-item { cursor: zoom-in; }
