/* Leistungsseiten (SEO, GEO, SEA) — baut auf tokens.css + components.css auf. */

.lp-crumbs { max-width: var(--max); margin: 0 auto; padding: 1.25rem var(--space-gutter) 0; font-size: .85rem; color: var(--color-text-muted); }
.lp-crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem .6rem; list-style: none; margin: 0; padding: 0; }
.lp-crumbs li + li::before { content: "/"; margin-right: .6rem; opacity: .45; }
.lp-crumbs a { color: var(--color-text-muted); text-decoration: none; }
.lp-crumbs a:hover { color: var(--color-link); }

.lp-hero { max-width: var(--max); margin: 0 auto; padding: 2.5rem var(--space-gutter) 4rem; }
.lp-hero .pm-display { font-size: clamp(2.1rem, 4.6vw, 3.1rem); max-width: 24ch; }
.lp-hero .pm-lead { max-width: 52ch; font-size: 1.2rem; }
.lp-hero .pm-facts { margin-top: 1.75rem; }

.lp-section { max-width: var(--max); margin: 0 auto; padding: 3rem var(--space-gutter); }
.lp-head { max-width: var(--prose-max); margin-bottom: 2rem; }
.lp-head .pm-h2 { margin-bottom: .75rem; }
.lp-head p { margin: 0; color: var(--color-lead); }
.lp-kicker { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-link); font-weight: 500; margin: 0 0 .75rem; }

.lp-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.lp-card { background: var(--color-raised); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.lp-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; color: var(--color-heading); }
.lp-card p { margin: 0; color: var(--color-text-muted); }
.lp-card .lp-kicker { margin-bottom: .6rem; }
.lp-card--quote::before { content: ""; display: block; width: 1.5rem; height: 1px; background: var(--color-line); margin-bottom: 1rem; }
.lp-card--quote p { font-size: 1.05rem; color: var(--color-text); }
.lp-card--accent { border-color: var(--color-chip-border); background: var(--color-chip-bg); box-shadow: none; }
.lp-card--muted { box-shadow: none; background: transparent; }
.lp-card .pm-list { margin: 0; }
.lp-card .pm-list li:last-child { margin-bottom: 0; }

.lp-reframe { margin: 2rem 0 0; max-width: var(--prose-max); font-size: 1.15rem; color: var(--color-lead); }

.lp-prose { max-width: var(--prose-max); }
.lp-prose p { margin: 0 0 1rem; color: var(--color-text); }
.lp-pull { margin: 2rem 0 0; padding-left: 1.25rem; border-left: 2px solid var(--color-line); font-size: 1.3rem; line-height: 1.45; font-weight: 500; color: var(--color-heading); max-width: 36ch; }

.lp-steps { list-style: none; margin: 0; padding: 0; }
.lp-step { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .25rem 1rem; padding: 1.6rem 0; border-top: 1px solid var(--color-border); }
.lp-step:last-child { border-bottom: 1px solid var(--color-border); }
.lp-step-no { font-size: .85rem; font-weight: 500; letter-spacing: .14em; color: var(--color-link); padding-top: .4rem; }
.lp-step h3 { margin: 0 0 .4rem; font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; color: var(--color-heading); }
.lp-step h3 small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-link); font-weight: 500; margin-bottom: .3rem; }
.lp-step p { margin: 0; color: var(--color-text); max-width: 56ch; }
.lp-step-tags { grid-column: 2; margin-top: .9rem; }
@media (min-width: 900px) {
  .lp-step { grid-template-columns: 3rem minmax(0, 1.15fr) minmax(0, .85fr); gap: 0 2rem; }
  .lp-step-tags { grid-column: 3; grid-row: 1; margin-top: .3rem; align-self: start; }
}

.lp-split { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }

