/*
 * Lead magnet card (design A1): the PDF cover beside three lines and one field.
 * Used on the Reiseinformation spokes and on blog articles. Phone first.
 */
.lm-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 760px;
    margin: 32px auto;
    padding: 20px;
    background: #FAF7F2;
    border: 1px solid #e2ddd4;
    border-top: 3px solid #FF6A00;
    border-radius: 4px;
    color: #111214;
    font-family: 'Roboto', sans-serif;
}
.lm-cover { position: relative; width: 132px; aspect-ratio: 210 / 297; background: #FAF7F2; box-shadow: 0 8px 22px rgba(17,18,20,.20); overflow: hidden; }
.lm-cover img, .lm-cover-blank { width: 100%; height: 62%; object-fit: cover; display: block; background: #EDE3D5; }
.lm-cover-band { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; padding: 8px 9px; border-top: 2px solid #FF6A00; background: #FAF7F2; }
.lm-cover-eyebrow { display: block; font-size: 7px; font-weight: 800; letter-spacing: .16em; color: #B84A00; }
.lm-cover-title { display: block; margin-top: 3px; font-size: 13px; font-weight: 800; line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; }
.lm-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #B84A00; margin: 0 0 6px; }
.lm-title { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 10px; color: #111214; }
.lm-list { margin: 0 0 14px; padding-left: 18px; color: rgba(17,18,20,.72); font-size: 15px; line-height: 1.6; }
.lm-row { display: flex; flex-direction: column; gap: 8px; }
.lm-input { width: 100%; padding: 12px 14px; font-size: 16px; border: 1px solid #cfc7b8; border-radius: 4px; background: #fff; color: #111214; }
.lm-input:focus { outline: 2px solid #FF6A00; outline-offset: 1px; }
.lm-btn { padding: 12px 18px; font-size: 15px; font-weight: 700; color: #fff; background: #FF6A00; border: 0; border-radius: 4px; cursor: pointer; white-space: nowrap; }
.lm-btn:hover { background: #e55e00; }
.lm-btn[disabled] { opacity: .6; cursor: default; }
.lm-consent { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: rgba(17,18,20,.55); }
.lm-msg { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: #1f5d3a; }
.lm-msg.lm-bad { color: #B84A00; }
.lm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (min-width: 600px) {
    .lm-card { grid-template-columns: 132px 1fr; gap: 24px; padding: 24px; }
    .lm-row { flex-direction: row; }
}

/* ── The slide-in: a bar at the bottom on a phone, a panel on the right edge
      above the chat button from 900px. The chat's own teaser bubble steps
      aside while it is open (html.lm-slide-open). ─────────────────────────── */
.lm-slide {
    position: fixed;
    left: 12px;
    right: 84px; /* the chat button keeps its corner */
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 3940;
    padding: 12px 14px 10px;
    background: #FAF7F2;
    border: 1px solid #e2ddd4;
    border-top: 3px solid #FF6A00;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(17,18,20,.22);
    font-family: 'Roboto', sans-serif;
    color: #111214;
    transform: translateY(140%);
    transition: transform .35s ease;
}
.lm-slide.lm-in { transform: translateY(0); }
.lm-slide[hidden] { display: none; }
.lm-slide-close { position: absolute; top: 4px; right: 6px; width: 30px; height: 30px; border: 0; background: transparent; font-size: 22px; line-height: 1; color: rgba(17,18,20,.55); cursor: pointer; }
.lm-slide-head { display: flex; gap: 10px; align-items: center; padding-right: 26px; }
.lm-slide-cover { position: relative; flex: 0 0 38px; width: 38px; height: 54px; background: #EDE3D5; overflow: hidden; box-shadow: 0 3px 8px rgba(17,18,20,.2); }
.lm-slide-cover img { width: 100%; height: 60%; object-fit: cover; display: block; }
.lm-slide-cover span { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; padding: 2px 3px; font-size: 6px; font-weight: 800; text-transform: uppercase; background: #FAF7F2; border-top: 1px solid #FF6A00; overflow: hidden; }
.lm-slide .lm-eyebrow { margin: 0 0 2px; font-size: 9px; }
.lm-slide-title { font-size: 14px; font-weight: 800; line-height: 1.25; }
.lm-slide .lm-form { display: none; margin-top: 10px; }
.lm-slide.lm-open .lm-form { display: block; }
.lm-slide .lm-input { padding: 10px 12px; font-size: 16px; }
.lm-slide .lm-btn { padding: 10px 14px; font-size: 14px; }
.lm-slide .lm-consent { font-size: 11px; }
html.lm-slide-open #lc-teaser { display: none !important; }

@media (min-width: 900px) {
    .lm-slide {
        left: auto;
        right: 24px;
        bottom: 104px; /* above the 56px chat button at 24px */
        width: 340px;
        padding: 18px 18px 14px;
        transform: translateX(120%);
    }
    .lm-slide.lm-in { transform: translateX(0); }
    .lm-slide .lm-form { display: block; margin-top: 14px; }
    .lm-slide-cover { flex-basis: 54px; width: 54px; height: 76px; }
    .lm-slide-cover span { font-size: 8px; padding: 3px 4px; }
    .lm-slide-title { font-size: 16px; }
    .lm-slide .lm-row { flex-direction: column; }
}
