/* =========================================================================
   Jordan & Team TGA — Stylesheet fuer die Leistungs-Unterseiten
   Baut auf styles.css auf (Tokens, Nav, Footer, Buttons werden dort definiert).
   Pro Seite wird --trade gesetzt (Akzentfarbe des Gewerks, sehr sparsam
   eingesetzt: Icon, Haarlinie, Glow im Hero).
   ========================================================================= */

:root {
  --trade: #e4e7ea;
  --trade-soft: rgba(228, 231, 234, 0.12);
}

/* ---------- Grundlayout ---------- */
body.lp { background: var(--bg); color: var(--silver); }
.lp main { display: block; }

/* Sprungmarke fuer Tastaturnutzer */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--white);
  color: var(--bg);
  padding: 10px 16px;
  font-family: var(--f-mono);
  font-size: 12px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Breadcrumb ---------- */
.lp-crumb {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}
.lp-crumb li { display: inline-flex; align-items: center; gap: 10px; }
.lp-crumb li + li::before { content: "/"; color: var(--line-2); }
.lp-crumb a { color: var(--silver-dim); transition: color .2s var(--ease); }
.lp-crumb a:hover { color: var(--white); }
.lp-crumb [aria-current] { color: var(--silver); }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(72px + clamp(56px, 9vw, 120px)) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.lp-hero::before {
  /* Feiner Farb-Glow des Gewerks */
  content: "";
  position: absolute;
  z-index: -2;
  top: -30%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle at center, var(--trade-soft) 0%, transparent 62%);
  pointer-events: none;
}
.lp-hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.22;
  mask-image: radial-gradient(70% 60% at 20% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 20% 30%, black 0%, transparent 75%);
  pointer-events: none;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: 1fr; align-items: start; }
}

.lp-h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--white);
  margin: 16px 0 0;
  text-wrap: balance;
}
.lp-h1 .thin {
  -webkit-text-stroke: 1.4px var(--silver);
  color: transparent;
  font-style: italic;
  /* Kursive Kontur laeuft sonst in das folgende Wort */
  margin-right: 0.14em;
}
.lp-h1 .grad {
  background: linear-gradient(180deg, #f5f7f9 0%, #c8ccd1 48%, #7a7f86 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.lp-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--silver);
  max-width: 44ch;
  margin: 0 0 28px;
}
.lp-hero-side { display: flex; flex-direction: column; gap: 28px; }
.lp-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Kennwerte-Kacheln im Hero */
.lp-spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.lp-spec div {
  background: var(--bg);
  padding: 18px 20px;
}
.lp-spec dt {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 6px;
}
.lp-spec dd {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  color: var(--white);
}

/* Gewerke-Wechsler direkt unter dem Hero */
.lp-switch {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.lp-switch-inner {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 14px 0;
  align-items: center;
}
.lp-switch-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-right: 10px;
}
.lp-switch a {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--silver-dim);
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all .2s var(--ease);
}
.lp-switch a:hover { color: var(--white); border-color: var(--line-2); }
.lp-switch a[aria-current] {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- Abschnitts-Kopf ---------- */
.lp-head { margin-bottom: 48px; max-width: 62ch; }
.lp-h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 14px 0 0;
  text-wrap: balance;
}
.lp-sub {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--silver-dim);
  max-width: 60ch;
}

/* ---------- Karten-Raster (Leistungsumfang) ---------- */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 1000px) { .lp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .lp-cards { grid-template-columns: 1fr; } }

.lp-card {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background .3s var(--ease);
}
.lp-card:hover { background: var(--surface); }
.lp-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--trade);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.lp-card:hover::after { transform: scaleX(1); }
.lp-card-ic {
  width: 34px;
  height: 34px;
  color: var(--trade);
  opacity: .9;
}
.lp-card-ic svg { width: 34px; height: 34px; display: block; }
.lp-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0;
}
.lp-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--silver-dim);
  margin: 0;
}
.lp-card ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.lp-card li {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--silver);
  padding-left: 16px;
  position: relative;
}
.lp-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--trade);
}

/* ---------- Zweispalter: Text + Fakten ---------- */
.lp-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .lp-split { grid-template-columns: 1fr; } }
.lp-prose p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--silver-dim);
  margin: 0 0 16px;
}
.lp-prose p strong { color: var(--white); font-weight: 600; }
.lp-prose p:last-child { margin-bottom: 0; }

.lp-rows { border-top: 1px solid var(--line); }
.lp-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.lp-row .no {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--trade);
  padding-top: 4px;
}
.lp-row h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin: 0 0 6px;
}
.lp-row p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--silver-dim);
}

/* ---------- Technik-Chips ---------- */
.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.lp-chips span {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--silver);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 7px 13px;
  background: var(--surface);
}

/* ---------- Heller Abschnitt (Kontrast) ---------- */
.lp-light {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lp-light .eyebrow { color: var(--ink-dim); }
.lp-light .lp-h2 { color: var(--ink); }
.lp-light .lp-sub { color: var(--ink-dim); }
.lp-light .lp-prose p { color: var(--ink-dim); }
.lp-light .lp-prose p strong { color: var(--ink); }
.lp-light .lp-rows { border-top-color: rgba(11,12,14,.14); }
.lp-light .lp-row { border-bottom-color: rgba(11,12,14,.14); }
.lp-light .lp-row .no { color: var(--ink); }
.lp-light .lp-row h3 { color: var(--ink); }
.lp-light .lp-row p { color: var(--ink-dim); }
.lp-light .lp-chips span { color: var(--ink); border-color: rgba(11,12,14,.22); background: rgba(255,255,255,.55); }

/* ---------- Ablauf-Schritte ---------- */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 8px;
}
@media (max-width: 1000px) { .lp-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 560px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step {
  border-left: 1px solid rgba(11,12,14,.14);
  padding: 6px 20px 6px 22px;
  position: relative;
}
.lp-step:first-child { border-left-color: var(--ink); }
.lp-step::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.lp-step:not(:first-child)::before { background: rgba(11,12,14,.32); }
.lp-step .sn {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.lp-step h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin: 12px 0 8px;
}
.lp-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-dim);
  margin: 0;
}