/* Einstiegsangebot: dunkles Band wie die Referenzen */
.lp-offer { margin: 3rem 0; padding: 4rem 0; color: var(--blue-100); background: linear-gradient(165deg, var(--color-band-from) 0%, var(--color-band-mid) 48%, var(--color-band-to) 100%); border-block: 1px solid var(--color-band-edge); }
.lp-offer-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--space-gutter); }
.lp-offer-head { max-width: var(--prose-max); margin-bottom: 2rem; }
.lp-offer-head h2 { margin: 0; }
.lp-offer-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .lp-offer-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.5rem; } }
.lp-offer-card { display: flex; flex-direction: column; align-items: flex-start; }
.lp-offer-card h3 { margin: 0 0 .75rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; color: rgba(253, 252, 249, .96); }
.lp-offer-card > p:not(.lp-kicker):not(.lp-offer-note) { margin: 0 0 1.25rem; }
.lp-offer-card .pm-list { margin: 0 0 1.5rem; }
.lp-offer-card .pm-btn { margin-top: auto; }
.lp-offer .pm-btn-ghost { background: transparent; color: var(--blue-100); border-color: rgba(255, 255, 255, .3); }
.lp-offer .pm-btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); color: #fff; }
.lp-offer .lp-kicker { color: var(--blue-400); }
.lp-offer h2 { font-size: 2rem; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; margin: 0 0 1rem; color: rgba(253, 252, 249, .96); }
.lp-offer p { margin: 0 0 1.5rem; color: rgba(236, 241, 248, .86); }
.lp-offer .pm-list li { color: rgba(236, 241, 248, .9); }
.lp-offer .pm-list li::before { top: .5em; width: .95rem; height: .95rem; background: var(--blue-400); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.lp-offer .pm-list li { padding-left: 1.6rem; }
.lp-offer .pm-list { margin: 0; }
.lp-offer .pm-btn-primary { background: var(--white); color: var(--blue-900); box-shadow: none; }
.lp-offer .pm-btn-primary:hover { background: #fff; color: var(--blue-950); }
.lp-offer-note { margin: 1rem 0 0; font-size: .9rem; color: rgba(236, 241, 248, .66); }
.lp-offer-card { padding: 1.75rem; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }

.lp-faq { max-width: var(--prose-max); }
.lp-faq details { border-top: 1px solid var(--color-border); padding: 1.1rem 0; }
.lp-faq details:last-child { border-bottom: 1px solid var(--color-border); }
.lp-faq summary { cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; list-style: none; font-weight: 600; color: var(--color-heading); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--color-link); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-sm); }
.lp-faq details p { margin: .75rem 0 0; color: var(--color-text-muted); max-width: 60ch; }

.lp-related a.lp-card { display: block; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.lp-related a.lp-card:hover { border-color: var(--color-chip-border); transform: translateY(-2px); }
.lp-related a.lp-card h3 { display: flex; justify-content: space-between; }
.lp-related a.lp-card h3 span { color: var(--color-link); }

.lp-cta { max-width: var(--max); margin: 0 auto; padding: 1rem var(--space-gutter) var(--space-section); }

/* Startseite: Links zu den Leistungsseiten */
.lp-service-links { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .75rem; max-width: 46ch; }
.lp-link-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-raised); text-decoration: none; color: var(--color-text); transition: border-color .2s ease; }
.lp-link-card:hover { border-color: var(--color-chip-border); color: var(--color-text); }
.lp-link-card strong { display: block; color: var(--color-heading); font-weight: 600; }
.lp-link-card span.lp-sub { display: block; font-size: .9rem; color: var(--color-text-muted); }
.lp-link-card .lp-arrow { color: var(--color-link); }

