/* ==========================================================================
   Fachmarkt Werbung – Landing Page
   ========================================================================== */

:root {
    --blue:        #25a8e0;
    --blue-dark:   #1b93c7;
    --navy:        #14324a;
    --navy-deep:   #0a1c29;
    --text:        #4a5560;
    --text-light:  #8a939c;
    --border:      #e6ebef;
    --bg-light:    #f7f9fa;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

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

.lp-section__title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 32px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.lp-hero {
    position: relative;
    overflow: hidden;
    /* sized/positioned so both plants in the photo (at ~20% and ~70% of the
       image) flank the centered device image: left plant at ~42vw, right
       plant at ~90vw. 570% position ≈ image shifted right by 22.8vw. */
    background: url('img/header-bg.jpg') 570% 42% / 96% auto no-repeat;
    background-color: #faf7f2;
    padding: 32px 0 0;
}

/* soft white wash so text stays readable on the photo */
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.8) 30%, rgba(255,255,255,0.4) 48%, rgba(255,255,255,0.1) 70%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

/* fade the photo into the white page at the bottom */
.lp-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%);
    pointer-events: none;
}

.lp-hero .lp-container { position: relative; z-index: 1; }

.lp-hero__logo {
    width: 170px;
    /* the source logo is white – recolor it to near-black for the light header */
    filter: brightness(0) saturate(100%) opacity(0.88);
    margin-bottom: 40px;
}

.lp-hero__grid {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-bottom: 56px;
}

.lp-hero__text { flex: 0 0 44%; max-width: 44%; }

.lp-kicker {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.lp-hero__text h1 {
    font-size: 46px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 22px;
}

.lp-hero__copy {
    font-size: 15px;
    margin-bottom: 30px;
    max-width: 420px;
}

.lp-hero__copy strong { color: var(--navy); }

.lp-btn {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.lp-btn:hover { background: var(--blue-dark); }

/* devices roughly as tall as the text block; plant stays free to their right */
.lp-hero__visual { flex: 1; padding-right: 7%; }
.lp-hero__visual img { width: 112%; max-width: none; margin-left: -12%; }

/* --------------------------------------------------------------------------
   Angebote / offer cards
   -------------------------------------------------------------------------- */

.lp-section { padding: 64px 0 0; }

.lp-offers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lp-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(20, 50, 74, 0.05);
    padding: 30px 26px;
}

.lp-card__icon {
    color: var(--blue);
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
}

.lp-card__icon svg { width: 100%; height: 100%; }

.lp-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.lp-card p {
    font-size: 14px;
    margin-bottom: 20px;
}

.lp-checklist {
    list-style: none;
}

.lp-checklist li {
    position: relative;
    padding-left: 28px;
    font-size: 13.5px;
    margin-bottom: 12px;
}

.lp-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: var(--blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E");
    background-size: 11px;
    background-position: center;
    background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   Case studies
   -------------------------------------------------------------------------- */

.lp-cases { padding-bottom: 0; }

.lp-case { margin-bottom: 18px; }

.lp-case__banner {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
    cursor: pointer;
    text-align: left;
    min-height: 190px;
    background-color: var(--navy-deep);
    background-size: cover;
    background-position: center right;
    font-family: inherit;
}

/* dark gradient so the title is readable over the photo */
.lp-case__banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 20, 30, 0.96) 0%, rgba(7, 20, 30, 0.75) 30%, rgba(7, 20, 30, 0.1) 65%, rgba(7, 20, 30, 0.35) 100%);
}

.lp-case__banner-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 190px;
}

.lp-case__title {
    color: #fff;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.1;
}

.lp-case__tags {
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 6px;
}

.lp-case__chevron {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 34px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.lp-case.is-open .lp-case__chevron { background: var(--blue); }

.lp-case__chevron svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
}

.lp-case.is-open .lp-case__chevron svg { transform: rotate(180deg); }

.lp-case__panel {
    overflow: hidden;
}

