/* =======================================================================
   Pillar-Seiten (Branchen und Leistungen), Stand 2026-09-30.
   Ergaenzt style.css, aendert es nicht. Alles ist auf body.pt-pillar
   begrenzt. Akzent = Marken-Blau (page-beratung), Gold nur als Dekor,
   kein Rot, kein Tuerkis, kein Lila, keine Pill-Buttons.
   ======================================================================= */

/* --- Basis-Overrides aus der Branchen-Vorlage --- */
body.pt-pillar .section-sand .eyebrow,
body.pt-pillar .section-sand .eyebrow.accent-eyebrow { color: var(--accent-deep); }
body.pt-pillar .breadcrumbs a:hover { color: var(--gold-text); }
body.pt-pillar .section-sand .stepper .step h3 { color: var(--ink); }
body.pt-pillar .section-sand .stepper .step p { color: var(--muted); }
body.pt-pillar .faq-q .ind { color: var(--accent); }

/* --- Hero mit Bild --- */
body.pt-pillar .page-hero .container { max-width: 1200px; }
.pl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.pl-hero-grid h1 { text-align: left; font-size: clamp(30px, 3.3vw, 44px); line-height: 1.12; }
.pl-hero-grid .lead { margin-left: 0; font-size: clamp(16px, 1.3vw, 17.5px); }
.pl-facts {
  margin-top: 18px; max-width: 62ch;
  color: var(--muted); font-size: 14.5px; line-height: 1.65;
  display: flex; gap: 12px; align-items: flex-start;
}
.pl-facts::before { content: ""; flex: 0 0 18px; height: 1px; margin-top: 11px; background: var(--gold-dekor); }
.pl-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.pl-hero-cta .pl-tel { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--line); }
.pl-hero-cta .pl-tel:hover { color: var(--accent); border-color: var(--accent); }
.pl-hint { margin-top: 14px; color: var(--muted); font-size: 13.5px; max-width: 56ch; }

/* --- Bilder und Video --- */
.pl-figure {
  position: relative; margin: 0;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand-bg);
  box-shadow: 0 24px 60px -30px rgba(12, 32, 51, 0.35);
  --band-inset: 9px; --band-r: 11px;
}
.pl-figure img, .pl-figure video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pl-credit {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 16px 9px;
  font-size: 11.5px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, transparent, rgba(12, 32, 51, 0.62));
  pointer-events: none;
}
.pl-video-sec { padding-top: 0; }
.pl-video-wrap { max-width: 1100px; margin: 0 auto; }
.pl-video-note { margin: 14px 2px 0; color: var(--muted); font-size: 14px; max-width: 70ch; }
.pl-video-toggle {
  position: absolute; right: 14px; top: 14px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; min-height: 40px;
  border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(12, 32, 51, 0.55); color: #fff;
  font: 600 12.5px/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
}
.pl-video-toggle:hover { background: rgba(12, 32, 51, 0.75); border-color: #fff; }
.pl-video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pl-video-toggle[hidden] { display: none; }

/* --- Zweispalter Text und Bild --- */
.pl-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}
.pl-split.pl-media-right > .pl-figure { order: 2; }
@media (min-width: 901px) {
  .pl-split > .pl-figure { position: sticky; top: calc(var(--nav-h, 76px) + 24px); }
}
.pl-split + .pl-split, .pl-split + .pl-two, .pl-two + .pl-platform, .pl-cards + .pl-platform { margin-top: clamp(28px, 4vw, 48px); }