@supports (animation-timeline: view()) {
  .lp-head, .lp-card, .lp-step, .lp-pull, .lp-faq details {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}
@supports not (animation-timeline: view()) {
  .lp-head.reveal, .lp-card.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
  .lp-head.reveal.is-visible, .lp-card.reveal.is-visible { opacity: 1; transform: translateY(0); }
}

/* Schmale Screens: Navigation darf umbrechen statt den Viewport zu sprengen */
@media (max-width: 600px) {
  .pm-header-inner { position: relative; flex-direction: column; align-items: stretch; gap: .55rem; padding-block: .85rem; }
  .pm-header-inner nav { width: 100%; }
  .pm-nav { flex-wrap: nowrap; justify-content: space-between; gap: .35rem .5rem; }
}
/* Nur auf extrem schmalen Displays: Icon in die Logo-Zeile */
@media (max-width: 345px) {
  .pm-nav > li:last-child { position: absolute; top: .8rem; right: var(--space-gutter); }
}

.lp-service-links + .agency-note { margin-top: 2.25rem; }


/* Tags als Links zum Glossar */
.lp-step-tags li, .services-keywords .pm-chips li, .disc-card .pm-chips li { position: relative; transition: border-color .2s ease; }
.lp-step-tags li a, .services-keywords .pm-chips li a, .disc-card .pm-chips li a { color: inherit; text-decoration: none; }
.lp-step-tags li a::after, .services-keywords .pm-chips li a::after, .disc-card .pm-chips li a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.lp-step-tags li:hover, .services-keywords .pm-chips li:hover, .disc-card .pm-chips li:hover { border-color: var(--color-link); }
.lp-step-tags li:focus-within, .services-keywords .pm-chips li:focus-within, .disc-card .pm-chips li:focus-within { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.lp-step-tags li a:focus-visible, .services-keywords .pm-chips li a:focus-visible, .disc-card .pm-chips li a:focus-visible { outline: none; }

/* Glossar */
.lp-terms { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 3rem; }
@media (min-width: 900px) { .lp-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-term { padding: 1rem 0; border-top: 1px solid var(--color-border); scroll-margin-top: 6rem; border-radius: var(--radius-sm); }
.lp-term dt { font-weight: 600; color: var(--color-heading); }
.lp-term dd { margin: .3rem 0 0; color: var(--color-text-muted); max-width: 52ch; }
.lp-term:target { background: var(--color-chip-bg); padding-inline: .75rem; margin-inline: -.75rem; border-top-color: transparent; }


/* Startseite: Leistungen als zwei Disziplin-Karten */
.disc-grid { display: grid; gap: 1.5rem; margin-top: 2.25rem; }
@media (min-width: 900px) { .disc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; } }
.disc-card { display: flex; flex-direction: column; padding: 2rem; background: var(--color-raised); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.disc-card::before { content: ""; width: 2rem; height: 1px; background: var(--color-line); margin-bottom: 1.25rem; }
.disc-card .lp-kicker { margin-bottom: .5rem; }
.disc-card h3 { margin: 0 0 .75rem; font-size: 1.6rem; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; color: var(--color-heading); }
.disc-card > p:not(.lp-kicker) { margin: 0 0 1.5rem; color: var(--color-text); }
.disc-card .pm-chips { margin-bottom: 2rem; }
.disc-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; text-decoration: none; color: var(--color-link); }
.disc-link span { transition: transform .2s ease; }
.disc-link:hover span { transform: translateX(4px); }
.disc-link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-sm); }
.disc-grid + .leistungen-disclaimer { margin-top: 3.5rem; }
.leistungen-start { margin-top: 2.5rem; }
.leistungen-start > p { max-width: 52ch; margin: 0 0 1.25rem; font-size: 1.0625rem; line-height: 1.68; color: var(--color-text); }
.leistungen-start .hero-cta { margin-top: 0; }
.leistungen-intro { max-width: var(--prose-max); }

/* Hero-Eyebrow: Unterlinie folgt der Textlänge statt fester 20rem */
.hero .pm-eyebrow { width: fit-content; max-width: 100%; }

/* Hero: Einleitung nutzt die Spaltenbreite */
.hero .pm-lead { max-width: 50ch; }

