/* AK86 2026 – Leistungsseite (aus dem Prototyp Webdesign vom 28./29.10.2026) */
/* =================== Leistungsseite =================== */
/* Kopf: Projektfotos als Vollbild-Hintergrund, Titel als weißer Text darauf */
.lx-hero { padding-top: 120px; padding-bottom: calc(5vh + 190px); overflow: hidden; }
.lx-hero .hero-in { position: relative; z-index: 1; }
/* läuft nach unten ins Raster aus wie der Kopf der Projektseite */
.lx-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
.lx-bgp { position: absolute; inset: -40px; z-index: 0; }
.lx-bgp i { position: absolute; inset: 0; background-size: cover; background-position: 50% 50%; will-change: transform, clip-path; }
/* leicht abgedunkelt für Schrift und Menü; den Übergang in die Seite macht die Maske */
.lx-bg::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(var(--bgcolor-rgb),.5) 0%, rgba(var(--bgcolor-rgb),.55) 40%, rgba(var(--bgcolor-rgb),.38) 75%, rgba(var(--bgcolor-rgb),.55) 100%); }
.lx-h1 { display: block; color: var(--textcolor); text-shadow: 0 2px 40px rgba(0,0,0,.25); }
.lx-big { display: block; overflow-wrap: anywhere; hyphens: none; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .92; letter-spacing: -.03em; }
.lx-line { display: inline; } /* Text fließt in einer festen Größe, Wörter brechen wo nötig, auch im Wort ohne Trennstrich (Alex 02.11.) */
.lx-line b { font-weight: inherit; }
.lx-line i { font-style: normal; color: var(--main); }
.lx-sub { display: block; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; color: var(--sec); font-size: clamp(22px, 2.6vw, 48px); margin-top: .5em; }
.lx-measure { position: absolute; left: -9999px; top: 0; visibility: hidden; white-space: nowrap; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: 100px; }
.lx-row { position: absolute; left: var(--hpad); right: var(--hpad); bottom: 5vh; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 4vw; }
.lx-cap { font-family: var(--f-mono); font-size: 13px; min-height: 1.5em; }
.lx-cap a { color: var(--textcolor); text-decoration: none; }
.lx-cap a:hover b { text-decoration: underline; }
.lx-cap b { font-weight: 600; }
.lx-count { margin: 12px 0 0; } /* Zähler wie überall (.lw-count in base.css) statt der Strich-Leiste (Alex 02.11.) */
.lx-hero .quick { position: relative; top: auto; right: auto; }
/* Text aus dem Entwurf: Links, Platzhalter, Bestätigen-Stellen */
a.tl { color: inherit; text-decoration: underline; text-decoration-color: var(--main); text-decoration-thickness: 2px; text-underline-offset: .18em; transition: color .25s; }
a.tl:hover { color: var(--acc); }
mark.ph { background: #ffe14d; color: var(--bgcolor); padding: .02em .3em; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.contact-name mark.ph { font: 600 12px/1.4 var(--f-mono); text-transform: none; letter-spacing: 0; vertical-align: middle; }
/* Kundenstimmen: an einer Stelle gebündelt, große Schrift, keine Flächen, alle auf einer Linie */
.kst { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(30px, 6vw, 120px); align-items: start; }
.kst .sh-row { position: sticky; top: clamp(110px, 16vh, 170px); margin: 0; }
.kst-l { border-top: 1px solid var(--line); }
.kq { margin: 0; padding: clamp(24px, 3vw, 48px) 0; border-bottom: 1px solid var(--line); }
.kq blockquote { margin: 0; }
.kq p { margin: 0; font-weight: 700; font-size: clamp(22px, 2.5vw, 46px); line-height: 1.14; letter-spacing: -.018em; }
.kq figcaption { margin-top: clamp(14px, 1.4vw, 22px); font: 13px var(--f-mono); color: rgba(var(--gridcolor-rgb),.75); }
/* Einstieg */
.li-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 6vh, 80px) clamp(30px, 6vw, 120px); align-items: start; }
.li-lead { grid-column: 1 / -1; font-weight: 700; font-size: clamp(30px, 4.2vw, 80px); line-height: 1.04; letter-spacing: -.028em; max-width: 19ch; }
.li-lead.lang { font-size: clamp(27px, 3.2vw, 60px); line-height: 1.08; max-width: 28ch; }
.li-body > p { font-size: clamp(18px, 1.45vw, 25px); line-height: 1.5; color: rgba(var(--gridcolor-rgb),.9); max-width: 40ch; }
.li-body > p + p { margin-top: 1em; }
.li-trust { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 13px; line-height: 1.6; color: rgba(var(--gridcolor-rgb),.75); max-width: 50ch; }
.li-trust b { display: block; margin-bottom: 10px; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(20px, 1.6vw, 30px); line-height: 1; letter-spacing: -.02em; color: var(--textcolor); }
.li-body .rb { margin-top: 34px; }
/* Die Zahl steht rechts neben dem Text, wo vorher das Zitat stand */
.lx-intro .li-trust { margin-top: 0; }
.lx-intro .li-trust b { font-size: clamp(28px, 3.4vw, 64px); margin-bottom: 16px; }
/* Leistungsumfang: Kacheln, die erste trägt den Einstiegssatz */
.ftiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ftiles.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ftile { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: clamp(240px, 17vw, 320px); padding: clamp(20px, 1.8vw, 32px); background-color: rgba(var(--gridcolor-rgb),.08); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(var(--gridcolor-rgb),.4); transition: background-color .35s, border-color .35s; }
.ftile:hover { background-color: rgba(var(--gridcolor-rgb),.15); border-color: var(--gridcolor); }
.ftile .fn { font-family: var(--f-mono); font-size: 13px; color: var(--acc); }
.ftile h3 { font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(18px, 1.4vw, 26px); line-height: 1; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ftile p { font-size: 15px; line-height: 1.5; color: rgba(var(--gridcolor-rgb),.84); margin-top: auto; }
.ftile.lead { background-color: var(--main); border-color: var(--main); }
.ftile.lead .fn { color: var(--textcolor); opacity: .7; }
.ftile.lead p { font-weight: 700; font-size: clamp(19px, 1.5vw, 27px); line-height: 1.22; letter-spacing: -.01em; color: var(--textcolor); }
/* Satz unter dem Ablauf */
.sa-after { margin-top: clamp(20px, 4vh, 50px); max-width: 62ch; font-size: clamp(17px, 1.3vw, 22px); line-height: 1.55; color: var(--gridcolor-86); padding-left: 22px; border-left: 3px solid var(--main); }
/* Inhouse-Agentur: zwei Absätze nebeneinander */
.ih-rows { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 120px); align-items: start; }
.ih-t p { font-size: clamp(18px, 1.5vw, 26px); line-height: 1.5; color: rgba(var(--gridcolor-rgb),.9); max-width: 40ch; }
/* Drei Ausgangslagen: links die Lagen als Auswahl, rechts das Projekt dazu */
.al { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 100px); align-items: start; }
.al-list { border-top: 1px solid var(--line); }
.al-q { position: relative; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0 clamp(14px, 1.6vw, 28px); padding: clamp(20px, 2.6vw, 42px) 0; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--textcolor); text-align: left; cursor: pointer; }
.al-q b { font-weight: 700; line-height: 1.16; letter-spacing: -.015em; font-size: clamp(19px, 1.75vw, 31px); color: rgba(var(--gridcolor-rgb),.5); transition: color .35s; } /* Auswahl, keine Überschrift: normale Schrift und klar unter „Drei Ausgangslagen“, inaktiv blass statt Umriss (04.11.: „hier sieht es noch unrund aus“, „beim ersten Bild ist die hierachvie nicht klapor“) */
.al-q.on b, .al-q:hover b, .al-q:focus-visible b { color: var(--textcolor); }
.al-n { align-self: start; padding-top: .6em; font-family: var(--f-mono); font-size: 13px; color: var(--acc); }
.al-q i { font-style: normal; font-size: clamp(22px, 2vw, 34px); color: var(--main); opacity: 0; transform: translateX(-14px); transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.al-q.on i { opacity: 1; transform: none; }
.al-q::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background: var(--main); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.al-q.on::after { transform: scaleX(1); }
.al-panels { display: grid; }
.al-p { grid-area: 1 / 1; }
.al-p .case-img { aspect-ratio: 3 / 2; } /* 3:2 wie alle Projektbilder (Alex 02.11.) */
.al-p .case-img img { filter: none; transform: scale(1.02); }
.al-p:hover .case-img img { transform: scale(1.07); }
.case { position: relative; display: flex; flex-direction: column; cursor: pointer; }
.case-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 22px; background: var(--surface-2); -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%); mask-image: linear-gradient(to bottom, #000 58%, transparent 100%); } /* läuft unten aus wie alle Projektbilder (Alex 02.11.) */
.case-img img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.82); transform: scale(1.04); transition: filter .6s, transform 1.2s cubic-bezier(.2,.8,.2,1); }
.case:hover .case-img img, .case:focus-within .case-img img { filter: none; transform: scale(1.1); }
.case-n { font-family: var(--f-mono); font-size: 12px; color: var(--acc); letter-spacing: .08em; text-transform: uppercase; }
.case h3 { font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(20px, 1.75vw, 31px); line-height: 1.08; letter-spacing: -.02em; margin: 8px 0 12px; overflow-wrap: anywhere; }
.case p { font-size: clamp(16px, 1.1vw, 19px); line-height: 1.55; color: rgba(var(--gridcolor-rgb),.84); }
.case-go { margin-top: auto; padding-top: 20px; font-family: var(--f-mono); font-size: 13px; color: var(--acc); text-decoration: none; }
.case-go:hover { text-decoration: underline; }
/* Relaunch: Frage groß links, Antwort rechts */
.lx-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 120px); align-items: start; }
.lx-split .tx p { font-size: clamp(18px, 1.45vw, 25px); line-height: 1.5; color: rgba(var(--gridcolor-rgb),.9); max-width: 42ch; }
.lx-split .tx p + p { margin-top: 1em; }
.lx-split .rb { margin-top: 30px; }
/* Kosten und Dauer */
.ko-lead { font-weight: 500; font-size: clamp(20px, 1.8vw, 32px); line-height: 1.25; letter-spacing: -.012em; max-width: 34ch; margin-bottom: clamp(26px, 5vh, 56px); color: var(--gridcolor-86); } /* klar unter der Überschrift, keine zweite Headline */
.ktab { width: 100%; border-collapse: collapse; }
.ktab th { text-align: left; font: 600 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); padding: 0 20px 14px 0; border-bottom: 1px solid var(--gridcolor); }
.ktab td { padding: clamp(16px, 1.8vw, 28px) 20px clamp(16px, 1.8vw, 28px) 0; border-bottom: 1px solid var(--line); font-size: clamp(16px, 1.2vw, 20px); line-height: 1.4; vertical-align: top; }
.ktab td:first-child { font-weight: 700; font-size: clamp(18px, 1.5vw, 26px); letter-spacing: -.01em; width: 34%; }
.ktab tbody tr { transition: background-color .3s; }
.ktab tbody tr:hover { background-color: rgba(var(--gridcolor-rgb),.05); }
.ko-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 120px); align-items: end; margin-top: clamp(40px, 8vh, 90px); }
.ko-h { font-weight: 700; font-size: clamp(18px, 1.4vw, 24px); margin-bottom: 10px; }
.ko-drv { list-style: none; border-top: 1px solid var(--line); }
.ko-drv li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); font-size: clamp(16px, 1.2vw, 20px); line-height: 1.45; }
.ko-drv li::before { content: ''; position: absolute; left: 0; top: calc(13px + .5em); width: 10px; height: 10px; background: var(--main); }
.ko-offer { font-weight: 700; font-size: clamp(22px, 2.2vw, 40px); line-height: 1.15; letter-spacing: -.02em; max-width: 22ch; }
/* Lokal */
.loc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 120px); align-items: start; }
.loc-big { display: block; margin-bottom: 30px; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .88; font-size: clamp(44px, 5.4vw, 108px); color: transparent; -webkit-text-stroke: 1.5px rgba(var(--gridcolor-rgb),.8); overflow-wrap: anywhere; }
.loc-big i { font-style: normal; color: var(--main); -webkit-text-stroke: 0; }
.loc p { font-size: clamp(18px, 1.4vw, 24px); line-height: 1.5; color: rgba(var(--gridcolor-rgb),.9); max-width: 42ch; }
.loc-r p + p { margin-top: 1em; }
/* FAQ */
.faq { border-top: 1px solid var(--line); }
.fq { border-bottom: 1px solid var(--line); }
.fq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(18px, 2.2vw, 30px) 0; background: none; border: 0; color: var(--textcolor); text-align: left; cursor: pointer; font: 700 clamp(20px, 2vw, 34px)/1.2 var(--f-body); letter-spacing: -.01em; }
.fq-q i { position: relative; flex: none; width: 28px; height: 28px; transition: transform .4s, color .3s; }
.fq-q i::before, .fq-q i::after { content: ''; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); }
.fq-q i::before { width: 28px; height: 3px; } .fq-q i::after { width: 3px; height: 28px; }
.fq-q[aria-expanded="true"] i { transform: rotate(45deg); color: var(--main); }
.fq-a { overflow: hidden; }
.fq-a p { padding: 0 0 clamp(20px, 2.4vw, 34px); max-width: 64ch; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.55; color: var(--gridcolor-86); }
.faq-more { margin-top: 30px; font-family: var(--f-mono); font-size: 13px; }

