/* ========================================
   Landing page (Google Ads) — template "landing"
   Loaded only on this template via css('@auto') in header.php.
   Own slim header/footer, no main menu.
======================================== */

.lp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.lp > section { padding: var(--space-3xl) 0; }
.lp-dark { background: var(--color-primary); color: var(--color-neutral); }

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

.lp-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.2;
    color: inherit;
    margin-bottom: var(--space-md);
}
.lp-title--caps { text-transform: uppercase; }
.lp-title--center { text-align: center; margin-bottom: var(--space-xl); }
.lp-accent { color: var(--color-accent); }

.lp-eyebrow {
    color: var(--color-accent-hover);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-xs);
}

.lp-text { font-size: var(--text-body); line-height: 1.7; margin-bottom: var(--space-sm); }
.lp-text a { text-decoration: underline; text-underline-offset: 3px; }

.lp-media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.lp-btn {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.0625rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-base);
}
.lp-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Check-mark list: yellow circle with a navy tick */
.lp-checks li {
    position: relative;
    padding-left: 2.25rem;
    line-height: 1.5;
}
.lp-checks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A3240' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.lp-checks--lined li {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--color-line);
    font-size: 1.0625rem;
}
.lp-checks--lined li:last-child { border-bottom: 0; }
.lp-checks--lined li::before { top: 1.15rem; }

/* ---------- Header / footer ---------- */
.lp-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}
.lp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-lg);
}
.lp-header__logo img { height: 84px; width: auto; }
.lp-header__phone { color: var(--color-neutral); font-weight: 600; font-size: 1.0625rem; }
.lp-header__phone:hover { color: var(--color-accent); }

.lp-footer { border-top: 1px solid var(--color-line); padding: var(--space-lg) 0; font-size: 0.875rem; }
.lp-footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); }
.lp-footer a:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.lp > .lp-hero {
    position: relative;
    min-height: min(100vh, 860px);
    display: flex;
    align-items: center;
    padding: 160px 0 var(--space-2xl);
    color: var(--color-neutral);
    background: var(--color-primary);
    overflow: hidden;
}
.lp-hero picture { display: contents; }
.lp-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Darkens the left side for text contrast, lets the photo shine on the right */
.lp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,21,28,0.65) 0%, rgba(10,21,28,0.35) 50%, rgba(10,21,28,0.05) 100%);
}
.lp-hero__inner { position: relative; z-index: 1; }
.lp-hero__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 5.5vw, 4.25rem);
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.lp-hero__sub {
    font-size: clamp(1.25rem, 2.2vw, 1.875rem);
    line-height: 1.35;
    margin-bottom: var(--space-lg);
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.lp-hero__note { font-size: 0.875rem; margin-top: var(--space-xs); opacity: 0.9; }
.lp-hero__points { margin-top: var(--space-lg); display: grid; gap: var(--space-xs); }
.lp-hero__points li { font-size: 1.125rem; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.lp-hero__box {
    margin-top: var(--space-xl);
    margin-left: auto;
    width: fit-content;
    max-width: 100%;
    padding: var(--space-lg) var(--space-xl);
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    font-size: clamp(1.375rem, 2.4vw, 2.25rem);
    line-height: 1.3;
}
.lp-hero__box strong { font-weight: 700; }

/* ---------- Kunden logos ---------- */
.lp-logos__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
}
.lp-logos__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    padding: var(--space-sm);
    border: 1px solid var(--color-neutral-200);
}
.lp-logos__item img { max-height: 60px; width: auto; object-fit: contain; }

/* ---------- Projekte in Zahlen ---------- */
.lp-stats .lp-split { grid-template-columns: 1.15fr 1fr; }
.lp-stats__title { font-size: clamp(1.875rem, 3vw, 2.5rem); }
.lp-stats__points li { margin-top: var(--space-md); line-height: 1.6; }
.lp-stats__points li::before { content: '→ '; }

/* ---------- Kundenstimmen ---------- */
.lp-quotes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
    justify-content: center;
    gap: var(--space-md);
}
.lp-quote {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}
.lp-quote__person { display: flex; gap: var(--space-sm); align-items: center; margin-bottom: var(--space-md); }
.lp-quote__person img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); }
.lp-quote__person strong { display: block; }
.lp-quote__person span span { font-size: 0.8125rem; opacity: 0.75; }
.lp-quote blockquote {
    border-left: 3px solid var(--color-accent);
    padding-left: var(--space-sm);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ---------- Ablauf ---------- */
.lp-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}
.lp-steps__card {
    background: var(--color-neutral-100);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}
