/* LIERMANN . Medien – Landingpages (/typo3-entwickler, /product-owner, /automation, /software-entwicklung)
   Baut auf style.css auf (Tokens, Buttons, Header, Footer). */

/* ---------- Hero ---------- */
.lp-hero {
  background: var(--aubergine); color: #fff; position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}
.lp-hero::after {
  content: ""; position: absolute; right: -12vw; top: -30%; width: 60vw; height: 160%;
  background: radial-gradient(closest-side, rgba(162,52,105,.45), transparent 70%); pointer-events: none;
}
.lp-hero .wrap { position: relative; z-index: 1; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: clamp(28px, 5vw, 48px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; color: var(--berry-light); margin-right: .4rem; }
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs a:hover { color: #fff; }
.lp-hero .kicker { color: var(--berry-light); }
.lp-hero h1 {
  color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.2rem); letter-spacing: -.03em; line-height: 1.05;
  max-width: 900px; margin-bottom: .5em;
}
.lp-hero h1 .serif { color: var(--berry-light); font-weight: 400; letter-spacing: -.01em; }
.lp-lead { font-family: var(--font-serif); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; color: rgba(255,255,255,.88); max-width: 760px; margin-bottom: 2rem; }
.lp-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: clamp(36px, 5vw, 56px); }
.lp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 900px; }
.lp-facts li { border-left: 1px solid rgba(255,255,255,.2); padding-left: 1.1rem; }
.lp-facts strong { display: block; font-size: 1.05rem; color: #fff; }
.lp-facts span { font-size: .9rem; color: rgba(255,255,255,.65); }
@media (max-width: 700px) { .lp-facts { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- Einordnung ---------- */
.lp-intro { background: var(--white); }
.lp-intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.lp-intro h2, .lp-sec-title { font-size: clamp(1.9rem, 3.8vw, 2.7rem); letter-spacing: -.02em; }
.lp-intro h2 .serif, .lp-sec-title .serif { color: var(--berry); }
.lp-intro p { color: var(--muted); font-size: 1.05rem; }
.lp-intro p.lead { font-family: var(--font-serif); color: var(--aubergine); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; }
.lp-box {
  background: var(--paper); border-top: 4px solid var(--berry); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); position: sticky; top: calc(var(--header-h) + 24px);
}
.lp-box h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.lp-check li { position: relative; padding: .55rem 0 .55rem 2rem; border-bottom: 1px dashed var(--line); color: var(--aubergine); font-weight: 500; }
.lp-check li:last-child { border-bottom: 0; }
.lp-check li::before {
  content: ""; position: absolute; left: 0; top: .8rem; width: 18px; height: 18px; border-radius: 50%;
  background: var(--berry) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 900px) { .lp-intro-grid { grid-template-columns: 1fr; } .lp-box { position: static; } }

/* ---------- Leistungs-Karten ---------- */
.lp-services { background: var(--paper); }
.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lp-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.lp-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.lp-card {
  background: var(--white); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--line); position: relative; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.lp-card:hover { border-color: var(--berry); transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(31,7,44,.35); }
.lp-card .num { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--berry); display: block; margin-bottom: .6rem; }
.lp-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.lp-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.lp-card ul { margin-top: .9rem; }
.lp-card ul li { font-size: .9rem; color: var(--aubergine); padding: .3rem 0; display: flex; gap: .5rem; }
.lp-card ul li::before { content: "/"; color: var(--berry); font-weight: 700; }
@media (max-width: 1000px) { .lp-cards.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .lp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lp-cards, .lp-cards.cols-2, .lp-cards.cols-4 { grid-template-columns: 1fr; } }

/* ---------- Einfaches Ablauf-Schema (Automation) ---------- */
.flow { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; margin: 2rem 0 .75rem; }
.flow span {
  background: var(--aubergine); color: #fff; font-weight: 600; font-size: .95rem;
  padding: .8rem 1.3rem; border-radius: 999px;
}
.flow span:nth-child(3) { background: var(--berry); }
.flow i { color: var(--berry); font-style: normal; font-size: 1.3rem; }
.flow-caption { text-align: center; font-family: var(--font-serif); font-style: italic; color: var(--muted); font-size: .95rem; }

/* ---------- Vorgehen ---------- */
.lp-process { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line); z-index: 0;
}
.step { position: relative; z-index: 1; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--aubergine); color: #fff; font-weight: 700; margin-bottom: 1.1rem;
  box-shadow: 0 0 0 6px var(--white);
}
.step:last-child::before { background: var(--berry); }
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) {
  .steps, .steps.cols-3 { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 23px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
  .step { padding: 0 0 1.5rem 4.25rem; }
  .step::before { position: absolute; left: 0; top: 0; }
}

/* ---------- Referenzen / Zitat ---------- */
.lp-refs { background: var(--paper-2); }
.lp-ref { background: var(--paper); border-left: 4px solid var(--berry); }
.lp-ref .client { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--berry); margin-bottom: .4rem; }
.lp-ref .chips { margin-top: 1rem; }
.lp-ref .chips span { background: var(--white); }
.lp-quote {
  margin: 2rem 0 0; background: var(--aubergine); color: #fff; border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
}
.lp-quote::before { content: "\201E"; font-family: var(--font-serif); font-size: 5rem; line-height: .5; color: var(--berry-light); }
.lp-quote blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; }
.lp-quote figcaption { grid-column: 2; font-size: .9rem; color: rgba(255,255,255,.7); }
.lp-quote figcaption strong { color: #fff; }
.lp-more-link { margin-top: 1.5rem; display: inline-flex; gap: .4em; font-weight: 600; }

/* ---------- FAQ ---------- */
.lp-faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-grid > div:first-child p { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.15rem 0; font-weight: 600; font-size: 1.05rem; color: var(--aubergine);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--berry); font-weight: 400; font-size: 1.2rem; transition: transform .25s, background .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--berry); border-color: var(--berry); color: #fff; }
.faq summary:hover { color: var(--berry); }
.faq details p { color: var(--muted); margin: 0 0 1.25rem; padding-right: 2.5rem; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid > div:first-child { position: static; } }

