/* ==========================================================================
   tobias-ehl.de – Startseite: Custom CSS
   Einfügen unter: WPBakery → Seiteneinstellungen (Zahnrad) → „Benutzerdefiniertes CSS“
   alternativ:     The7 → Theme-Optionen → Erweitert → Benutzerdefiniertes CSS
   Alle Klassen beginnen mit „te-“ und greifen nur auf der Startseite.
   ========================================================================== */


/* ---------- Theme-Abstände entfernen ----------
   The7 setzt 70px Innenabstand über und unter den Inhalt. Dadurch entstehen weiße
   Lücken über dem Hero und vor der Fußzeile. Gilt für die Startseite („home“) und die
   Testseite /a/ (Seiten-ID 19211). Wird eine andere Seite genutzt, die ID hier ergänzen. */
.home #main,
.page-id-19211 #main { padding-top: 0 !important; padding-bottom: 0 !important; }

/* ---------- Typografie ---------- */
/* Kleine Überschrift als „Pille“ */
.te-eyebrow p {
  display: inline-block;
  margin: 0 0 18px !important;
  padding: 6px 16px !important;
  border: 1px solid rgba(30,115,190,.35);
  border-radius: 999px;
  background: #fff;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  line-height: 1.4 !important;
  color: #1E73BE !important;
}
.te-eyebrow--light p {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
  color: #fff !important;
}

