/*
Theme Name: FBH Leadbase
Theme URI: https://example.com
Description: Wiederverwendbares Basis-Theme fuer Lead-Gen-Websites. Schlankes, content-getriebenes Layout mit Shortcode-Bausteinen ([lt_hero], [lt_cards], [lt_steps], [lt_cta], [lt_faq]), Page-Header mit Bild, self-hosted Assets, SEO- & Schema-ready. Branding (Farben/Schrift) im Block ganz oben anpassbar. Kein Page-Builder, keine externen CDNs.
Author: paper-agent
Version: 1.0.19
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: leads-theme
*/
/* ════════════════════════════════════════════════════════════════
   BRANDING — pro Projekt NUR diesen Block anpassen.
   Vollstaendige Anleitung: siehe README.md im Theme-Ordner.
   Farben, Schrift, Breite. Der Rest des Themes bleibt unveraendert.
   ════════════════════════════════════════════════════════════════ */
:root{
  /* Akzentfarbe (Buttons, Icons, Links) */
  --lt-accent:#f56600;
  --lt-accent-dark:#d24e00;
  /* Flaechen & Text */
  --lt-bg:#ffffff;
  --lt-bg-alt:#f6f7f5;
  --lt-text:#2b2b2e;
  --lt-muted:#6c6a72;
  --lt-border:#e6e3dd;
  /* Layout */
  --lt-radius:10px;
  --lt-maxw:1140px;
  --lt-contentw:1140px;
  /* Schrift: Ueberschriften (Serif) + Fliesstext (Sans) */
  --lt-serif:'Red Hat Display', Arial, sans-serif;
  --lt-sans:'Roboto', -apple-system, Helvetica, Arial, sans-serif;
}
/* ════════════════════════════════════════════════════════════════ */
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;background:var(--lt-bg);color:var(--lt-text);font-family:var(--lt-sans);font-size:17px;line-height:1.75;-webkit-font-smoothing:antialiased;}
img{max-width:100%;height:auto;}
a{color:var(--lt-accent-dark);}
.lt-container{max-width:var(--lt-maxw);margin:0 auto;padding:0 1.25rem;}
h1,h2,h3,h4{font-family:var(--lt-serif);font-weight:900;line-height:1.2;color:var(--lt-text);letter-spacing:-.01em;}
h1{font-size:2.8rem;margin:0 0 .6rem;}
h2{font-size:2rem;margin:2rem 0 .75rem;}
h3{font-size:1.25rem;margin:1.5rem 0 .5rem;}
p{margin:0 0 1.15rem;}
.lt-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.8rem 1.4rem;border-radius:99px;font-family:var(--lt-sans);font-weight:600;font-size:1rem;text-decoration:none;border:0;cursor:pointer;transition:.15s;}
.lt-btn svg{width:1.1em;height:1.1em;}
.lt-btn-primary{background:var(--lt-accent);color:#fff;}
.lt-btn-primary:hover{background:var(--lt-accent-dark);}
.lt-btn-ghost{background:#fff;color:var(--lt-accent-dark);border:1.5px solid var(--lt-border);}
.lt-topbar{background:var(--lt-bg-alt);border-bottom:1px solid var(--lt-border);font-size:.85rem;}
.lt-topbar-inner{max-width:var(--lt-maxw);margin:0 auto;padding:.4rem 1.25rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;color:var(--lt-muted);}
.lt-topbar a{color:var(--lt-text);text-decoration:none;}
.lt-topbar-contact{display:flex;gap:1.25rem;}
.lt-topbar-contact span{display:inline-flex;align-items:center;gap:.35rem;}
.lt-topbar-contact svg{width:1em;height:1em;color:var(--lt-accent);}
.lt-header{background:#fff;border-bottom:1px solid var(--lt-border);position:sticky;top:0;z-index:50;}
.lt-header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 1.25rem;max-width:var(--lt-maxw);margin:0 auto;}
.lt-brand{font-family:var(--lt-serif);font-size:1.3rem;font-weight:600;color:var(--lt-text);text-decoration:none;display:flex;align-items:center;gap:.5rem;}
.lt-brand svg{width:1.4em;height:1.4em;color:var(--lt-accent);}
.lt-nav{display:flex;gap:1.6rem;align-items:center;list-style:none;margin:0;padding:0;}
.lt-nav li{list-style:none;margin:0;}
.lt-nav a{color:var(--lt-text);text-decoration:none;font-size:1rem;font-weight:700;}
.lt-nav a:hover,.lt-nav .current-menu-item>a{color:var(--lt-accent);}
.lt-nav-toggle{display:none;background:none;border:0;cursor:pointer;font-size:1.5rem;color:var(--lt-text);}
.lt-nav-cta{display:inline-flex;align-items:center;gap:.4rem;background:var(--lt-accent);color:#fff !important;padding:.55rem 1.1rem;border-radius:99px;font-weight:700;font-size:.95rem;text-decoration:none;white-space:nowrap;transition:.15s;}
.lt-nav-cta:hover{background:var(--lt-accent-dark);color:#fff !important;}
.lt-nav-cta svg{width:1em;height:1em;}
.lt-header-actions{display:flex;align-items:center;gap:1rem;}
.lt-brand span{white-space:nowrap;}
.lt-page-header{position:relative;background-size:cover;background-position:center;background-color:var(--lt-accent-dark);}
.lt-page-header::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(43,43,46,.55),rgba(43,43,46,.7));}
.lt-page-header-inner{position:relative;z-index:1;max-width:var(--lt-maxw);margin:0 auto;padding:3.5rem 1.25rem;color:#fff;}
.lt-page-header h1{color:#fff;max-width:none;font-size:3rem;}
.lt-page-header p{color:rgba(255,255,255,.92);max-width:none;margin:0;font-size:1.05rem;}
.lt-main{padding:3rem 0;}
.lt-content{max-width:var(--lt-contentw);margin:0 auto;padding:0 1.25rem;}
.lt-content img{border-radius:var(--lt-radius);margin:1.5rem 0;}
.lt-content ul,.lt-content ol{margin:0 0 1.15rem;padding-left:1.3rem;}
.lt-content li{margin-bottom:.4rem;}
.lt-breadcrumb{font-size:.82rem;color:var(--lt-muted);margin:0;max-width:var(--lt-maxw);margin-left:auto;margin-right:auto;padding:0 1.25rem;}
.lt-breadcrumb-bar{padding:1rem 0 .25rem;}
.lt-breadcrumb a{color:var(--lt-muted);text-decoration:none;}
.lt-meta{font-size:.85rem;color:var(--lt-muted);margin-bottom:1.5rem;}
.lt-section{padding:3rem 0;}
.lt-section--alt{background:var(--lt-bg-alt);}
.lt-section-head{text-align:center;max-width:60ch;margin:0 auto 2rem;}
.lt-section-head p{color:var(--lt-muted);}
.lt-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));}
.lt-card{background:#fff;border:1px solid var(--lt-border);border-radius:var(--lt-radius);padding:1.6rem;}
.lt-card svg{width:1.9rem;height:1.9rem;color:var(--lt-accent);margin-bottom:.6rem;}
.lt-card h3{margin:0 0 .4rem;}
.lt-card p{color:var(--lt-muted);margin:0;font-size:.96rem;}
.lt-steps{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));}
.lt-step-num{display:inline-flex;align-items:center;justify-content:center;width:2.4rem;height:2.4rem;border-radius:50%;background:var(--lt-accent);color:#fff;font-family:var(--lt-serif);font-size:1.2rem;margin-bottom:.6rem;}
.lt-faq{max-width:var(--lt-contentw);margin:1.5rem auto 0;}
.lt-faq-item{border-bottom:1px solid var(--lt-border);}
.lt-faq-q{width:100%;text-align:left;background:none;border:0;cursor:pointer;padding:1.1rem 2rem 1.1rem 0;font-size:1.05rem;font-weight:600;font-family:var(--lt-serif);color:var(--lt-text);position:relative;}
.lt-faq-q::after{content:"\2304";position:absolute;right:.25rem;top:40%;transition:transform .2s;color:var(--lt-accent);}
.lt-faq-item.is-open .lt-faq-q::after{transform:rotate(180deg);}
.lt-faq-a{display:none;padding:0 0 1.1rem;color:var(--lt-muted);}
.lt-faq-item.is-open .lt-faq-a{display:block;}
.lt-contact-box{max-width:var(--lt-contentw);margin:2.5rem auto 0;display:flex;gap:1.25rem;align-items:center;background:var(--lt-bg-alt);border:1px solid var(--lt-border);border-radius:var(--lt-radius);padding:1.5rem;}
.lt-contact-box .lt-avatar{width:72px;height:72px;border-radius:50%;background:var(--lt-accent);flex:0 0 auto;display:flex;align-items:center;justify-content:center;}
.lt-contact-box .lt-avatar svg{width:2rem;height:2rem;color:#fff;}
.lt-cta-band{background:var(--lt-accent);color:#fff;text-align:center;padding:2.75rem 1.25rem;border-radius:var(--lt-radius);}
.lt-cta-band h2{color:#fff;margin-top:0;}
.lt-cta-band p{color:rgba(255,255,255,.92);max-width:50ch;margin:0 auto 1.25rem;}
.lt-cta-band .lt-btn-primary{background:#fff;color:var(--lt-accent-dark);}
.lt-footer{background:var(--lt-bg-alt);border-top:1px solid var(--lt-border);padding:2.5rem 0 1.25rem;font-size:.92rem;color:var(--lt-muted);}
.lt-footer-cols{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:1.75rem;}
.lt-footer h4{color:var(--lt-text);font-family:var(--lt-sans);font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;margin:0 0 .6rem;}
.lt-footer ul{list-style:none;padding:0;margin:0;}
.lt-footer li{margin-bottom:.35rem;}
.lt-footer a{color:var(--lt-muted);text-decoration:none;}
.lt-footer a:hover{color:var(--lt-accent-dark);}
.lt-footer-bottom{border-top:1px solid var(--lt-border);padding-top:1rem;text-align:center;font-size:.82rem;}

/* ── Dropdown-Untermenues ──────────────────────────────────────── */
.lt-nav .menu-item-has-children{position:relative;}
.lt-nav .menu-item-has-children > a::after{content:" \25BE";font-size:.7em;opacity:.7;}
.lt-nav .sub-menu{list-style:none;margin:0;padding:.4rem 0;position:absolute;top:100%;left:0;min-width:200px;
  background:#fff;border:1px solid var(--lt-border);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.1);
  opacity:0;visibility:hidden;transform:translateY(6px);transition:.15s;z-index:60;}
.lt-nav .menu-item-has-children:hover > .sub-menu{opacity:1;visibility:visible;transform:translateY(0);}
.lt-nav .sub-menu li{margin:0;}
.lt-nav .sub-menu a{display:block;padding:.5rem 1rem;font-weight:500;font-size:.95rem;white-space:nowrap;}
.lt-nav .sub-menu a:hover{background:var(--lt-bg-alt);color:var(--lt-accent-dark);}

@media(max-width:768px){
  h1{font-size:1.75rem;}
  .lt-nav{display:none;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--lt-border);padding:1rem 1.25rem;gap:1rem;max-height:calc(100vh - 120px);overflow-y:auto;-webkit-overflow-scrolling:touch;}
  .lt-nav.is-open{display:flex;}
  .lt-nav-toggle{display:block;}
  .lt-nav .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;border-left:2px solid var(--lt-border);border-radius:0;margin:.25rem 0 .5rem .5rem;padding:.25rem 0;min-width:0;}
  .lt-nav .menu-item-has-children > a::after{content:"";}

  .lt-nav.is-open .menu-item{width:100%;}
  .lt-nav a{font-size:1.05rem;}
  .lt-page-header-inner{padding:2.5rem 1.25rem;}
  .lt-contact-box{flex-direction:column;text-align:center;}
  .lt-hide-mobile{display:none !important;}
  .lt-topbar-inner{justify-content:flex-end;padding:.35rem 1.25rem;}
  .lt-header-inner{gap:.5rem;}
  .lt-brand{font-size:1.05rem;gap:.35rem;}
  .lt-brand span{white-space:normal;line-height:1.15;}
  .lt-header-actions{gap:.5rem;order:3;}
  .lt-nav-toggle{order:4;font-size:1.6rem;margin-left:.1rem;}
  .lt-nav-cta{order:3;padding:.5rem .8rem;font-size:.82rem;}
}

/* Abstand zwischen Page-Header und folgendem Inhalt */
.lt-page-header{margin-bottom:3rem;}
.lt-front-content > p:empty{display:none;margin:0;}

/* ── Abstand nach Quiz ─────────────────────────────────────────── */
.lq-wrap{margin:0 auto 3rem;padding:0 1.25rem;box-sizing:border-box;}
.lt-front-content > .lq-wrap + p,
.lt-front-content > p + .lt-section{margin-top:0;}

/* ── Tabellen: modern, 100% Breite, klare Trennlinien ──────────── */
.lt-content table{width:100%;border-collapse:collapse;margin:1.75rem 0;font-size:.97rem;
  border:1px solid var(--lt-border);border-radius:var(--lt-radius);overflow:hidden;}
.lt-content thead th{background:var(--lt-accent);color:#fff;font-family:var(--lt-serif);
  font-weight:700;text-align:left;padding:.85rem 1rem;font-size:.95rem;}
.lt-content th,.lt-content td{padding:.75rem 1rem;border-bottom:1px solid var(--lt-border);text-align:left;vertical-align:top;}
.lt-content tbody tr:nth-child(even){background:var(--lt-bg-alt);}
.lt-content tbody tr:last-child td{border-bottom:0;}
.lt-content tbody tr:hover{background:#fff3ea;}
.lt-content tbody td:first-child{font-weight:600;color:var(--lt-text);}
@media(max-width:640px){.lt-content table{display:block;overflow-x:auto;white-space:nowrap;}}

/* ── lt_expert: Ansprechpartner ────────────────────────────────── */
.lt-expert{display:flex;gap:1.5rem;align-items:center;background:var(--lt-bg-alt);
  border:1px solid var(--lt-border);border-radius:var(--lt-radius);padding:1.75rem;}
.lt-expert-photo{width:150px;height:150px;border-radius:50%;object-fit:cover;flex:0 0 auto;}
.lt-expert-photo--ph{display:flex;align-items:center;justify-content:center;background:var(--lt-accent);}
.lt-expert-photo--ph svg{width:3.6rem;height:3.6rem;color:#fff;}
.lt-expert-role{font-weight:700;font-size:.9rem;color:var(--lt-text);}
.lt-expert-name{margin:.1rem 0 .8rem;font-size:1.6rem;}
.lt-expert-contact{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem;}
.lt-expert-contact li{display:flex;align-items:center;gap:.6rem;}
.lt-expert-contact svg{width:1.15rem;height:1.15rem;color:var(--lt-accent);flex:0 0 auto;}
.lt-expert-contact a{color:var(--lt-text);text-decoration:none;}
.lt-expert-contact a:hover{color:var(--lt-accent-dark);}
@media(max-width:560px){.lt-expert{flex-direction:column;text-align:center;}.lt-expert-contact{align-items:center;}}

/* ── geteilter oranger Trennstrich ─────────────────────────────── */
.lt-promo-rule{display:block;width:64px;height:3px;background:var(--lt-accent);border-radius:2px;margin:.9rem auto 1.4rem;}
.lt-promo .lt-promo-rule{width:300px;max-width:60%;height:2px;margin-top:1rem;margin-bottom:1.6rem;}

/* ── lt_promo: große CTA-Box ───────────────────────────────────── */
.lt-promo{background:#f8f9fa;border:1px solid var(--lt-border);border-radius:var(--lt-radius);
  padding:3rem 2rem;text-align:center;}
.lt-promo-title{font-size:2.3rem;margin:0;}
.lt-promo-text{max-width:80ch;margin:0 auto 1.6rem;color:var(--lt-text);font-weight:700;}
.lt-promo-btn{background:#fff;color:var(--lt-accent-dark);border:1px solid var(--lt-border);}
.lt-promo-btn:hover{background:var(--lt-accent);color:#fff;}
.lt-promo-btn svg{width:1em;height:1em;}

/* ── lt_features: Icon-Badge-Liste + Illustration ──────────────── */
.lt-features--img{display:grid;grid-template-columns:minmax(0,420px) minmax(0,560px);gap:2.5rem;align-items:center;justify-content:center;}
.lt-features-img img{width:100%;}
.lt-features-list{display:flex;flex-direction:column;gap:1.6rem;}
.lt-feature{display:flex;gap:1.1rem;align-items:flex-start;}
.lt-feature-badge{flex:0 0 auto;width:56px;height:56px;border-radius:50%;background:var(--lt-accent);
  display:flex;align-items:center;justify-content:center;}
.lt-feature-badge svg{width:2rem;height:2rem;color:#fff;}
.lt-feature h3{margin:.1rem 0 .3rem;}
.lt-feature p{margin:0;color:var(--lt-muted);}
@media(max-width:768px){.lt-features--img{grid-template-columns:1fr;}.lt-features-img{max-width:220px;margin:0 auto;}}

/* ── lt_contactrow: Kontakt-Icons + Button ─────────────────────── */
.lt-contactrow{background:#f8f9fa;border:1px solid var(--lt-border);border-radius:var(--lt-radius);
  padding:2.5rem 2rem;text-align:center;}
.lt-contactrow > h2{margin:0;}
.lt-contactrow-sub{color:var(--lt-text);font-weight:600;margin:0 0 1.8rem;}
.lt-contactrow-icons{display:flex;flex-wrap:wrap;justify-content:center;gap:2.5rem;margin-bottom:2rem;}
.lt-contactrow-item{display:flex;flex-direction:column;align-items:center;gap:.5rem;
  text-decoration:none;color:var(--lt-text);font-weight:700;font-family:var(--lt-serif);}
.lt-contactrow-ic svg{width:1.7rem;height:1.7rem;color:var(--lt-text);}
a.lt-contactrow-item:hover .lt-contactrow-ic svg{color:var(--lt-accent);}
.lt-contactrow-cta{font-size:1.05rem;padding:.9rem 1.8rem;}

/* FAQ-Frage als H3, aber Button-Optik beibehalten */
.lt-faq-q .lt-faq-h{margin:0;font-size:1.05rem;font-weight:600;font-family:var(--lt-serif);color:var(--lt-text);line-height:1.4;letter-spacing:0;}
/* Footer-Spaltentitel (vormals h4) – gleiche Optik ohne Heading-Rang */
.lt-footer-head{color:var(--lt-text);font-family:var(--lt-sans);font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin:0 0 .6rem;}
/* features: Titel volle Content-Breite, kein 2-Zeilen-Umbruch */
.lt-section .lt-section-head{max-width:none;}
.lt-features-head-nowrap{}
.lt-contactrow .lt-promo-rule{width:190px;max-width:50%;height:2px;}

/* lt_contactrow orange Variante (alt="1") */
.lt-contactrow--orange{background:var(--lt-accent);border-color:var(--lt-accent);}
.lt-contactrow--orange h2,.lt-contactrow--orange .lt-contactrow-sub{color:#fff;}
.lt-contactrow--orange .lt-promo-rule{background:#fff;}
.lt-contactrow--orange .lt-contactrow-item{color:#fff;}
.lt-contactrow--orange .lt-contactrow-ic svg{color:#fff;}
.lt-contactrow--orange a.lt-contactrow-item:hover .lt-contactrow-ic svg{color:#ffe0c7;}
.lt-contactrow--orange .lt-btn-primary{background:#fff;color:var(--lt-accent-dark);}
.lt-contactrow--orange .lt-btn-primary:hover{background:#f3f3f3;}

/* Footer 3-Zeilen-Layout */
.lt-footer-row{display:grid;gap:2rem;margin-bottom:1.75rem;}
.lt-footer-row--4{grid-template-columns:repeat(4,1fr);}
.lt-footer-row--3{grid-template-columns:repeat(3,1fr);}
.lt-footer-row--small{font-size:.82rem;gap:1.5rem;border-top:1px solid var(--lt-border);padding-top:1.5rem;}
.lt-footer-row--small .lt-footer-head{font-size:.78rem;}
.lt-footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;border-top:1px solid var(--lt-border);padding-top:1rem;text-align:left;font-size:.82rem;}
.lt-footer-legal{display:flex;gap:1.25rem;}
.lt-footer-legal a{color:var(--lt-muted);text-decoration:none;}
.lt-footer-legal a:hover{color:var(--lt-accent-dark);}
@media(max-width:768px){
  .lt-footer-row--4,.lt-footer-row--3{grid-template-columns:repeat(2,1fr);}
  .lt-footer-bottom{flex-direction:column;align-items:flex-start;}
}

/* ===== Footer Roovon-STRUKTUR (Farben bleiben hell wie bisher) ===== */
.lt-footer{padding:0;}
.lt-footer-top{padding:2.25rem 0 1.5rem;border-bottom:1px solid var(--lt-border);}
.lt-footer-brand{display:inline-flex;align-items:center;gap:.5rem;color:var(--lt-text);text-decoration:none;font-family:var(--lt-serif);font-weight:900;font-size:1.5rem;}
.lt-footer-brand svg{width:1.5em;height:1.5em;color:var(--lt-accent);}
.lt-footer-main{display:grid;grid-template-columns:1.4fr 3fr;gap:3rem;padding:2.5rem 0 2.75rem;}
.lt-footer-claim{color:var(--lt-muted);margin:0 0 1.25rem;max-width:34ch;line-height:1.6;}
.lt-footer-contact{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem;}
.lt-footer-contact li{display:flex;align-items:center;gap:.6rem;margin:0;}
.lt-footer-contact svg{width:1.1rem;height:1.1rem;color:var(--lt-accent);flex:0 0 auto;}
.lt-footer-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;}
.lt-footer .lt-footer-head{text-transform:none;letter-spacing:0;font-size:1.05rem;margin:0 0 1rem;}
.lt-footer-cols ul{list-style:none;padding:0;margin:0;}
.lt-footer-cols li{margin-bottom:.65rem;}
.lt-footer-bottombar{background:transparent;}
.lt-footer-bottombar .lt-footer-bottom{border-top:1px solid var(--lt-border);padding:1.25rem 0;}
@media(max-width:900px){.lt-footer-main{grid-template-columns:1fr;gap:2rem;}.lt-footer-cols{grid-template-columns:repeat(2,1fr);}}
/* overflow guard */
html,body{overflow-x:hidden;}
.lt-header{max-width:100%;}
