/*
Theme Name: LIRENO Kitech AI
Theme URI: https://taxbot.kitech.ai
Author: KITech.ai
Author URI: https://kitech.ai
Description: WordPress theme with LIRENO landing HTML and a unified shell (header with language switch, main-top nav, module rail, landing-style footer) on all standard pages.
Version: 1.3.158
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: taxbot-kitech-ai
*/

/* —— Typografie: Satoshi (Fontshare) —— */
html {
  font-family: 'Satoshi', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.tb-site-shell,
body.tb-site-shell button,
body.tb-site-shell input,
body.tb-site-shell select,
body.tb-site-shell textarea,
body.tb-site-shell optgroup,
body.tb-site-shell .tb-main,
body.tb-site-shell .tb-container,
body.tb-site-shell .entry-content,
body.tb-site-shell .wp-block-post-content,
body.tb-site-shell .widget,
body.tb-site-shell .widget-title {
  font-family: 'Satoshi', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.tb-site-shell .wp-block-heading,
body.tb-site-shell .wp-block-post-title,
body.tb-site-shell .wp-block-quote,
body.tb-site-shell .wp-block-list,
body.tb-site-shell .wp-block-paragraph,
body.tb-site-shell .wp-block-table,
body.tb-site-shell .wp-block-button__link {
  font-family: 'Satoshi', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.tb-site-shell pre,
body.tb-site-shell code,
body.tb-site-shell kbd,
body.tb-site-shell samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
}

/* —— Landing-Shell (alle Standard-Seiten): Topnav, Sprachen, Mod-Leiste, Footer —— */
:root {
  --tb-ink: #0d1117;
  --tb-paper: #f7f5f0;
  --tb-cream: #ede9e0;
  --tb-accent: #1a6b3c;
  --tb-muted: #6b7280;
  --tb-border: #d6d0c4;
  --tb-white: #ffffff;
}

body.tb-site-shell {
  background: var(--tb-paper);
  color: var(--tb-ink);
  padding-top: clamp(88px, 22vw, 118px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.admin-bar.tb-site-shell {
  padding-top: clamp(120px, 26vw, 154px);
}

/* Lireno-standart: Abstand unter fixer Topnav + Mod-Leiste (Mobil: etwas weniger als zuvor) */
body.tb-lireno-standart.tb-site-shell {
  padding-top: clamp(122px, 28vw, 168px);
}

body.admin-bar.tb-lireno-standart.tb-site-shell {
  padding-top: clamp(152px, 32vw, 198px);
}

@media (max-width: 720px) {
  body.tb-lireno-standart.tb-site-shell {
    padding-top: clamp(148px, 34vw, 208px);
  }

  body.admin-bar.tb-lireno-standart.tb-site-shell {
    padding-top: clamp(176px, 38vw, 236px);
  }

  body.tb-lireno-standart .tb-lireno-standart-main .tb-section:first-of-type {
    padding-top: 6px;
  }
}

/* Seiten-Template „Lireno-standart“: Inhalt zwischen Landing-Nav und Landing-Footer */
body.tb-lireno-standart .tb-lireno-standart-main {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

nav.tb-topnav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(247, 245, 240, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tb-border);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.tb-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 48px 8px;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.tb-brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tb-lireno-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.tb-lireno-logo img {
  height: 28px;
  width: auto;
  max-width: 140px;
  display: block;
}

.tb-mod-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(24px, 3vw, 32px);
  padding: 10px 48px 14px;
  border-top: 1px solid rgba(214, 208, 196, 0.65);
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
}

.tb-mod-rail__group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tb-mod-rail__group--roadmap {
  margin-left: auto;
}

.tb-mod {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--tb-border);
  background: var(--tb-white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.tb-mod--ready {
  border-color: rgba(26, 107, 60, 0.55);
  background: rgba(26, 107, 60, 0.11);
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.tb-mod--ready:hover {
  border-color: rgba(26, 107, 60, 0.95);
  box-shadow:
    0 0 0 1px rgba(26, 107, 60, 0.28),
    0 10px 28px rgba(26, 107, 60, 0.28);
}

.tb-mod--ready a {
  color: var(--tb-accent);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.tb-mod--ready a:hover {
  color: var(--tb-accent);
  text-decoration: none;
}

.tb-mod--ready a.tb-mod-rail-link {
  letter-spacing: 0.01em;
}

.tb-mod--beta {
  border-color: rgba(212, 168, 67, 0.85);
  color: var(--tb-ink);
  font-weight: 600;
}

.tb-mod--soon {
  opacity: 0.4;
  color: var(--tb-muted);
  border-style: dashed;
  border-color: rgba(107, 114, 128, 0.38);
  cursor: default;
  pointer-events: none;
  font-weight: 600;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.62);
}

.tb-mod--dev {
  opacity: 0.4;
  font-size: 15px;
  font-weight: 600;
  border-style: dashed;
  border-color: rgba(107, 114, 128, 0.38);
  background: rgba(255, 255, 255, 0.62);
  cursor: default;
  pointer-events: none;
  color: var(--tb-muted);
}

.tb-mod--dev a {
  pointer-events: none;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.tb-mod--roadmap {
  border-width: 1px;
  border-style: solid;
  border-color: rgba(100, 116, 139, 0.42);
  background: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 15px;
  color: var(--tb-muted);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.tb-mod--roadmap:hover {
  color: var(--tb-ink);
  border-color: rgba(100, 116, 139, 0.75);
  text-decoration: none;
}

.tb-mod--roadmap a,
a.tb-mod--roadmap {
  color: var(--tb-muted);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.tb-mod--roadmap a:hover,
a.tb-mod--roadmap:hover {
  color: var(--tb-ink);
  text-decoration: none;
}

.tb-mod-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-left: 3px;
}

@media (max-width: 900px) {
  .tb-mod-rail__group--roadmap {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--tb-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--tb-ink);
}

.nav-cta {
  background: var(--tb-ink);
  color: var(--tb-white) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--tb-accent) !important;
  color: var(--tb-white) !important;
}

.nav-links--split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  width: 100%;
  justify-content: flex-end;
}

.nav-links__langs {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-links__langs .tb-lang-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.nav-links__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-links--pages-slot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  justify-content: flex-end;
  gap: 12px;
}

.nav-links--pages-slot .nav-links__pages {
  flex: 0 1 auto;
  min-width: 0;
}

.tb-nav-inner--landing {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%;
}

.tb-nav-trailing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.tb-nav-langs-inline {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}

.tb-nav-langs-inline .tb-lang-switch-wrap {
  margin-right: 0;
}

.tb-nav-inner--landing .tb-brand-block,
.tb-nav-inner--landing .tb-nav-langs-inline,
.tb-nav-inner--landing .tb-nav-toggle {
  position: relative;
  z-index: 160;
}

.tb-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--tb-border);
  border-radius: 10px;
  background: var(--tb-white);
  cursor: pointer;
}

.tb-nav-toggle:focus-visible {
  outline: 2px solid var(--tb-accent);
  outline-offset: 2px;
}

.tb-nav-toggle-bars,
.tb-nav-toggle-bars::before,
.tb-nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--tb-ink);
  border-radius: 1px;
  position: relative;
}

.tb-nav-toggle-bars::before,
.tb-nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.tb-nav-toggle-bars::before {
  top: -7px;
}

.tb-nav-toggle-bars::after {
  top: 7px;
}

.tb-topnav.is-nav-open .tb-nav-toggle-bars {
  background: transparent;
}

.tb-topnav.is-nav-open .tb-nav-toggle-bars::before {
  transform: rotate(45deg);
  top: 0;
}

.tb-topnav.is-nav-open .tb-nav-toggle-bars::after {
  transform: rotate(-45deg);
  top: 0;
}

.tb-nav-slot {
  display: flex;
  align-items: center;
}

.tb-lang-switch-wrap {
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
}

.tb-lang-switch {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.tb-lang {
  font-size: 13px;
  text-decoration: none;
  color: var(--tb-muted);
  font-weight: 500;
}

.tb-lang:hover {
  color: var(--tb-ink);
  text-decoration: underline;
}

.tb-lang--active {
  color: var(--tb-ink);
  font-weight: 700;
  cursor: default;
  text-decoration: none;
}

/* Shell-Topnav (#tb-site-shell-nav): nur assets/css/taxbot-shell-nav-landing-sync.css (Breakpoints wie taxbot-landing.html). */

footer.tb-site-footer {
  background: #070a0f;
  color: #475569;
  padding: 48px 48px 32px;
  margin-top: auto;
}

.footer-top {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  font-family: 'Satoshi', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #94a3b8;
  margin-bottom: 28px;
}

.footer-brand span {
  color: var(--tb-accent);
}

.footer-social-wrap {
  display: flex;
  justify-content: flex-end;
}

.footer-social-wrap--in-second {
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

.footer-social-wrap--in-second .tb-footer-social-icons {
  justify-content: flex-start;
}

.tb-footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: flex-end;
}

.tb-footer-social-link,
.tb-footer-social-link:link,
.tb-footer-social-link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 6px;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.tb-footer-social-link:focus-visible {
  outline: 1px solid rgba(148, 163, 184, 0.5);
  outline-offset: 2px;
}

footer.tb-site-footer .tb-footer-social-link:any-link {
  color: #94a3b8 !important;
}

footer.tb-site-footer .tb-footer-social-link:hover {
  opacity: 0.85;
  color: #e2e8f0 !important;
}

.tb-footer-social-link svg {
  display: block;
  width: 20px;
  height: 20px;
}

.tb-footer-social-link svg path {
  fill: currentColor !important;
}

.footer-col-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #94a3b8;
  margin: 0 0 12px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
}

.footer-cols--1 {
  grid-template-columns: minmax(0, 1fr);
}

.footer-cols--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-cols--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-col--social .footer-col-inner {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.footer-col--social .footer-col-inner a {
  font-size: 15px;
}

.footer-second {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  font-size: 13px;
  color: #64748b;
}

.footer-second__inner {
  box-sizing: border-box;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* Eine Zeile: Social + Meta links, optisch bündig mit linker Spalte der Footer-Spalten (gleiche 1100px-Breite wie .footer-top). */
.footer-second__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px 0;
}

.footer-second__social {
  flex: 0 0 auto;
}

.footer-second__meta {
  flex: 0 1 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 6px 4px;
  min-width: 0;
  text-align: left;
}

@media (max-width: 560px) {
  .footer-second__lead {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-second a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
}

.footer-second a:hover {
  color: #e2e8f0;
}

.footer-col-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-col-inner a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.footer-col-inner a:hover {
  color: #cbd5e1;
}

.tb-site-footer__widgets {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(51, 65, 85, 0.35);
  color: #94a3b8;
}

.tb-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 64px;
  flex: 1 1 auto;
  width: 100%;
}

.tb-main .tb-hero {
  padding: 32px 0 24px;
}

.tb-main .tb-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.35em 0 0;
}

.tb-main .tb-hero .tb-meta {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--tb-muted);
}

.tb-main .tb-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tb-accent);
  margin: 0;
}

