/* Extended layouts — Landing page, Topic / Themenseite, FAQ */

/* ==========================================================
   LANDING PAGE (campaign — noindex, single CTA focus)
   ========================================================== */

/* Simpler chrome — minimal header, no full nav */
.lp-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border-bottom: 1px solid var(--line);
}
.lp-header .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.lp-header .actions { display: flex; gap: 16px; align-items: center; }
.lp-header .phone {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .lp-header .phone { display: none; }
}

/* Landing hero */
.lp-hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.lp-hero .badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-sand);
  padding: 6px 14px 6px 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.lp-hero .badge .dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  display: inline-block;
}
.lp-hero h1 {
  font-size: clamp(36px, 5vw, 72px);
  max-width: 18ch;
  margin-bottom: 24px;
  letter-spacing: -0.022em;
}
.lp-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.lp-hero .lp-lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  max-width: 52ch;
  color: var(--fg-muted);
  margin-bottom: 40px;
}
.lp-hero .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: end;
}
.lp-hero .promise {
  background: var(--bg-soft);
  padding: 28px 32px;
  border-left: 2px solid var(--accent);
}
.lp-hero .promise h4 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.lp-hero .promise ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.lp-hero .promise li {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px;
  font-size: 15px; line-height: 1.5;
}
.lp-hero .promise li::before {
  content: "✓"; color: var(--accent);
  font-weight: 500;
}
.lp-hero .cta-row {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-top: 40px;
}
.lp-hero .cta-meta {
  font-size: 13px; color: var(--fg-muted);
}
@media (max-width: 920px) {
  .lp-hero .grid { grid-template-columns: 1fr; }
}

/* Pain points */
.lp-pain {
  background: var(--bg-soft);
  padding: clamp(56px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.lp-pain .row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 5vw, 80px);
}
.lp-pain h2 {
  font-style: italic;
  max-width: 14ch;
  font-size: clamp(28px, 3vw, 40px);
}
.lp-pain .items {
  display: grid; gap: 24px;
}
.lp-pain .item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
}
.lp-pain .item .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.lp-pain .item h3 {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.lp-pain .item p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 56ch;
}
@media (max-width: 920px) {
  .lp-pain .row { grid-template-columns: 1fr; }
}

/* Solution / process */
.lp-process {
  padding: clamp(56px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.lp-process .head {
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 32ch;
}
.lp-process .head h2 {
  font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
  margin-top: 16px;
}
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.lp-step {
  background: var(--bg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.lp-step .n {
  font-family: var(--display);
  font-size: 40px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 24px;
  line-height: 1;
}
.lp-step h3 {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: 18ch;
}
.lp-step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
}
.lp-step .time {
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 920px) {
  .lp-steps { grid-template-columns: 1fr; }
}

/* Trust band */
.lp-trust {
  background: var(--accent);
  color: var(--bg);
  padding: clamp(48px, 6vw, 72px) 0;
}
.lp-trust .row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.lp-trust blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.005em;
}
.lp-trust blockquote::before {
  content: "„"; color: color-mix(in srgb, var(--bg) 50%, transparent);
  font-size: 1.4em;
  display: block;
  line-height: 0.4;
  margin-bottom: 24px;
}
.lp-trust .who {
  margin-top: 28px;
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--bg) 65%, transparent);
  font-style: normal;
}
.lp-trust .creds-mini {
  display: grid;
  gap: 24px;
}
.lp-trust .creds-mini .stat {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--bg) 20%, transparent);
}
.lp-trust .creds-mini .stat:last-child { border-bottom: 0; }
.lp-trust .creds-mini .k {
  font-family: var(--display);
  font-size: 32px;
  color: var(--bg);
  line-height: 1;
}
.lp-trust .creds-mini .v {
  font-size: 14px;
  color: color-mix(in srgb, var(--bg) 80%, transparent);
  line-height: 1.4;
}
@media (max-width: 920px) {
  .lp-trust .row { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-section {
  padding: clamp(56px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.faq-section .head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.faq-section .head h2 {
  font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
}
.faq-section .head p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 50ch;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 20px;
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-family: var(--display);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--fg);
  align-items: baseline;
  transition: color var(--tr);
}
.faq-q:hover { color: var(--accent); }
.faq-q .toggle {
  position: relative;
  width: 24px; height: 24px;
  justify-self: end;
  align-self: center;
}
.faq-q .toggle::before,
.faq-q .toggle::after {
  content: ""; position: absolute;
  background: var(--accent);
  top: 50%; left: 50%;
}
.faq-q .toggle::before {
  width: 14px; height: 1px;
  transform: translate(-50%, -50%);
}
.faq-q .toggle::after {
  width: 1px; height: 14px;
  transform: translate(-50%, -50%);
  transition: transform var(--tr);
}
.faq-item.open .faq-q .toggle::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 380ms cubic-bezier(.2,.7,.2,1);
}
.faq-item.open .faq-a { max-height: 800px; }
.faq-a .inner {
  padding: 0 0 28px 0;
  max-width: 64ch;
}
.faq-a p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg);
  margin-bottom: 1em;
}
.faq-a p:last-child { margin-bottom: 0; }

