/*
Theme Name: CHT Child Theme
Theme URI: https://cht.de
Description: CHT GmbH & Co. KG — Corporate Website Theme basierend auf dem CHT Design-System (Grün #97C21E, Arial, Schrägstrich-Motiv)
Author: CHT GmbH & Co. KG
Author URI: https://cht.de
Template: twentytwentyfive
Version: 1.0.0
Text Domain: cht-theme
License: Proprietary
*/

/* ============================================================
   CHT DESIGN-SYSTEM — CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --cht-green:     #97C21E;
  --cht-ink:       #4F4F4F;
  --cht-ink-deep:  #3a3a3a;
  --cht-gray:      #F2F2F2;
  --cht-line:      #dcdcdc;
  --cht-white:     #FFFFFF;
  --cht-dark:      #111111;
  --cht-font:      Arial, "Helvetica Neue", Helvetica, sans-serif;
  --cht-pad-x:     clamp(24px, 5vw, 80px);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--cht-font);
  color: var(--cht-ink);
  background: var(--cht-white);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   TYPOGRAFIE
   ============================================================ */
.cht-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cht-green);
  margin: 0 0 16px;
  display: block;
}

.cht-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--cht-ink-deep);
  margin: 0 0 24px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  letter-spacing: -.01em;
}

.cht-title .slash {
  color: var(--cht-green);
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  flex-shrink: 0;
}

.cht-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--cht-ink);
}

/* ============================================================
   SLASH BULLET LIST
   ============================================================ */
ul.cht-slash {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

ul.cht-slash li {
  position: relative;
  padding-left: 28px;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.45;
  color: var(--cht-ink);
}

ul.cht-slash li::before {
  content: "/";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cht-green);
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  font-size: 1.05em;
  line-height: 1.45;
}

ul.cht-slash li b {
  font-weight: 700;
  color: var(--cht-ink-deep);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.wp-block-template-part.site-header,
header.wp-block-template-part {
  background: var(--cht-white);
  border-bottom: 1px solid var(--cht-line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.cht-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--cht-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.cht-logo img {
  height: 40px;
  width: auto;
}

.cht-nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cht-nav a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--cht-ink);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
}

.cht-nav a:hover,
.cht-nav .current-menu-item a {
  color: var(--cht-green);
}

.cht-nav-cta a {
  background: var(--cht-green);
  color: #fff !important;
  padding: 10px 22px;
}

.cht-nav-cta a:hover {
  background: #7fa318;
  color: #fff !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.cht-hero {
  background: var(--cht-white);
  padding: clamp(60px, 8vw, 120px) var(--cht-pad-x);
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.cht-hero-deco {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  opacity: .6;
  pointer-events: none;
}

.cht-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.cht-hero h1 {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.06;
  color: var(--cht-ink-deep);
  letter-spacing: -.02em;
  margin: 0 0 28px;
  max-width: 820px;
}

.cht-hero h1 .made {
  color: var(--cht-green);
  display: block;
}

.cht-hero .cht-lead {
  max-width: 640px;
  margin-bottom: 40px;
}

.cht-btn {
  display: inline-block;
  background: var(--cht-green);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 32px;
  text-decoration: none;
  transition: background .2s;
}

.cht-btn:hover { background: #7fa318; color: #fff; }

.cht-btn-outline {
  display: inline-block;
  border: 2px solid var(--cht-green);
  color: var(--cht-ink-deep);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 12px 30px;
  text-decoration: none;
  transition: all .2s;
  margin-left: 16px;
}

.cht-btn-outline:hover {
  background: var(--cht-green);
  color: #fff;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.cht-stats {
  background: var(--cht-gray);
  padding: 48px var(--cht-pad-x);
}

.cht-stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}

.cht-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 32px 24px 0;
  border-right: 1px solid var(--cht-line);
}

.cht-stat:last-child { border-right: none; }

.cht-stat .num {
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 700;
  color: var(--cht-green);
  line-height: 1;
  font-family: "Arial Black", Arial, sans-serif;
}

.cht-stat .lbl b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--cht-ink-deep);
  margin-bottom: 4px;
}

.cht-stat .lbl {
  font-size: 14px;
  color: var(--cht-ink);
  line-height: 1.4;
}

/* ============================================================
   SOLUTIONS GRID
   ============================================================ */
.cht-solutions {
  padding: clamp(48px, 6vw, 96px) var(--cht-pad-x);
  background: var(--cht-gray);
}

.cht-solutions-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.cht-grid6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .cht-grid6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cht-grid6 { grid-template-columns: 1fr; }
}

.cht-sol {
  background: var(--cht-white);
  border: 1px solid var(--cht-line);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s;
}

.cht-sol:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