/* ---------- CTA-Band ---------- */
.lp-cta { background: var(--aubergine); color: #fff; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.lp-cta::after {
  content: ""; position: absolute; left: -10vw; bottom: -60%; width: 50vw; height: 160%;
  background: radial-gradient(closest-side, rgba(162,52,105,.4), transparent 70%); pointer-events: none;
}
.lp-cta .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.lp-cta h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.7rem); letter-spacing: -.02em; }
.lp-cta h2 .serif { color: var(--berry-light); }
.lp-cta p { color: rgba(255,255,255,.75); margin: 0; }
.lp-cta .lp-actions { margin: 0; justify-content: flex-end; }
.lp-cta-contact { margin-top: 1rem; font-size: .95rem; }
.lp-cta-contact a { color: #fff; }
@media (max-width: 800px) { .lp-cta .wrap { grid-template-columns: 1fr; } .lp-cta .lp-actions { justify-content: flex-start; } }

/* ---------- Weitere Leistungen ---------- */
.lp-more { background: var(--paper); }
.more-cards a {
  display: flex; flex-direction: column; gap: .4rem; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  color: var(--aubergine); transition: border-color .25s, transform .25s var(--ease);
}
.more-cards a:hover { border-color: var(--berry); transform: translateY(-3px); color: var(--aubergine); }
.more-cards strong { font-size: 1.15rem; }
.more-cards span { color: var(--muted); font-size: .93rem; }
.more-cards em { margin-top: auto; padding-top: .6rem; font-style: normal; font-weight: 600; color: var(--berry); }

.lp-promo { grid-template-columns: 1fr; }
.lp-promo::before { display: none; }
.lp-promo .btn-ghost:hover { color: var(--aubergine) !important; }