.lp-case__content {
    padding-top: 44px;
    padding-bottom: 44px;
}

.lp-case__content h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.lp-case__content p {
    font-size: 15px;
    max-width: 900px;
    margin-bottom: 34px;
}

.lp-case__content p strong { color: var(--navy); }

.lp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.lp-pill {
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 6px;
}

/* ----- Beispiele / tabs ----- */

.lp-examples__title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 18px;
}

.lp-tabs {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 5px;
    gap: 4px;
    margin-bottom: 34px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(20, 50, 74, 0.05);
}

.lp-tab {
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    padding: 9px 26px;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.lp-tab.is-active {
    background: var(--blue);
    color: #fff;
}

.lp-tabpanel { display: none; }
.lp-tabpanel.is-active { display: block; }

.lp-tabpanel__empty {
    color: var(--text-light);
    font-style: italic;
}

.lp-examples {
    column-count: 3;
    column-gap: 28px;
}

.lp-examples figure {
    break-inside: avoid;
    margin-bottom: 32px;
}

.lp-examples img {
    width: 100%;
    border-radius: 4px;
}

.lp-examples figcaption {
    padding-top: 10px;
}

.lp-examples figcaption strong {
    display: block;
    font-size: 13px;
    color: var(--navy);
}

.lp-examples figcaption span {
    display: block;
    font-size: 11.5px;
    color: var(--text-light);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.lp-footer {
    position: relative;
    margin-top: 72px;
}

.lp-footer__inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 120px;
    padding-top: 24px;
    padding-bottom: 60px;
}

.lp-footer__headline {
    font-size: 30px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 26px;
}

.lp-footer__list {
    list-style: none;
}

.lp-footer__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.lp-footer__list svg {
    width: 19px;
    height: 19px;
    color: var(--text-light);
    flex-shrink: 0;
}

.lp-footer__list a {
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

.lp-footer__list a:hover { color: var(--blue); }

.lp-footer__company { text-align: center; }

.lp-footer__logo {
    width: 180px;
    margin: 0 auto 18px;
    filter: brightness(0) saturate(100%) opacity(0.88);
}

.lp-footer__company p {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.7;
}

.lp-footer__bg {
    height: 420px;
    /* the photo fades to white at its top by itself – anchor to the bottom
       so the wooden floor is what shows */
    background: url('img/footer-bg.jpg') center bottom / cover no-repeat;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 1600px) {
    /* fix the photo to the centered content column so the plants keep
       framing the devices on very wide screens */
    .lp-hero {
        background-size: 1536px auto;
        background-position: calc(50% + 333px) 42%;
    }
}

@media (max-width: 1200px) {
    /* not enough room for the plant framing – plain cover */
    .lp-hero { background-size: cover; background-position: center; }
}

@media (max-width: 1024px) {
    .lp-offers__grid { grid-template-columns: repeat(2, 1fr); }
    .lp-examples { column-count: 2; }
    .lp-hero__text h1 { font-size: 38px; }
}

@media (max-width: 720px) {
    .lp-hero { background-size: cover; background-position: center; }
    .lp-hero__grid { flex-direction: column; padding-bottom: 36px; }
    .lp-hero__text { flex: none; max-width: 100%; }
    .lp-hero__visual { padding-right: 0; }
    .lp-hero__visual img { width: 100%; margin-left: 0; }
    .lp-hero__text h1 { font-size: 31px; }
    .lp-hero__logo { width: 130px; margin-bottom: 26px; }

    .lp-offers__grid { grid-template-columns: 1fr; }
    .lp-examples { column-count: 1; }

    .lp-case__title { font-size: 32px; }
    .lp-case__banner, .lp-case__banner-inner { min-height: 150px; }

    .lp-footer__inner {
        flex-direction: column;
        gap: 48px;
        align-items: flex-start;
    }
    .lp-footer__company { text-align: left; }
    .lp-footer__logo { margin: 0 0 18px; }
    .lp-footer__headline { font-size: 25px; }
    .lp-footer__bg { height: 200px; }
}