.cht-sol .sh {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cht-sol .sl {
  color: var(--cht-green);
  font-family: "Arial Black", Arial;
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}

.cht-sol h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--cht-ink-deep);
}

.cht-sol p {
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
  color: var(--cht-ink);
}

/* ============================================================
   SPLIT CONTENT (Text + Panel)
   ============================================================ */
.cht-split-section {
  padding: clamp(48px, 6vw, 96px) var(--cht-pad-x);
  background: var(--cht-white);
}

.cht-split-section.bg-gray { background: var(--cht-gray); }

.cht-split-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.cht-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .cht-split { grid-template-columns: 1fr; gap: 32px; }
}

.cht-panel {
  background: var(--cht-gray);
  padding: 40px 44px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bg-gray .cht-panel { background: var(--cht-white); }

.cht-panel h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--cht-green);
  margin: 0 0 24px;
  font-weight: 700;
}

/* ============================================================
   WHY CHT (dunkel)
   ============================================================ */
.cht-why {
  background: var(--cht-ink);
  color: #fff;
  padding: clamp(48px, 6vw, 96px) var(--cht-pad-x);
}

.cht-why .cht-title { color: #fff; }
.cht-why .cht-eyebrow { color: var(--cht-green); }

.cht-why-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.cht-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 64px;
  margin-top: 40px;
}

@media (max-width: 700px) {
  .cht-why-grid { grid-template-columns: 1fr; }
}

.cht-why-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.cht-why-item .n {
  color: var(--cht-green);
  font-family: "Arial Black", Arial;
  font-weight: 900;
  font-size: 38px;
  line-height: .9;
  flex-shrink: 0;
  min-width: 52px;
}

.cht-why-item .wt b {
  display: block;
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
}

.cht-why-item .wt span {
  font-size: 15px;
  color: #cfcfcf;
  line-height: 1.4;
}

/* ============================================================
   LOGO GRID (Partner / Referenzen)
   ============================================================ */
.cht-logos-section {
  padding: clamp(48px, 6vw, 96px) var(--cht-pad-x);
  background: var(--cht-white);
}

.cht-logos-section.bg-gray { background: var(--cht-gray); }

.cht-logos-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.cht-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .cht-logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .cht-logo-grid { grid-template-columns: repeat(2, 1fr); }
}

.cht-logo-cell {
  background: var(--cht-white);
  border: 1px solid var(--cht-line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  aspect-ratio: 3/2;
}

.bg-gray .cht-logo-cell { background: var(--cht-white); }

.cht-logo-cell img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/* ============================================================
   FOOTER
   ============================================================ */
.cht-footer {
  background: var(--cht-ink-deep);
  color: #9a9a9a;
  padding: 48px var(--cht-pad-x) 32px;
}

.cht-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.cht-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #444;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .cht-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 500px) {
  .cht-footer-top { grid-template-columns: 1fr; }
}

.cht-footer-logo img { height: 36px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }

.cht-footer p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 8px;
  color: #9a9a9a;
}

.cht-footer h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--cht-green);
  margin: 0 0 16px;
}

.cht-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cht-footer ul a {
  font-size: 14px;
  color: #9a9a9a;
  text-decoration: none;
  transition: color .2s;
}

.cht-footer ul a:hover { color: var(--cht-green); }

.cht-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6f6f6f;
  flex-wrap: wrap;
  gap: 12px;
}

.cht-footer-bottom .bar {
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--cht-green);
  vertical-align: middle;
  margin-right: 10px;
}

.cht-footer-bottom a {
  color: #6f6f6f;
  text-decoration: none;
}

.cht-footer-bottom a:hover { color: var(--cht-green); }

/* ============================================================
   SECTION HEADER (shared)
   ============================================================ */
.cht-section-header {
  margin-bottom: 8px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.cht-contact {
  background: var(--cht-gray);
  padding: clamp(48px, 6vw, 96px) var(--cht-pad-x);
}

.cht-contact-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 800px) {
  .cht-contact-inner { grid-template-columns: 1fr; }
}

.cht-contact-form input,
.cht-contact-form textarea {
  width: 100%;
  border: 1px solid var(--cht-line);
  background: var(--cht-white);
  padding: 12px 16px;
  font-family: var(--cht-font);
  font-size: 15px;
  color: var(--cht-ink);
  margin-bottom: 16px;
  outline: none;
  transition: border-color .2s;
}

.cht-contact-form input:focus,
.cht-contact-form textarea:focus {
  border-color: var(--cht-green);
}

.cht-contact-form textarea { min-height: 140px; resize: vertical; }

/* ============================================================
   RESPONSIVE UTILS
   ============================================================ */
@media (max-width: 768px) {
  .cht-header-inner { height: 60px; }
  .cht-nav { display: none; }
}