/* ---------- FAQ ---------- */
.lp-faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.lp-faq details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.lp-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: var(--white);
  transition: color .2s var(--ease);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary:hover { color: var(--trade); }
.lp-faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 30px;
  width: 14px;
  height: 1px;
  background: var(--silver-dim);
}
.lp-faq summary::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 24px;
  width: 1px;
  height: 13px;
  background: var(--silver-dim);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.lp-faq details[open] summary::before { transform: rotate(90deg); opacity: 0; }
.lp-faq .answer {
  padding: 0 60px 26px 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--silver-dim);
  max-width: 82ch;
}
.lp-faq .answer p { margin: 0 0 12px; }
.lp-faq .answer p:last-child { margin-bottom: 0; }
@media (max-width: 620px) { .lp-faq .answer { padding-right: 0; } }

/* ---------- Anfrage-Block ---------- */
.lp-ask { background: var(--bg-2); border-top: 1px solid var(--line); }
.lp-ask-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .lp-ask-grid { grid-template-columns: 1fr; } }
.lp-contact-list { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.lp-ci {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  align-items: start;
}
.lp-ci .k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  padding-top: 3px;
}
.lp-ci .v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--white);
  line-height: 1.4;
}
.lp-ci .v small {
  display: block;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 13.5px;
  color: var(--silver-dim);
  margin-top: 4px;
}
.lp-ci a:hover { color: var(--trade); }

/* Formular auf den Leistungsseiten */
.lp-form { background: var(--surface); border: 1px solid var(--line); padding: 32px 28px; }
.lp-form .lp-form-head {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 22px;
}
.lp-form .btn-primary { width: 100%; justify-content: center; padding: 16px; }
.lp-form-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--silver-dim);
  margin-top: 14px;
  text-align: center;
}
.lp-form-note a { color: var(--silver); border-bottom: 1px solid var(--line-2); }
.lp-form-note a:hover { color: var(--white); }
.lp-ok {
  text-align: center;
  padding: 34px 12px;
}
.lp-ok .check {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.lp-ok h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 23px;
  color: var(--white);
  margin: 0 0 8px;
}
.lp-ok p { color: var(--silver-dim); margin: 0; }

/* ---------- Weitere Gewerke ---------- */
.lp-more { background: var(--bg); border-top: 1px solid var(--line); }
.lp-more-grid {
  /* Eigene Rahmen statt Hintergrund-Raster: so bleiben unvollstaendige
     Reihen unsichtbar, egal wie viele Gewerke verlinkt sind. */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 12px;
}
.lp-more-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
  transition: background .3s var(--ease);
}
.lp-more-card:hover { background: var(--surface); border-color: var(--line-2); }
.lp-more-card .mt {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}
.lp-more-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.01em;
}
.lp-more-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--silver-dim);
  margin: 0;
}
.lp-more-card .go {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lp-more-card:hover .go { color: var(--white); }
.lp-more-card .go svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.lp-more-card:hover .go svg { transform: translateX(4px); }

/* ---------- Uebersichtsseite /leistungen ---------- */
.lp-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 760px) { .lp-hub-grid { grid-template-columns: 1fr; } }
.lp-hub-card {
  background: var(--bg);
  padding: 38px 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
  position: relative;
  transition: background .3s var(--ease);
}
.lp-hub-card:hover { background: var(--surface); }
/* Abschlusskarte über die ganze Breite (füllt die letzte Rasterzeile) */
.lp-hub-card.wide { grid-column: 1 / -1; min-height: 240px; }
.lp-hub-card.wide p { max-width: 62ch; }
.lp-hub-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.lp-hub-card:hover::after { transform: scaleX(1); }
.lp-hub-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}
.lp-hub-top .tag { color: var(--c); }
.lp-hub-card h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0;
}
.lp-hub-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--silver-dim);
  margin: 0;
  max-width: 46ch;
}
.lp-hub-card .lp-hub-ic {
  width: 44px;
  height: 44px;
  color: var(--c);
  margin-top: auto;
  opacity: .92;
}
.lp-hub-card .lp-hub-ic svg { width: 44px; height: 44px; display: block; }
.lp-hub-card .go {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lp-hub-card:hover .go { color: var(--c); }
.lp-hub-card .go svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.lp-hub-card:hover .go svg { transform: translateX(4px); }

/* Vorteile-Raster auf der Uebersicht */
.lp-usp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .lp-usp { grid-template-columns: 1fr; gap: 22px; } }
.lp-usp-item { border-top: 1px solid rgba(11,12,14,.16); padding-top: 18px; }
.lp-usp-item h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 8px;
}
.lp-usp-item p { font-size: 14.5px; line-height: 1.6; color: var(--ink-dim); margin: 0; }

/* ---------- Abschluss-Band ---------- */
.lp-band {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.lp-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.lp-band h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  max-width: 24ch;
}
.lp-band p {
  color: var(--ink-dim);
  font-size: 15.5px;
  margin: 14px 0 0;
  max-width: 46ch;
}
.lp-band .row { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-band .btn-ghost { color: var(--ink); border-color: rgba(11,12,14,.3); }
.lp-band .btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Feineinstellungen ---------- */
.lp section { padding: clamp(64px, 8vw, 112px) 0; }
.lp .nav-links a[aria-current] { color: var(--white); }
.lp .nav-links a[aria-current]::after { width: 100%; }
