/* ========================================
   re|spic|ere — Leistungs-Landingpages (/angebot/)
   Calm vertical reading page in the same type and palette as the
   bookshelf (base.css). One text column on the --rhythm grid.
   ======================================== */

html { font-size: 17px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  line-height: var(--rhythm);
  hyphens: auto;
  -webkit-hyphens: auto;
}

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--faint); text-decoration-thickness: 0.5px; text-underline-offset: 2px; transition: text-decoration-color 0.3s ease, color 0.3s ease; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible, summary:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.pipe {
  color: var(--ink);
  display: inline-block;
  font-weight: 200;
  transform: scaleX(0.5);
}

/* ---------- Header ---------- */
.lp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 0;
}
.lp-wordmark {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.lp-wordmark--small { font-size: 1.1rem; letter-spacing: 0.02em; }
.lp-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.lp-nav a,
.lp-eyebrow,
.lp-breadcrumb,
.lp-footer-links a {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.lp-nav a:hover, .lp-footer-links a:hover, .lp-breadcrumb a:hover { color: var(--ink); }

/* ---------- Main column ---------- */
.lp-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--rhythm) * 3) 24px calc(var(--rhythm) * 2);
}
.lp-breadcrumb { margin-bottom: calc(var(--rhythm) * 2); }
.lp-breadcrumb a { color: var(--muted); text-decoration: none; }
.lp-breadcrumb [aria-current] { color: var(--ink-light); }

.lp-article { max-width: 38rem; }

.lp-hero {
  position: relative;
  padding-left: 22px;
  margin-bottom: calc(var(--rhythm) * 2);
}
/* the thin vertical stroke of the bookshelf dividers */
.lp-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: var(--ink);
  opacity: 0.6;
}
.lp-eyebrow { margin-bottom: calc(var(--rhythm) / 2); }
.lp-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  hyphens: manual;
  -webkit-hyphens: manual;
}
.lp-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: calc(var(--rhythm) * 1.25);
  color: var(--ink);
  margin-top: calc(var(--rhythm) / 2);
  hyphens: manual;
  -webkit-hyphens: manual;
}

.lp-section { margin-bottom: calc(var(--rhythm) * 2); }
.lp-section h2,
.lp-cta h2,
.lp-more h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: var(--rhythm);
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: calc(var(--rhythm) / 2);
}
.lp-section p { margin-bottom: var(--rhythm); }
.lp-section p:last-child { margin-bottom: 0; }

.lp-list { list-style: none; }
.lp-list li {
  position: relative;
  padding-left: 22px;
}
.lp-list li::before {
  content: '';
  position: absolute;
  left: 0; top: calc(var(--rhythm) / 2);
  width: 10px; height: 1px;
  background: var(--faint);
}
.lp-list--quotes li { font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--ink-light); }
.lp-list--quotes li::before { top: calc(var(--rhythm) / 2 + 1px); }

.lp-case {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.lp-case-title {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: calc(var(--rhythm) / 2) !important;
}

.lp-faq { border-top: 1px solid var(--line); padding: calc(var(--rhythm) / 2) 0; }
.lp-faq:last-child { border-bottom: 1px solid var(--line); }
.lp-faq summary {
  cursor: pointer;
  color: var(--ink-light);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: '+';
  position: absolute; right: 4px; top: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--muted);
  transition: transform 0.3s ease;
}
.lp-faq[open] summary::after { transform: rotate(45deg); }
.lp-faq p { margin: calc(var(--rhythm) / 2) 0 0 !important; }

/* ---------- Call to action ---------- */
.lp-cta {
  margin-top: calc(var(--rhythm) * 3);
  padding: calc(var(--rhythm) * 1.5) 0;
  border-top: 1px solid var(--ink);
}
.lp-cta p { margin-bottom: var(--rhythm); }
.lp-cta-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.lp-button {
  display: inline-block;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.4;
  border-radius: 2px;
  transition: background 0.3s ease;
}
.lp-button:hover { background: var(--ink-light); color: var(--bg); }
.lp-cta-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 0 !important; }

/* ---------- More services ---------- */
.lp-more {
  margin-top: calc(var(--rhythm) * 3);
  padding-top: var(--rhythm);
  border-top: 1px solid var(--line);
}
.lp-more ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0 32px;
}
.lp-more li { border-bottom: 1px solid var(--line-light); }
.lp-more a {
  display: block;
  padding: calc(var(--rhythm) / 2) 0;
  text-decoration: none;
}
.lp-more-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  line-height: var(--rhythm);
}
.lp-more-lead {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
  hyphens: manual;
  -webkit-hyphens: manual;
}
.lp-more a:hover .lp-more-name { text-decoration: underline; text-decoration-thickness: 0.5px; text-underline-offset: 3px; }
.lp-more--overview { border-top: 0; margin-top: var(--rhythm); }

/* ---------- Footer ---------- */
.lp-footer {
  max-width: 1100px;
  margin: calc(var(--rhythm) * 2) auto 0;
  padding: var(--rhythm) 24px calc(var(--rhythm) * 1.5);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 32px;
  border-top: 1px solid var(--line);
}
.lp-footer-links { display: flex; gap: 22px; }
.lp-address { width: 100%; font-size: 0.8rem; color: var(--muted); }
.lp-address a { color: var(--muted); }

@media (max-width: 640px) {
  .lp-header { padding-top: 22px; }
  .lp-nav { gap: 6px 10px; }
  .lp-nav a { letter-spacing: 0.06em; font-size: 0.56rem; }
  .lp-main { padding-top: calc(var(--rhythm) * 2); }
  .lp-hero, .lp-case { padding-left: 16px; }
}

@media print {
  .lp-nav, .lp-more, .lp-cta-actions, .lp-footer-links { display: none; }
  .lp-faq { break-inside: avoid; }
  .lp-faq > p { display: block; }
}