.tb-main .tb-section {
  padding: 24px 0 48px;
}

.tb-main .tb-container {
  max-width: 720px;
}

.tb-main .tb-container.tb-content {
  max-width: 720px;
}

.tb-main .tb-content .entry-content,
.tb-main .tb-content .entry-content > * {
  font-size: 16px;
  line-height: 1.65;
  color: var(--tb-ink);
}

.tb-main .tb-content .entry-content h2,
.tb-main .tb-content .entry-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 700;
}

.tb-main .tb-content .entry-content a {
  color: var(--tb-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tb-main--no-hero .tb-section {
  padding-top: 8px;
}

/* Sichtbarer Seitentitel ohne Hero (Lireno-standart + page.php bei Login/Register-Shortcodes) */
.tb-lireno-standart-main .tb-lireno-standart-page-header {
  position: relative;
  z-index: 2;
  margin: 0 0 1.25rem;
  padding: 0;
}

.tb-lireno-standart-main .tb-lireno-standart-doc-title,
.tb-lireno-standart-main .tb-lireno-standart-page-header .entry-title {
  font-size: clamp(1.5rem, 4vw, 2.125rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
  margin: 0 !important;
  color: var(--tb-ink) !important;
  scroll-margin-top: 1rem;
}

.tb-main .tb-page-header--no-hero {
  margin: 0 0 1.25rem;
}

.tb-main .tb-page-heading--no-hero {
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--tb-ink);
  scroll-margin-top: 1rem;
}

/* Topnav/Mobil-Overlay für #tb-site-shell-nav: taxbot-shell-nav-landing-sync.css (901px/900px wie Landing). */

@media (max-width: 560px) {
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* —— Statischer Footer (App-Prototyp-Injekt) —— */
.tb-footer__inner--cols {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.tb-footer__brand {
  font-family: 'Satoshi', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #94a3b8;
}
.tb-footer__brand span {
  color: #1a6b3c;
}
.tb-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
}
.tb-footer__col .footer-col-inner,
.tb-footer-col-nav .footer-col-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.tb-footer__col a,
.tb-footer-col-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
}
.tb-footer__col a:hover,
.tb-footer-col-nav a:hover {
  color: #cbd5e1;
}
@media (max-width: 720px) {
  .tb-footer__columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.tb-footer .tb-footer-col-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tb-footer .tb-footer-col-menu a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
}
.tb-footer .tb-footer-col-menu a:hover {
  color: #cbd5e1;
}
.tb-footer .tb-footer__col:empty {
  min-height: 0;
}

.tb-footer__columns .footer-col {
  min-width: 0;
}