/* Landing final CTA */
.lp-cta {
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--bg-sand);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.lp-cta .inner { max-width: 640px; margin: 0 auto; padding: 0 clamp(20px, 4vw, var(--pad)); }
.lp-cta h2 {
  font-style: italic;
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
}
.lp-cta p {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}
.lp-cta .actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* Inline noindex hint (visible only in tweak demo) */
.noindex-pill {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 40;
  background: rgba(0,0,0,0.8);
  color: white;
  font-family: var(--mono);
  font-size: 10px;
  padding: 6px 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  opacity: 0.6;
}

/* ==========================================================
   TOPIC / THEMENSEITE (Cornerstone — long-form authority)
   ========================================================== */

.topic-hero {
  padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.topic-hero .breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.topic-hero .breadcrumb a:hover { color: var(--accent); }
.topic-hero .breadcrumb .sep { color: var(--line-strong); }
.topic-hero h1 {
  font-size: clamp(36px, 5vw, 72px);
  max-width: 18ch;
  margin-bottom: 24px;
  letter-spacing: -0.022em;
}
.topic-hero h1 em { font-style: italic; color: var(--accent); }
.topic-hero .lead {
  max-width: 36ch;
  margin-bottom: 32px;
}
.topic-hero .meta-line {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.topic-hero .meta-line strong {
  color: var(--fg); font-weight: 500;
}

.topic-body {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: clamp(32px, 4vw, 64px);
  padding: clamp(48px, 6vw, 80px) 0;
  align-items: start;
}
.topic-toc {
  position: sticky;
  top: 100px;
  align-self: start;
}
.topic-toc h4 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.topic-toc ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.topic-toc a {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--fg-muted);
  padding-left: 12px;
  border-left: 1px solid var(--line);
  transition: all var(--tr);
}
.topic-toc a:hover { color: var(--fg); }
.topic-toc a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 500;
}

.topic-content {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.75;
}
.topic-content > h2 {
  font-size: clamp(26px, 2.4vw, 34px);
  margin: 2em 0 0.5em;
  font-weight: 400;
  letter-spacing: -0.018em;
  scroll-margin-top: 100px;
}
.topic-content > h2:first-child { margin-top: 0; }
.topic-content > h3 {
  font-size: 20px;
  margin: 1.4em 0 0.4em;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
}
.topic-content p { margin-bottom: 1.3em; color: var(--fg); }
.topic-content ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 1.5em;
}
.topic-content ul li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  margin-bottom: 8px;
  padding: 4px 0;
}
.topic-content ul li::before {
  content: "→"; color: var(--accent); font-family: var(--mono);
}
.topic-content blockquote {
  border-left: 2px solid var(--accent);
  margin: 1.6em 0;
  padding: 4px 0 4px 24px;
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.45;
  color: var(--fg);
}
.topic-content .callout {
  background: var(--bg-sand);
  padding: 24px 28px;
  margin: 2em 0;
  border-left: 2px solid var(--accent);
}
.topic-content .callout h4 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
}
.topic-content .callout p { margin-bottom: 0; font-size: 16px; }

.topic-aside {
  position: sticky;
  top: 100px;
  align-self: start;
  display: flex; flex-direction: column; gap: 24px;
}
.topic-aside .box {
  background: var(--bg-soft);
  padding: 24px;
  border: 1px solid var(--line);
}
.topic-aside .box h4 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.topic-aside .related-list { display: flex; flex-direction: column; gap: 14px; }
.topic-aside .related-list a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.4;
  color: var(--fg);
}
.topic-aside .related-list a:first-child { border-top: 0; padding-top: 0; }
.topic-aside .related-list a .topic-tag {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.topic-aside .related-list a:hover .title-line {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
.topic-aside .cta-box {
  background: var(--accent);
  color: var(--bg);
  padding: 24px;
}
.topic-aside .cta-box h4 { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.topic-aside .cta-box p {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 20px;
}
.topic-aside .cta-box a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--bg);
}

@media (max-width: 1100px) {
  .topic-body { grid-template-columns: 200px 1fr; }
  .topic-aside { grid-column: 1 / -1; position: static; flex-direction: row; flex-wrap: wrap; gap: 16px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
  .topic-aside .box, .topic-aside .cta-box { flex: 1 1 280px; }
}
@media (max-width: 800px) {
  .topic-body { grid-template-columns: 1fr; }
  .topic-toc { position: static; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
}

/* Lang-switcher uses <a> for crawlable URLs — mirror the original button look */
.lang-switch a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--fg-muted);
  text-decoration: none;
  display: inline-block;
  transition: color var(--tr), background var(--tr);
}
.lang-switch a[aria-current="true"] {
  background: var(--fg);
  color: var(--bg);
}
.lang-switch a:hover:not([aria-current="true"]) {
  color: var(--fg);
}
