/* ============================================================
 * vertical.css — shared layout for branche-specific landings
 * ============================================================
 *
 * Used by /maler, /elektriker, /tischler, /dachdecker,
 * /installateur and any future vertical-spoke landing page.
 *
 * Each consumer page sets ONE CSS variable in an inline <style>:
 *
 *   :root { --vertical-accent: #2E5C8A; }
 *
 * That value bleeds into the hero stripe, step-number circles,
 * pricing-block highlight border, link-color on the example tag,
 * and the final-CTA button. Everything else inherits from
 * styles.css (the hub-page design tokens).
 *
 * Why a separate file: the markup is shared 95% across the five
 * pages, but inline-duplicating 300 lines of CSS per HTML file
 * makes future tweaks a five-place editing job. One CSS file +
 * one --vertical-accent override = one place to tune layout, five
 * places to tune copy.
 */

body { background: var(--bg); }

.vertical-shell { min-height: 100vh; display: flex; flex-direction: column; }

/* ----- sticky nav ----- */
.vertical-nav {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
}
.vertical-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}
.vertical-nav a.logo-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px;
}
.vertical-nav a.logo-link img {
  width: 32px; height: 32px;
  border-radius: 6px;
}
.vertical-nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius);
  font-weight: 600; font-size: 14px;
}

/* ----- hero ----- */
.vertical-hero {
  padding-block: clamp(56px, 9vw, 120px);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative;
  overflow: hidden;
}
.vertical-hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0;
  height: 6px;
  background: var(--vertical-accent);
  opacity: .9;
}
.vertical-hero .eyebrow { margin-bottom: 16px; }
.vertical-hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 0 0 18px;
  text-wrap: balance;
  max-width: 14ch;
}
.vertical-hero h1 .accent { color: var(--vertical-accent); }
.vertical-hero p.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 36px;
  line-height: 1.55;
}
.vertical-hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 28px;
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius);
  font-weight: 600; font-size: 16px;
  transition: transform .12s ease;
}
.vertical-hero-cta:hover { transform: translateY(-1px); }
.vertical-hero-cta + .vertical-hero-cta {
  margin-left: 12px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

/* ----- 3-step recipe ----- */
.vertical-recipe {
  padding-block: clamp(40px, 6vw, 80px);
  background: var(--bg);
}
.vertical-recipe h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600; letter-spacing: -0.02em;
  margin: 0 0 36px; max-width: 22ch; text-wrap: balance;
}
.vertical-recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 720px) {
  .vertical-recipe-grid { grid-template-columns: 1fr; }
}
.vertical-step {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}
.vertical-step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--vertical-accent); color: white;
  font-weight: 700; font-size: 20px;
  margin-bottom: 16px;
}
.vertical-step h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.vertical-step p {
  color: var(--ink-2); margin: 0;
  font-size: 15px; line-height: 1.55;
}

/* ----- examples gallery ----- */
.vertical-examples {
  padding-block: clamp(40px, 6vw, 80px);
  background: var(--bg-2);
}
.vertical-examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.vertical-example {
  aspect-ratio: 9/16;
  background: var(--ink); color: white;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.vertical-example video,
.vertical-example img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.vertical-example .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--vertical-accent) 0%, #1a1407 100%);
  color: white; font-weight: 600; font-size: 18px; text-align: center;
  padding: 24px;
}
.vertical-example-label {
  position: absolute; left: 12px; bottom: 12px;
  padding: 4px 10px;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
}

/* ----- trust band ----- */
.vertical-trust {
  padding-block: 36px;
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.vertical-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: center;
}
.vertical-trust-item {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; color: var(--ink-2);
}
.vertical-trust-item .icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}

/* ----- pricing block ----- */
.vertical-pricing { padding-block: clamp(40px, 6vw, 80px); }
.vertical-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
@media (max-width: 900px) {
  .vertical-pricing-grid { grid-template-columns: 1fr; }
}
.vertical-price {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  display: flex; flex-direction: column;
}
.vertical-price.founder {
  border: 2px solid var(--vertical-accent);
  position: relative;
}
.vertical-price.founder::before {
  content: "Founder-Tier · nur erste 25 Kunden";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--vertical-accent); color: white;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
}
.vertical-price h3 { font-size: 22px; font-weight: 600; margin: 0 0 4px; }
.vertical-price .price {
  font-size: 40px; font-weight: 600; letter-spacing: -0.02em;
  margin: 12px 0 6px;
}
.vertical-price .price .per {
  font-size: 16px; color: var(--ink-2); font-weight: 400;
}
.vertical-price ul {
  list-style: none; padding: 0; margin: 16px 0;
  color: var(--ink-2); font-size: 15px; line-height: 1.65;
}
.vertical-price li::before {
  content: "✓"; color: var(--vertical-accent);
  margin-right: 10px; font-weight: 600;
}
.vertical-price .cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px;
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
  transition: transform .12s ease;
}
.vertical-price.founder .cta { background: var(--vertical-accent); }
.vertical-price .cta:hover { transform: translateY(-1px); }

/* ----- cities band ----- */
.vertical-cities { padding-block: clamp(40px, 6vw, 80px); }
.vertical-cities h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}
.vertical-cities p.lede {
  color: var(--ink-2); margin: 0 0 28px; max-width: 60ch;
}
.vertical-cities-list {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.vertical-cities-list span {
  padding: 8px 14px;
  background: var(--bg-2);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
}

/* ----- final CTA ----- */
.vertical-final-cta {
  padding-block: clamp(56px, 8vw, 100px);
  background: var(--ink); color: var(--bg);
  text-align: center;
}
.vertical-final-cta h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600; letter-spacing: -0.025em;
  margin: 0 0 14px; text-wrap: balance;
}
.vertical-final-cta p {
  color: rgba(255,255,255,.7);
  margin: 0 0 32px;
  font-size: 17px;
}
.vertical-final-cta .btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 28px;
  background: var(--vertical-accent); color: white;
  border-radius: var(--radius);
  font-weight: 600; font-size: 17px;
}

/* ----- footer ----- */
.vertical-footer {
  padding-block: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
}
.vertical-footer a { color: var(--ink-2); }
.vertical-footer a:hover { color: var(--ink); }

/* Mobile: stack the two hero CTAs instead of side-by-side (no overflow on ~375px). */
@media (max-width: 520px) {
  .vertical-hero-cta { display: flex; width: 100%; justify-content: center; }
  .vertical-hero-cta + .vertical-hero-cta { margin-left: 0; margin-top: 12px; }
}

/* ----- FAQ (SEO: feeds FAQPage rich-result schema + unique body copy) ----- */
.vertical-faq { padding-block: 56px; border-top: 1px solid var(--line); }
.vertical-faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
  margin-bottom: 12px;
  background: var(--bg-2, var(--bg));
}
.vertical-faq-item > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.vertical-faq-item > summary::-webkit-details-marker { display: none; }
.vertical-faq-item > summary::after {
  content: "+";
  color: var(--vertical-accent);
  font-size: 22px; font-weight: 400; line-height: 1;
}
.vertical-faq-item[open] > summary::after { content: "\2212"; }
.vertical-faq-item > p {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 15px; line-height: 1.6;
  max-width: 64ch;
}