/* --- Listenkarten (Saison, Bremsen, Inklusive) --- */
.pl-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.6vw, 28px); }
.pl-col {
  background: var(--card-bg);
  border: 1px solid var(--line-light);
  border-radius: 16px;
  padding: clamp(22px, 2.8vw, 32px);
}
.pl-col.pl-go { border-top: 3px solid var(--accent); }
.pl-col.pl-quiet { border-top: 3px solid var(--gold-dekor); }
.pl-col.pl-stop { border-top: 3px solid var(--silber); }
.pl-col h3 { font-family: var(--display); color: var(--ink); font-size: clamp(18px, 1.5vw, 21px); margin: 0 0 16px; line-height: 1.3; }
.pl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.pl-list li { position: relative; padding-left: 24px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.pl-list li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pl-quiet .pl-list li::before { background: var(--gold-dekor); }
.pl-stop .pl-list li::before, .pl-list.pl-minus li::before { top: 0.72em; width: 11px; height: 2px; border-radius: 2px; background: var(--silber-tief); }

/* --- Loesungskarten --- */
.pl-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); }
.pl-card {
  background: var(--card-bg);
  border: 1px solid var(--line-light);
  border-top: 2px solid var(--gold-dekor);
  border-radius: 14px;
  padding: clamp(20px, 2.4vw, 26px);
}
.pl-card h3 { font-family: var(--display); color: var(--accent-deep); font-size: clamp(17px, 1.35vw, 19px); margin: 0 0 8px; line-height: 1.3; }
.pl-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* --- Plattform-Entscheidung --- */
.pl-platform {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 3.4vw, 40px);
}
.pl-platform h3 { font-family: var(--display); color: var(--ink); font-size: clamp(20px, 1.8vw, 25px); margin: 0 0 8px; }
.pl-platform > p { color: var(--muted); margin: 0 0 22px; max-width: 72ch; }
.pl-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.pl-option { background: var(--card-bg); border: 1px solid var(--line-light); border-radius: 12px; padding: 18px 20px; }
.pl-option h4 { margin: 0 0 6px; font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-deep); }
.pl-option p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* --- Angebot / Starter --- */
.pl-offer {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(22px, 3.5vw, 48px);
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(26px, 3.6vw, 46px);
  box-shadow: 0 30px 70px -44px rgba(12, 32, 51, 0.45);
  --band-inset: 10px; --band-r: 14px;
}
.pl-offer-name { font-family: var(--display); font-size: clamp(21px, 2vw, 27px); color: var(--ink); margin: 0 0 14px; line-height: 1.2; }
.pl-offer .pl-price { font-family: var(--display); font-weight: 650; font-size: clamp(40px, 5vw, 58px); color: var(--blau-deep); line-height: 1; margin: 0; }
.pl-price-note { margin: 10px 0 0; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.pl-offer-for { margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.pl-offer-b2b { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.pl-offer .pl-two { gap: clamp(14px, 2vw, 22px); }
.pl-offer .pl-col { padding: 20px 22px; background: var(--paper); }
.pl-offer-delim { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid var(--line-light); color: var(--muted); font-size: 15px; line-height: 1.65; }
.pl-offer-cta { margin-top: 22px; }
.pl-frame { margin-top: clamp(26px, 3.6vw, 42px); }
.pl-frame-notes { margin-top: clamp(18px, 2.6vw, 28px); display: grid; gap: 12px; max-width: 80ch; }
.pl-frame-notes p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.pl-frame-notes strong { color: var(--ink); }

/* --- Belege --- */
.pl-proof { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(22px, 3.5vw, 48px); align-items: start; }
.pl-proof-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 32px);
  --band-inset: 8px; --band-r: 12px;
}
.pl-proof-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 14px; }
.pl-kpi strong { display: block; font-family: var(--display); font-size: clamp(30px, 3.4vw, 40px); color: var(--ink); line-height: 1.05; }
.pl-kpi span { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; }
.pl-proof-card p { margin: 0 0 10px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.pl-proof-card p:last-child { margin-bottom: 0; }
.pl-proof-card a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.pl-open { margin-top: 18px; color: var(--muted); font-size: 14.5px; font-style: italic; max-width: 70ch; }

/* --- Weiterfuehrende Links --- */
.pl-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.pl-link-card { background: var(--card-bg); border: 1px solid var(--line-light); border-top: 2px solid var(--gold-dekor); border-radius: 14px; padding: 22px 22px 20px; }
.pl-link-card { position: relative; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.pl-link-card:hover { transform: translateY(-4px); border-color: var(--accent-glow); box-shadow: 0 18px 40px -26px rgba(10, 26, 43, 0.5); }
.pl-link-card h3 { font-family: var(--display); font-size: 18px; margin: 0 0 8px; line-height: 1.3; }
.pl-link-card h3 a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pl-link-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.pl-link-card h3 a:hover { color: var(--blau-hover); }
.pl-link-card h3 a:focus-visible { outline: none; }
.pl-link-card:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.pl-link-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* --- Abschluss-CTA (Marken-Blau statt Navy-Default, wie Branchen-Vorlage) --- */
body.pt-pillar .cta-band { background: linear-gradient(135deg, var(--accent-deep), #1a4bbf 55%, var(--navy-800)); }
body.pt-pillar .cta-band .eyebrow { color: #dbe6ff; }
body.pt-pillar .cta-band .sub { color: rgba(255, 255, 255, 0.92); }
body.pt-pillar .cta-band .btn-red { background: #fff; color: var(--blau-deep); }
body.pt-pillar .cta-band .btn-red:hover { background: var(--blau-tint); color: var(--blau-deep); }
.pl-cta-note { margin-top: 18px; color: rgba(255, 255, 255, 0.86); font-size: 14px; }
.pl-cta-note a { color: #fff; }

/* --- Consent-Knopf und mobile CTA-Leiste ---
   Der schwebende Knopf "Cookie-Einstellungen" verdeckte mobil den Hero-Button.
   Auf Pillar-Seiten bleibt er auf dem Desktop (eckig wie alle Buttons) und ist
   mobil ausgeblendet; dort oeffnet der Footer-Link "Cookie-Einstellungen" den
   Dialog. In der Leiste ist "Anrufen" schmal, der Hauptbutton bekommt die Breite. */
body.pt-pillar .cc-reopen { border-radius: 6px; }
body.pt-pillar .mobile-cta-bar .c-call { flex: 0 0 auto; padding: 13px 16px; font-size: 12px; letter-spacing: 0.04em; }
body.pt-pillar .mobile-cta-bar .c-cta { flex: 1 1 auto; }
@media (max-width: 680px) {
  body.pt-pillar .cc-reopen { display: none !important; }
}

/* --- Responsiv --- */
@media (max-width: 1000px) {
  .pl-options { grid-template-columns: 1fr; }
  .pl-offer { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pl-hero-grid, .pl-split, .pl-two, .pl-proof { grid-template-columns: 1fr; }
  .pl-split.pl-media-right > .pl-figure { order: 0; }
  .pl-cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pl-price { font-size: 42px; }
  .pl-proof-kpis { grid-template-columns: 1fr 1fr; }
  .pl-video-toggle { right: 10px; top: 10px; padding: 8px 12px; }
}