.lp-steps__num { display: block; color: var(--color-accent-hover); font-size: 2.5rem; font-weight: 700; line-height: 1; margin-bottom: var(--space-sm); }
.lp-steps__card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: var(--space-xs); }
.lp-steps__card p { line-height: 1.6; }

/* ---------- Energy as a Service ---------- */
.lp-eaas__body { align-items: start; }
.lp-eaas__figure + .lp-eaas__figure { margin-top: var(--space-xl); }
.lp-eaas__figure dt {
    display: inline-block;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    border-bottom: 2px dotted var(--color-accent);
    padding-bottom: 2px;
    color: var(--color-neutral-300);
}
.lp-eaas__figure dd { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.1; color: var(--color-neutral-300); }
.lp-eaas__figure dd small { font-size: 0.45em; }
.lp-eaas__figure--accent dt,
.lp-eaas__figure--accent dd { color: var(--color-accent); }
.lp-eaas__figure--accent dd { font-size: clamp(5rem, 11vw, 9rem); line-height: 1; }
.lp-eaas__intro { line-height: 1.7; margin-bottom: var(--space-lg); }
.lp-eaas__points li {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.lp-eaas__points li:last-child { border-bottom: 0; }
.lp-eaas__points span { color: var(--color-accent); font-weight: 700; min-width: 2ch; }

/* ---------- Ansprechpartner ---------- */
.lp-contact__inner {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: var(--space-xl);
    align-items: center;
    max-width: 960px;
}
.lp-contact__img img { width: 100%; height: auto; border-radius: var(--radius-md); }
.lp-contact__name { margin-bottom: 0.25rem; }
.lp-contact__role { font-weight: 700; font-size: 0.875rem; margin-bottom: var(--space-sm); }

/* ---------- Anfrageformular ---------- */
.lp-form .lp-split { align-items: start; grid-template-columns: 1fr 1.5fr; gap: var(--space-xl); }
.lp-form .lp-title { font-size: clamp(1.75rem, 2.6vw, 2.25rem); hyphens: manual; }
.lp-form .lp-media { margin-top: var(--space-lg); }
.lp-form__placeholder {
    background: rgba(255,255,255,0.08);
    border: 1px dashed rgba(255,255,255,0.4);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    line-height: 1.7;
}
.lp-form__placeholder a { color: var(--color-accent); font-weight: 600; white-space: nowrap; }
/* The shared Zoho block brings its own grey band and card; drop both here */
.lp-form .solanox-zoho-section { padding: 0; background: none; }
.lp-form .solanox-zoho-card { max-width: none; background: transparent; box-shadow: none; }
.lp-form .solanox-zoho-iframe-wrapper { background: transparent; }

/* ---------- Häufige Fragen ---------- */
.lp-faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl) var(--space-2xl);
    margin-top: var(--space-lg);
}
.lp-faq dt { font-weight: 700; font-size: 1.0625rem; margin-bottom: var(--space-xs); }
.lp-faq dd { line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .lp-form .lp-split { grid-template-columns: 1fr 2fr; }
}

@media (max-width: 1024px) {
    .lp-logos__grid { grid-template-columns: repeat(3, 1fr); }
    .lp-steps__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .lp > section { padding: var(--space-2xl) 0; }
    .lp-split,
    .lp-stats .lp-split,
    .lp-form .lp-split,
    .lp-faq__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .lp-header__logo img { height: 56px; }
    .lp-header__inner { padding-top: var(--space-md); }
    .lp > .lp-hero { min-height: 0; padding-top: 130px; }
    .lp-hero::after { background: rgba(10,21,28,0.5); }
    .lp-hero__box { margin-left: 0; padding: var(--space-md) var(--space-lg); font-size: 1.25rem; }
    .lp-contact__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .lp-contact__img { max-width: 220px; }
}

@media (max-width: 480px) {
    .lp-logos__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
    .lp-logos__item { height: 90px; }
    .lp-header__phone { font-size: 0.9375rem; }
    .lp-btn { display: block; text-align: center; }
}