/* Hervorgehobenes Wort in Überschriften */
.te-accent { color: #1E73BE; }
.te-hero .te-accent,
.te-on-dark .te-accent { color: #6CB4F5; }

.te-hero-title, h1.te-hero-title, .te-hero-title h1 {
  font-size: clamp(36px, 5.2vw, 62px) !important;
  line-height: 1.06 !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
  margin: 0 0 24px !important;
  color: #fff !important;
}
.te-h2 h2 { color: #1F2A37; }
.te-on-dark h2 { color: #fff !important; }
.te-h2, h2.te-h2, .te-h2 h2 {
  font-size: clamp(28px, 3.3vw, 42px) !important;
  line-height: 1.15 !important;
  font-weight: 750 !important;
  letter-spacing: -.015em;
  margin: 0 0 20px !important;
}
.te-h3, h3.te-h3, .te-h3 h3 {
  font-size: clamp(22px, 2.2vw, 28px) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  margin: 0 0 14px !important;
}
.te-h4, h4.te-h4, .te-h4 h4 {
  font-size: 19px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  margin: 0 0 14px !important;
}
.te-subhead { margin-top: 56px !important; }

.te-lead p {
  font-size: clamp(17px, 1.4vw, 19px) !important;
  line-height: 1.65 !important;
  color: #5B6675;
}
.te-lead--light p { color: rgba(255,255,255,.86) !important; }
.te-text p { font-size: 16px; line-height: 1.7; color: #5B6675; }
.te-text--light p { color: rgba(255,255,255,.82) !important; }
.te-small p { font-size: 14px !important; }
.te-center, .te-center p, .te-center h2 { text-align: center !important; }

/* ---------- Buttons: Pillenform mit rundem Symbol ---------- */
.te-hero .vc_btn3-container { display: inline-block; margin: 8px 12px 0 0 !important; }
/* Hero-Buttons: zusammen so breit wie die Textkästen darüber */
.te-hero .te-btn-half { width: calc(50% - 8px); margin: 8px 8px 0 0 !important; vertical-align: top; }
.te-hero .te-btn-half--last { margin-right: 0 !important; }
.te-btn-half .vc_btn3 { width: 100%; justify-content: space-between; }
.te-cta-box .wpb_wrapper { text-align: center; }
.te-cta-box .vc_btn3-container { display: inline-block; margin: 12px 6px 0 !important; }
/* Abschluss-Band über die volle Breite: Inhalte und Buttons mittig */
.te-cta-band .wpb_wrapper { text-align: center; }
.te-cta-band .vc_btn3-container { display: inline-block; margin: 12px 6px 0 !important; }
.te-cta-band .te-eyebrow p { margin-left: auto !important; margin-right: auto !important; }

.te-btn .vc_btn3 {
  display: inline-flex !important;
  align-items: center;
  gap: 14px;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  letter-spacing: .01em;
  padding: 7px 7px 7px 26px !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease !important;
}
.te-btn .vc_btn3 .vc_btn3-icon {
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  display: inline-grid !important;
  place-items: center;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  font-size: 15px !important;
  line-height: 1 !important;
  transition: transform .2s ease;
}
.te-btn--primary .vc_btn3-icon { background: #fff; color: #1E73BE !important; }
.te-btn--ghost .vc_btn3-icon   { background: #1E73BE; color: #fff !important; }
.te-btn--white .vc_btn3-icon   { background: #113965; color: #fff !important; width: 34px !important; height: 34px !important; font-size: 13px !important; }
.te-btn--white .vc_btn3 { padding: 6px 6px 6px 20px !important; font-size: 15px !important; }
.te-btn .vc_btn3:hover .vc_btn3-icon { transform: translateX(3px) !important; }

.te-btn--primary .vc_btn3:hover,
.te-btn--primary .vc_btn3:focus {
  background-color: #165A96 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30,115,190,.35);
}
.te-btn--ghost .vc_btn3 { border-width: 1px !important; border-color: rgba(255,255,255,.45) !important; }
.te-btn--ghost .vc_btn3:hover { transform: translateY(-2px); }
.te-btn--white .vc_btn3:hover { background-color: #EAF2FB !important; transform: translateY(-2px); }
.te-btn .vc_btn3:focus-visible { outline: 3px solid #9CC4EC; outline-offset: 3px; }

/* Persönliches Versprechen im Hero */
.te-promise p {
  margin: 4px 0 18px !important;
  padding: 14px 18px !important;
  border-left: 3px solid #6CB4F5;
  border-radius: 0 12px 12px 0;
  background: rgba(255,255,255,.08);
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: rgba(255,255,255,.88) !important;
}
.te-promise strong { color: #fff; }

/* Nutzen-Satz unter den Leistungsbereichen */
.te-benefit p {
  margin: -4px 0 14px !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: #1E73BE !important;
}

/* Link „Mehr auf LinkedIn“ */
.te-more-link a {
  font-weight: 600;
  color: #1E73BE !important;
  text-decoration: none !important;
  border-bottom: 2px solid rgba(30,115,190,.25);
  transition: border-color .2s;
}
.te-more-link a::after { content: " →"; }
.te-more-link a:hover { border-bottom-color: #1E73BE; }

/* Vertrauenszeile unter den Hero-Buttons */
.te-proof p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0 !important;
  font-size: 14px !important;
  color: rgba(255,255,255,.82) !important;
}
.te-proof span { display: inline-flex; align-items: center; gap: 8px; }
.te-proof span::before {
  content: "";
  width: 18px; height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: #6CB4F5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23113965' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- Hero ---------- */
.te-glass > .vc_column-inner {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px rgba(0,0,0,.18);
}
.te-hero-logo { margin-bottom: 20px !important; }
.te-hero-logo img { width: 90px; height: auto; }
.te-glass-title p {
  margin: 0 0 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9CC4EC !important;
}
.te-glass-note p {
  margin: 8px 0 0 !important;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: 14px !important;
  color: rgba(255,255,255,.75) !important;
}
.te-credit p {
  margin: 40px 0 0 !important;
  text-align: right;
  font-size: 11px !important;
  color: rgba(255,255,255,.5) !important;
}
.te-credit a { color: inherit !important; text-decoration: underline; }

/* ---------- Checklisten ---------- */
.te-checklist ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.te-checklist li {
  position: relative;
  list-style: none !important;
  margin: 0 0 12px !important;
  padding: 0 0 0 32px !important;
  line-height: 1.5;
  color: #1F2A37;
}
.te-checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: #EAF2FB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E73BE' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.te-checklist--light li { color: #fff !important; }
.te-checklist--light li::before {
  background: rgba(255,255,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Kennzahlen ---------- */
.te-stats .wpb_column + .wpb_column > .vc_column-inner { border-left: 1px solid #E3E9F1; }
.te-stats .stats-block, .te-stats .stats-number, .te-stats .stats-text { text-align: center !important; }
.te-stats .stats-number {
  color: #1E73BE !important;
  font-size: 44px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
}
/* Vorsatz „über“ kleiner vor der Zahl, in einer Zeile mit ihr */
.te-stats .counter_prefix,
.te-stats .counter_suffix {
  display: inline-block !important;
  color: #1E73BE !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  vertical-align: baseline;
}
.te-stats .counter_prefix { margin-right: 6px; }
.te-stats .stats-number { display: inline-block !important; }
.te-stats .stats-text {
  display: block;
  color: #5B6675 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  margin-top: 6px;
}

/* ---------- Leistungs-Kategorien ---------- */
.te-cat-num p {
  margin: 0 0 12px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .12em;
  color: #1E73BE !important;
}
.te-cat-num p::after {
  content: "";
  display: inline-block;
  width: 40px; height: 2px;
  margin-left: 12px;
  vertical-align: middle;
  background: #1E73BE;
}
@media (min-width: 992px) {
  .te-cat-intro > .vc_column-inner > .wpb_wrapper { position: sticky; top: 120px; padding-right: 24px; }
}

/* ---------- Blocksatz (Zeile mit Klasse „te-justify“) ----------
   Gilt für Fließtexte und Kartenbeschreibungen, nicht für Überschriften und Listen.
   Silbentrennung verhindert große Lücken zwischen den Wörtern. */
.te-justify .te-cat-intro .te-text p,
.te-justify .te-benefit p {
  text-align: justify !important;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* ---------- Leistungskacheln: Symbol links + Titel rechts, Details beim Überfahren ----------
   Vorderseite: Symbol links, Titel rechts daneben, vertikal mittig. Beim Überfahren mit der
   Maus blendet die Beschreibung mittig zentriert über der Kachel ein. Auf Touch-Geräten
   (ohne Maus) steht die Beschreibung immer sichtbar unter dem Titel. */
.te-flip > .vc_column-inner {
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}
.te-flip .aio-icon-component,
.te-flip .aio-ibd-block,
.te-flip .wpb_wrapper { position: static !important; }
.te-flip .aio-icon-box.left-icon {
  position: static !important;
  display: flex !important;
  align-items: center;
  gap: 18px;
}
.te-flip .aio-icon-left { display: block !important; flex: 0 0 auto; padding: 0 !important; margin: 0 !important; }
.te-flip .aio-ibd-block { display: block !important; flex: 1 1 auto; padding: 0 !important; }
.te-flip .aio-icon-header,
.te-flip .aio-icon-title { text-align: left !important; }
.te-flip .aio-icon-title { margin: 0 !important; }
.te-flip .aio-icon-description { text-align: left !important; margin-top: 8px; }

@media (hover: hover) and (min-width: 768px) {
  .te-flip > .vc_column-inner { min-height: 200px; cursor: default; }
  .te-flip .aio-icon-left,
  .te-flip .aio-icon-header { transition: opacity .3s ease, transform .3s ease; }
  .te-flip .aio-icon-description {
    position: absolute !important;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 28px 30px !important;
    border-radius: 16px;
    background: #fff;
    text-align: center !important;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease;
  }
  .te-flip.te-card--featured .aio-icon-description { background: #1E73BE; }
  .te-flip > .vc_column-inner:hover .aio-icon-description { opacity: 1; transform: none; }
  .te-flip > .vc_column-inner:hover .aio-icon-left,
  .te-flip > .vc_column-inner:hover .aio-icon-header { opacity: 0; transform: translateY(-8px); }

  /* kleiner Hinweis „+“ unten rechts, dass es mehr zu sehen gibt */
  .te-flip > .vc_column-inner::after {
    content: "+";
    position: absolute;
    right: 16px; bottom: 14px;
    width: 26px; height: 26px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #EAF2FB;
    color: #1E73BE;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    transition: opacity .3s ease;
  }
  .te-flip.te-card--featured > .vc_column-inner::after { background: rgba(255,255,255,.2); color: #fff; }
  .te-flip > .vc_column-inner:hover::after { opacity: 0; }
}

/* ---------- Karten ---------- */
.te-section h1, .te-section h2, .te-section h3, .te-section h4 { overflow-wrap: break-word; }
.te-card p, .te-card li, .te-cat-intro p, .te-card .aio-icon-title, .te-value .aio-icon-title, .te-step-text h4 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.te-card > .vc_column-inner {
  box-shadow: 0 1px 2px rgba(17,57,101,.05), 0 8px 24px rgba(17,57,101,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.te-card > .vc_column-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(17,57,101,.06), 0 18px 40px rgba(17,57,101,.13);
}
.te-card .wpb_content_element:last-child,
.te-card .aio-icon-component { margin-bottom: 0 !important; }
.te-card .aio-icon-title { margin-bottom: 8px !important; }
.te-card--accent > .vc_column-inner {
  background-image: radial-gradient(120% 120% at 100% 0%, rgba(30,115,190,.55) 0%, rgba(17,57,101,0) 60%) !important;
}

/* Breite Erstgespräch-Karte über beide Spalten: Text links, Button rechts */
@media (min-width: 768px) {
  .te-card--wide > .vc_column-inner > .wpb_wrapper {
    display: grid;
    grid-template-columns: auto max-content;
    column-gap: 32px;
    align-items: center;
  }
  .te-card--wide > .vc_column-inner > .wpb_wrapper > * { grid-column: 1; }
  .te-card--wide > .vc_column-inner > .wpb_wrapper > .vc_btn3-container {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0 !important;
  }
  .te-card--wide .te-text { margin-bottom: 0 !important; }
}

/* Hervorgehobene Karte mit Hinweis „Kernleistung“ */
.te-card--featured > .vc_column-inner { position: relative; box-shadow: 0 18px 40px rgba(30,115,190,.30); }
.te-card--featured > .vc_column-inner::before {
  content: "Kernleistung";
  position: absolute;
  top: 22px; left: 26px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  color: #1E73BE;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ---------- Positionierung: drei Säulen ---------- */
/* Hero: nummerierte Schwerpunkte im Glas-Kasten */
.te-pillars ol { list-style: none !important; margin: 0 !important; padding: 0 !important; counter-reset: te-pillar; }
.te-pillars li {
  position: relative;
  list-style: none !important;
  margin: 0 0 18px !important;
  padding: 0 0 18px 50px !important;
  border-bottom: 1px solid rgba(255,255,255,.14);
  counter-increment: te-pillar;
}
.te-pillars li:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; border-bottom: 0; }
.te-pillars li::before {
  content: counter(te-pillar, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(108,180,245,.18);
  color: #6CB4F5;
  font-size: 13px;
  font-weight: 800;
}
.te-pillars strong { display: block; color: #fff; font-size: 18px; line-height: 1.3; margin-bottom: 4px; }
.te-pillars span { display: block; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.5; }

/* Nachweis-Box in der linken Spalte jeder Säule */
.te-proofbox {
  margin-top: 26px !important;
  padding: 22px 22px 10px;
  border: 1px solid #E3E9F1;
  border-radius: 14px;
  background: #fff;
}
.te-proofbox h4 {
  margin: 0 0 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1E73BE !important;
}
.te-proofbox li { font-size: 15px; color: #1F2A37; }

/* Normen-Kacheln bei den Managementsystemen */
.te-norm > .vc_column-inner { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.te-norm > .vc_column-inner:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(17,57,101,.06), 0 18px 40px rgba(17,57,101,.13); border-color: rgba(30,115,190,.35) !important; }
.te-norm-text { margin-bottom: 0 !important; }
.te-norm-text p { margin: 0 !important; }
.te-norm-text .te-norm-code { font-size: 20px !important; font-weight: 800 !important; color: #1E73BE !important; line-height: 1.2 !important; }
.te-norm-text .te-norm-name { font-size: 15px !important; font-weight: 600 !important; color: #1F2A37 !important; margin-bottom: 10px !important; }
.te-norm-text .te-norm-proof {
  position: relative;
  padding: 10px 0 0 22px !important;
  border-top: 1px solid #E3E9F1;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  color: #5B6675 !important;
}
.te-norm-text .te-norm-proof::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #EAF2FB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E73BE' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}
/* Normen-Kacheln: nur Norm und Thema, ohne Überfahr-Text */
.te-norm > .vc_column-inner { display: flex !important; flex-direction: column; justify-content: center; }
.te-norm-text .te-norm-name { margin-bottom: 0 !important; }
.te-nowrap { white-space: nowrap; }
.te-grid-label p {
  margin: 18px 0 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5B6675 !important;
}

/* Fundament (Ausbildung) als Pillen */
.te-pills--fundament p { margin: 6px 0 0 !important; }
.te-pills--fundament span { background: #fff; border: 1px solid #E3E9F1; color: #1F2A37; padding: 9px 16px; }
.te-subhead--sm { margin-top: 48px !important; }

/* ---------- Zusammenarbeit ---------- */
.te-value > .vc_column-inner { transition: transform .25s ease, box-shadow .25s ease; }
.te-value > .vc_column-inner:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(17,57,101,.06), 0 18px 40px rgba(17,57,101,.13); background-color: #fff !important; }
.te-value .aio-icon-component { margin: 0 !important; }
.te-value .aio-icon-header, .te-value .aio-icon-title, .te-value .aio-icon-description { text-align: left !important; }
.te-value .aio-icon-top { text-align: left !important; margin-bottom: 18px; }
.te-value .aio-icon-top .aio-icon { margin: 0 !important; }

.te-steps { position: relative; }
.te-step-text { margin-bottom: 0 !important; text-align: center; }
.te-step-text p, .te-step-text h4 { text-align: center !important; }
.te-step-text .te-step-num { margin-left: auto !important; margin-right: auto !important; }
.te-step-text .te-step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin: 0 0 18px !important;
  border-radius: 50%;
  background: #1E73BE;
  box-shadow: 0 0 0 8px #fff, 0 0 0 9px #E3E9F1;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}
.te-step-text h4 { margin: 0 0 8px !important; font-size: 19px !important; font-weight: 700 !important; color: #1F2A37; }
.te-step-text p { font-size: 15px; line-height: 1.65; color: #5B6675; }
@media (min-width: 768px) {
  .te-step > .vc_column-inner { position: relative; }
  .te-step:not(:last-child) > .vc_column-inner::after {
    content: "";
    position: absolute;
    top: 26px;
    left: calc(50% + 40px);
    right: calc(-50% + 10px);
    border-top: 2px dashed #C9D7E8;
  }
}

/* ---------- Abschluss-Karte mit Foto ---------- */
.te-cta-box > .vc_column-inner { position: relative; overflow: hidden; }
.te-cta-box > .vc_column-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(17,57,101,.95) 0%, rgba(17,57,101,.86) 55%, rgba(30,115,190,.78) 100%);
}
.te-cta-box > .vc_column-inner > .wpb_wrapper { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.te-cta-box .te-eyebrow p { margin-left: auto !important; margin-right: auto !important; }

/* ---------- Über mich ---------- */
.te-portrait { margin-bottom: 32px !important; }
.te-portrait img { border-radius: 20px; box-shadow: 0 2px 4px rgba(17,57,101,.06), 0 18px 40px rgba(17,57,101,.13); }

.te-timeline h4 {
  margin: 0 0 18px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1E73BE !important;
}
.te-timeline ol { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.te-timeline li {
  position: relative;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 0 18px 30px !important;
}
.te-timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #1E73BE;
  box-sizing: border-box;
}
.te-timeline li::after {
  content: "";
  position: absolute;
  left: 6px; top: 22px; bottom: 2px;
  width: 2px;
  background: #D3DEEB;
}
.te-timeline li:last-child::after { display: none; }
.te-timeline strong { display: block; color: #1F2A37; font-size: 16px; line-height: 1.4; }
.te-timeline span { display: block; color: #5B6675; font-size: 14px; line-height: 1.5; }

.te-pills p { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0 !important; }
.te-pills span {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: #EAF2FB;
  color: #165A96;
  font-size: 14px;
  font-weight: 600;
}

.te-quote blockquote {
  margin: 32px 0 !important;
  padding: 22px 26px !important;
  border: 0 !important;
  border-left: 4px solid #1E73BE !important;
  border-radius: 0 14px 14px 0;
  background: #EAF2FB !important;
  font-size: 19px !important;
  line-height: 1.55 !important;
  font-style: normal !important;
  font-weight: 500;
  color: #1F2A37 !important;
}
.te-quote blockquote::before, .te-quote blockquote::after { display: none !important; }

/* ---------- Über mich (neu) ---------- */
/* Porträt mit versetztem blauen Rahmen und Namensschild */
.te-portrait-col .wpb_wrapper { position: relative; }
.te-about .te-portrait { margin: 0 18px 18px 0 !important; }
.te-about .te-portrait img {
  border-radius: 22px;
  box-shadow: 18px 18px 0 0 #1E73BE, 0 2px 4px rgba(17,57,101,.06), 0 18px 40px rgba(17,57,101,.13);
}
.te-portrait-badge {
  position: absolute !important;
  left: 22px; right: 40px; bottom: 40px;
  margin: 0 !important;
}
.te-portrait-badge p {
  display: grid;
  grid-template-columns: auto max-content;
  align-items: center;
  column-gap: 12px;
  margin: 0 !important;
  padding: 14px 18px !important;
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(17,57,101,.18);
}
.te-portrait-badge strong { grid-column: 1; font-size: 17px; color: #1F2A37; line-height: 1.3; }
.te-portrait-badge span { grid-column: 1; font-size: 13px; color: #5B6675; line-height: 1.4; }
.te-portrait-badge em {
  grid-column: 2; grid-row: 1 / span 2;
  font-style: normal; font-size: 12px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  background: #EAF2FB; color: #165A96;
}

/* Eigenschaften-Kacheln (gleiches Überfahr-Prinzip wie die Leistungen) */
.te-traits { margin-top: 4px !important; }
.te-trait > .vc_column-inner { padding-left: 18px !important; padding-right: 18px !important; }
.te-trait .aio-icon-box.left-icon { gap: 12px; }
.te-trait .aio-icon-title { font-size: 17px !important; -webkit-hyphens: manual !important; hyphens: manual !important; }
@media (hover: hover) and (min-width: 768px) {
  .te-trait > .vc_column-inner { min-height: 180px; }
  .te-trait .aio-icon-description { padding: 20px 18px !important; font-size: 14px !important; line-height: 1.5 !important; }
}

/* Private Zeile mit LinkedIn-Link */
.te-private p { margin: 22px 0 0 !important; font-size: 15px; color: #5B6675; }
.te-private a {
  font-weight: 600; color: #1E73BE !important; text-decoration: none !important;
  border-bottom: 2px solid rgba(30,115,190,.25); white-space: nowrap;
}
.te-private a::after { content: " →"; }

/* Mein Weg als waagerechte Zeitleiste */
.te-way .te-eyebrow p { display: table; margin: 0 auto 34px !important; }
.te-htl ol {
  list-style: none !important;
  margin: 0 !important; padding: 0 !important;
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  position: relative;
}
.te-htl li { flex: 1 1 0%; min-width: 0; }
.te-htl ol::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 9px;
  border-top: 2px dashed #C9D7E8;
}
.te-htl li {
  position: relative;
  list-style: none !important;
  margin: 0 !important;
  padding: 34px 6px 0 !important;
  text-align: center;
}
.te-htl li::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 20px; height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #1E73BE;
  box-sizing: border-box;
  box-shadow: 0 0 0 6px #F4F6F9;
  transition: transform .2s ease, background-color .2s ease;
}
.te-htl li:hover::before { transform: scale(1.25); background: #1E73BE; }
.te-htl strong { display: block; font-size: 14px; line-height: 1.35; color: #1F2A37; margin-bottom: 6px; -webkit-hyphens: manual; hyphens: manual; }
.te-htl span { display: block; font-size: 13.5px; line-height: 1.5; color: #5B6675; }

/* Leitsatz zum Abschluss */
.te-statement { margin-top: 56px !important; }
.te-statement blockquote {
  max-width: 860px;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  text-align: center;
  font-size: clamp(20px, 2.2vw, 28px) !important;
  line-height: 1.45 !important;
  font-weight: 600;
  font-style: normal !important;
  color: #1F2A37 !important;
}
.te-statement blockquote::before, .te-statement blockquote::after { display: none !important; }

@media (max-width: 991px) {
  .te-htl ol { flex-wrap: wrap; row-gap: 34px; }
  .te-htl li { flex: 0 0 calc(33.333% - 12px); }
  .te-htl ol::before { display: none; }
}
@media (max-width: 767px) {
  .te-about .te-portrait { margin: 0 18px 34px 0 !important; }
  .te-portrait-badge { left: 14px; right: 32px; bottom: 50px; }
  .te-htl ol { flex-direction: column; row-gap: 0; }
  .te-htl li { flex: 0 0 auto; }
  .te-htl li { text-align: left; padding: 0 0 22px 34px !important; }
  .te-htl li::before { left: 0; margin-left: 0; top: 2px; }
  .te-htl li::after { content: ""; position: absolute; left: 9px; top: 24px; bottom: 2px; width: 2px; background: #D3DEEB; }
  .te-htl li:last-child::after { display: none; }
}

/* ---------- Kontakt ---------- */
.te-contact .te-contact-item,
.te-contact .aio-icon-component {
  margin: 0 !important;
  padding: 16px 0;
  border-bottom: 1px solid #E3E9F1;
}
.te-contact .aio-icon-component:first-of-type { border-top: 1px solid #E3E9F1; margin-top: 12px !important; }
.te-contact .aio-icon-title { margin: 0 0 2px !important; }
.te-contact .aio-icon-component:hover .aio-icon-description { color: #1E73BE !important; }

.te-form-card > .vc_column-inner { box-shadow: 0 2px 4px rgba(17,57,101,.06), 0 18px 40px rgba(17,57,101,.13); }
/* Formular-Karte genauso hoch wie die linke Spalte; das Nachrichtenfeld füllt den freien Platz */
.te-contact .vc_column_container > .vc_column-inner { height: 100%; }
.te-form-card > .vc_column-inner > .wpb_wrapper { display: flex; flex-direction: column; height: 100%; }
.te-form-card .wpb_wrapper > form,
.te-form-card .wpb_wrapper > .dt-contact-form,
.te-form-card .wpb_wrapper > div:last-child { flex: 1 1 auto; display: flex; flex-direction: column; }
.te-form-card form { flex: 1 1 auto; display: flex; flex-direction: column; }
.te-form-card form .form-message { flex: 1 1 auto; display: flex; }
.te-form-card form textarea { flex: 1 1 auto; min-height: 150px; }
.te-form-card input[type="text"],
.te-form-card input[type="email"],
.te-form-card input[type="tel"],
.te-form-card textarea {
  width: 100%;
  padding: 13px 15px !important;
  border: 1px solid #E3E9F1 !important;
  border-radius: 10px !important;
  background: #F4F6F9 !important;
  color: #1F2A37 !important;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.te-form-card input:focus,
.te-form-card textarea:focus {
  outline: none !important;
  border-color: #1E73BE !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(30,115,190,.15) !important;
}
.te-form-card .dt-btn,
.te-form-card button[type="submit"],
.te-form-card input[type="submit"] {
  border-radius: 10px !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
}

/* ---------- Fußzeile ---------- */
.te-footer p, .te-footer li { color: rgba(255,255,255,.75) !important; font-size: 15px; line-height: 1.7; }
.te-footer .te-footer-brand { color: #fff !important; font-weight: 700; font-size: 17px; margin-bottom: 10px !important; }
.te-footer-logo { margin-bottom: 18px !important; }
.te-footer-logo img { width: 64px; height: auto; }
.te-footer h4 {
  margin: 0 0 18px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9CC4EC !important;
}
.te-footer ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.te-footer li { list-style: none !important; margin: 0 0 10px !important; padding: 0 !important; }
.te-footer li::before { display: none !important; }
.te-footer a { color: rgba(255,255,255,.88) !important; text-decoration: none !important; transition: color .2s; }
.te-footer a:hover, .te-footer a:focus-visible { color: #fff !important; text-decoration: underline !important; }
.te-footer .te-footer-note { margin-top: 14px !important; font-size: 14px; color: rgba(255,255,255,.6) !important; }
.te-footer-bottom p {
  margin: 48px 0 0 !important;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px !important;
  color: rgba(255,255,255,.55) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .vc_row.te-section { padding-top: 80px !important; padding-bottom: 80px !important; }
  .vc_row.te-cat { padding-top: 24px !important; padding-bottom: 24px !important; }
  .te-cat-intro { margin-bottom: 8px; }
}
@media (max-width: 767px) {
  .vc_row.te-hero { padding-top: 110px !important; padding-bottom: 56px !important; }
  .te-glass { margin-top: 24px; }
  .te-hero .vc_btn3-container,
  .te-cta-box .vc_btn3-container,
  .te-cta-band .vc_btn3-container { display: block; width: 100%; margin: 10px 0 0 !important; }
  .te-hero .vc_btn3, .te-cta-box .vc_btn3, .te-cta-band .vc_btn3 { width: 100%; justify-content: space-between; }
  .te-cta-box > .vc_column-inner { padding: 56px 22px !important; border-radius: 20px !important; }
  .vc_row.te-cta { padding-bottom: 64px !important; }
  .te-step-text { margin-bottom: 12px !important; }
  .te-norms > .vc_column_container { padding-left: 0 !important; padding-right: 0 !important; }
  .vc_row.te-norms { margin-left: 0 !important; margin-right: 0 !important; }
  /* Karten bündig mit dem Text ausrichten */
  .vc_row.te-cards { margin-left: 0 !important; margin-right: 0 !important; }
  .te-cards > .vc_column_container { padding-left: 0 !important; padding-right: 0 !important; }
  .te-credit p { text-align: left; }
  .vc_row.te-section { padding-top: 64px !important; padding-bottom: 64px !important; }
  .te-stats .wpb_column + .wpb_column > .vc_column-inner { border-left: 0; border-top: 1px solid #E3E9F1; padding-top: 20px; }
  .te-form-card > .vc_column-inner { padding: 28px 20px !important; }
}

/* Weniger Bewegung, wenn im Betriebssystem eingestellt */
@media (prefers-reduced-motion: reduce) {
  .te-card > .vc_column-inner, .te-value > .vc_column-inner,
  .te-btn .vc_btn3, .te-btn .vc_btn3-icon { transition: none !important; }
  .te-card > .vc_column-inner:hover, .te-value > .vc_column-inner:hover,
  .te-btn .vc_btn3:hover, .te-btn .vc_btn3:hover .vc_btn3-icon { transform: none !important; }
}