/* ── Referenzen & Werdegang ───────────────────────────────────────────── */
.pm-band-link { margin: 2rem 0 0; text-align: center; }
.pm-band-link a { display: inline-flex; gap: .5rem; align-items: center; color: var(--blue-100); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(236, 241, 248, .35); padding-bottom: 2px; }
.pm-band-link a:hover { color: #fff; border-color: #fff; }


.ref-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.ref-card { display: flex; flex-direction: column; }
.ref-card h3 a { color: inherit; text-decoration: none; }
.ref-card h3 a:hover { color: var(--color-link); }
.ref-card .lp-kicker { text-transform: none; letter-spacing: .02em; font-size: .85rem; font-weight: 500; }
.ref-card p { margin-bottom: 1rem; }
.ref-card .disc-link { margin-top: auto; }

/* Zeitlinie: Faden baut sich beim Scrollen auf */
.wd-timeline { list-style: none; margin: 0; padding: 0 0 0 2rem; position: relative; }
.wd-timeline::before,
.wd-timeline::after { content: ""; position: absolute; left: .4rem; top: .6rem; bottom: .6rem; width: 2px; margin-left: -1px; border-radius: 2px; }
.wd-timeline::before { background: var(--color-border-strong); }
.wd-timeline::after { background: var(--color-primary); transform-origin: bottom; }
@supports (animation-timeline: view()) {
  .wd-timeline::after { animation: wd-draw linear both; animation-timeline: view(); animation-range: entry 35% exit 55%; }
  @keyframes wd-draw { from { transform: scaleY(1); } to { transform: scaleY(0); } }
}
.wd-item { position: relative; padding: 0 0 3rem; display: grid; gap: .35rem 2rem; }
.wd-item:last-child { padding-bottom: 0; }
.wd-item::before { content: ""; position: absolute; left: -2rem; top: .45rem; width: .85rem; height: .85rem; border-radius: 50%; background: var(--color-primary); border: 2px solid var(--color-primary); transform: translateX(-.05rem); }
@media (min-width: 900px) { .wd-item { grid-template-columns: 11rem minmax(0, 1fr); } }
.wd-date { margin: 0; padding-top: .3rem; font-size: .85rem; font-weight: 500; letter-spacing: .08em; color: var(--color-link); font-variant-numeric: tabular-nums; }
.wd-body { min-width: 0; max-width: 62ch; }
.wd-body .lp-kicker { margin-bottom: .35rem; }
.wd-body h3 { margin: 0; font-size: 1.35rem; font-weight: 600; letter-spacing: -.015em; color: var(--color-heading); }
.wd-loc { display: block; font-size: .9rem; font-weight: 400; letter-spacing: 0; color: var(--color-text-muted); margin-top: .1rem; }
.wd-role { margin: .6rem 0 .5rem; font-weight: 500; color: var(--color-lead); }
.wd-body p { margin: 0 0 .9rem; color: var(--color-text); }
.wd-body .pm-list { margin-bottom: 1rem; }
.wd-body .pm-list li { color: var(--color-text); }
.wd-win { padding: .85rem 1rem; border-radius: var(--radius); background: var(--color-chip-bg); border: 1px solid var(--color-chip-border); font-size: .98rem; }
.wd-roles { list-style: none; margin: .6rem 0 1rem; padding: 0; border-top: 1px solid var(--color-border); }
.wd-roles li { display: grid; gap: .1rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--color-border); font-weight: 500; color: var(--color-lead); }
.wd-roles li span { font-size: .85rem; font-weight: 400; letter-spacing: .04em; color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
@media (min-width: 600px) { .wd-roles li { grid-template-columns: 10rem 1fr; } }

.wd-two { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.wd-talks { list-style: none; margin: 0; padding: 0; max-width: var(--prose-max); }
.wd-talks li { padding: 1rem 0; border-top: 1px solid var(--color-border); }
.wd-talks li:last-child { border-bottom: 1px solid var(--color-border); }
.wd-talks strong { display: block; color: var(--color-heading); font-weight: 600; }
.wd-talks span { color: var(--color-text-muted); }

/* Referenzen: Stimmen */
.ref-quote { margin: auto 0 0; padding-top: 1.1rem; border-top: 1px solid var(--color-border); }
.ref-quote blockquote { margin: 0 0 1rem; }
.ref-quote blockquote p { margin: 0; color: var(--color-text); font-size: 1rem; line-height: 1.6; }
.ref-quote figcaption { display: flex; align-items: center; gap: .75rem; font-size: .9rem; line-height: 1.35; color: var(--color-text-muted); }
.ref-quote figcaption strong { display: block; color: var(--color-heading); font-weight: 600; }
.ref-avatar { flex: none; width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--color-chip-bg); border: 1px solid var(--color-chip-border); color: var(--color-link); font-weight: 600; font-size: .95rem; }
.ref-card > p:not(.lp-kicker) { margin-bottom: 1.25rem; }
.lp-hero .pm-eyebrow { width: fit-content; max-width: 100%; }
.lp-offer .lp-offer-card .pm-list { margin: 0 0 1.75rem; }
.lp-offer .lp-offer-card .pm-btn { margin-top: auto; }
.lp-offer .lp-offer-card .lp-offer-note { margin: 1.1rem 0 0; }

/* Schmale Handys (z. B. iPhone SE): Buttons einzeilig und gleich breit, Karten etwas schlanker */
@media (max-width: 480px) {
  .pm-btn { padding-inline: 1.1rem; letter-spacing: .01em; text-align: center; }
  .hero-cta .pm-btn, .lp-offer-card .pm-btn { width: 100%; }
  .lp-offer-card { padding: 1.35rem; }
}
@media (max-width: 400px) {
  .pm-btn { font-size: .84rem; padding-inline: .9rem; gap: .3rem; }
}
@media (max-width: 380px) {
  .pm-btn { padding-inline: .7rem; }
  .pm-btn > span[aria-hidden="true"] { display: none; }
}
.lp-card p { text-wrap: balance; }
@media (max-width: 480px) { .lp-card--link p, a.lp-card p { font-size: .94rem; } }

/* Über mich: Stimmen, Belege, Videokurs */
.wd-talks a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
.wd-talks a:hover { color: var(--color-link); text-decoration-color: currentColor; }
.wd-course-wrap { margin-top: 1.5rem; max-width: var(--prose-max); }
a.wd-course { display: block; text-decoration: none; color: inherit; }
a.wd-course h3 { margin-bottom: .5rem; }
a.wd-course:hover h3 { color: var(--color-link); }
a.wd-course .disc-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--color-link); font-weight: 600; }
.ref-card .disc-link:has(+ .ref-quote) { margin-bottom: 1.5rem; }