.faq-more a.tl { color: var(--acc); text-decoration-color: currentColor; }
/* Kontakt */
.cta .ct-lead { flex-basis: 100%; margin: 26px 0 clamp(40px, 7vh, 80px); max-width: 44ch; font-size: clamp(18px, 1.45vw, 25px); line-height: 1.5; color: rgba(var(--gridcolor-rgb),.9); }
/* Weitere Leistungen: große Outline-Wörter */
.more { display: grid; border-top: 1px solid var(--line); }
.more-w { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 24px; padding: clamp(14px, 1.8vw, 26px) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.more-w b { font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .92; font-size: clamp(32px, 5.2vw, 100px); color: transparent; -webkit-text-stroke: 1.5px rgba(var(--gridcolor-rgb),.75); transition: color .35s, -webkit-text-stroke-color .35s; overflow-wrap: anywhere; }
.more-w b i { font-style: normal; color: transparent; transition: color .35s; }
.more-w:hover b, .more-w:focus-visible b { color: var(--textcolor); -webkit-text-stroke-color: transparent; }
.more-w:hover b i, .more-w:focus-visible b i { color: var(--main); }
.more-w span { grid-column: 1; font-family: var(--f-mono); font-size: 13px; opacity: .75; }
.more-w em { grid-row: 1 / span 2; grid-column: 2; font-style: normal; font-size: clamp(24px, 2.4vw, 40px); transition: transform .3s; }
.more-w:hover em { transform: translateX(8px); }
@media (max-width: 1280px) { .ftiles.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) {
  .li-grid, .ih-rows, .kst, .lx-split, .loc, .ko-grid { grid-template-columns: minmax(0, 1fr); }
  .kst .sh-row { position: static; }
  .al { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .lx-hero { padding-top: 104px; padding-bottom: calc(4vh + 130px); } .lx-row { bottom: 4vh; }
  .lx-hero .quick { width: 116px; --bblur: 28px; flex: none; } .lx-hero .quick span { font-size: 11px; }
  .lx-capbox { flex: 1; min-width: 0; } .lx-cap { font-size: 11px; }
  .ftiles, .ftiles.c4 { grid-template-columns: minmax(0, 1fr); }
  .ftile { min-height: 0; }
  .ftile p { margin-top: 6px; }
  .ktab thead { display: none; }
  .ktab, .ktab tbody, .ktab tr, .ktab td { display: block; width: auto; }
  .ktab tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .ktab td { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; border: 0; text-align: right; }
  .ktab td:first-child { width: auto; text-align: left; margin-bottom: 8px; }
  .ktab td::before { content: attr(data-l); flex: none; text-align: left; font: 600 12px/1.9 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
  .ktab td:first-child::before { display: none; }
}

/* ---------- WordPress: Textlinks aus dem Editor wie a.tl im Prototyp ---------- */
.li-body p a, .ftile p a, .rg-ph p a, .sa-after a, .ih-t a, .al-tx p a, .lx-split .tx p a, .loc p a, .fq-a a, .lx-text a:not(.rb) {
  color: inherit; text-decoration: underline; text-decoration-color: var(--main); text-decoration-thickness: 2px; text-underline-offset: .18em; transition: color .25s; }
.li-body p a:hover, .ftile p a:hover, .rg-ph p a:hover, .sa-after a:hover, .ih-t a:hover, .al-tx p a:hover, .lx-split .tx p a:hover, .loc p a:hover, .fq-a a:hover, .lx-text a:not(.rb):hover { color: var(--acc); }
.faq-more a { color: var(--acc); text-decoration: underline; text-underline-offset: .18em; }
.sa-after p, .faq-more p { margin: 0; }
.sa-after p + p, .fq-a p + p { margin-top: .8em; }
/* Kopf ohne Projektfotos (Leistungen ohne Projekte) */
.lx-hero.no-bg { padding-bottom: calc(5vh + 140px); }
/* Leistungen ohne Bausteine: bisheriger Text in zwei Spalten */
.lx-cols { columns: 2 32ch; column-gap: clamp(30px, 5vw, 90px); max-width: 1500px; }
.lx-cols p { break-inside: avoid; margin: 0 0 1em; font-size: clamp(17px, 1.2vw, 20px); line-height: 1.6; color: rgba(var(--gridcolor-rgb),.88); }
.lx-cols p strong { color: var(--textcolor); }
.lx-text .prose { max-width: 78ch; }

/* Werkzeuge der Leistung (06.11.2026): Kacheln wie auf den Projektseiten, wenige Kacheln sollen nicht winzig werden */
.lx-werkzeuge .ttiles { grid-template-columns: repeat(auto-fill, minmax(clamp(96px, 10vw, 170px), 1fr)); }
