/* tw partners Onepage 69994f95 – v1.8.3 */


:root {
  --twp-orange:    #EE8335;
  --twp-white:     #ffffff;
  --twp-gray-100:  #F2F2F2;
  --twp-gray-200:  #e8e8e5;
  --twp-gray-400:  #b0afa9;
  --twp-gray-700:  #4a4a47;
  --twp-gray-900:  #1e1e1c;
  --twp-gray-hover: #e0e0dc;
  --twp-font-head: "Barlow", Arial, sans-serif;
  --twp-font-body: "Helvetica Light", "Helvetica Neue Light", Helvetica, Arial, sans-serif;
  --twp-max:       1100px;
  --twp-header-h:  80px;
  --twp-banner-h:  64px;
}

header:not(.twp-header), footer:not(.twp-footer), .entry-title, .page-header, .site-header, .site-footer, #masthead, #colophon, h1.entry-title {
  display: none !important;
}

.twp-site *, .twp-site *::before, .twp-site *::after { box-sizing: border-box; margin: 0; padding: 0; }
.twp-site { font-family: var(--twp-font-body); font-weight: 300; color: var(--twp-gray-700); background: var(--twp-white); line-height: 1.65; -webkit-text-size-adjust: 100%; }
.twp-hidden { display: none !important; }

/* ── TOP BANNER ─────────────────────────────────────────────────────────── */
.twp-top-banner {
  height: var(--twp-banner-h);
  background: var(--twp-gray-100);
  border-bottom: 1px solid var(--twp-gray-200);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--twp-gray-700);
  padding: 12px 32px;
  text-align: center;

}
@media screen and (min-width: 769px) {
  .twp-top-banner {
    padding-left: 32px;
    padding-right: 32px;
  }
}
body.admin-bar .twp-top-banner {
  top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .twp-top-banner {
    top: 0;
  }

  .twp-top-banner {
    font-size: 10px;
    height: 48px;
    padding: 6px 20px;
  }

  :root {
    --twp-banner-h: 48px;
  }
}
.twp-banner-sub {
  font-size: 10px;
  color: var(--twp-gray-400);
}
.twp-top-banner__link {
  color: var(--twp-orange);
  text-decoration: none;
  font-weight: 600;
  font-size: 10px;
  margin-top: 4px;
  display: inline-block;
  border-bottom: 1px solid var(--twp-orange);
  transition: opacity 0.2s;
}
.twp-top-banner__link:hover {
  opacity: 0.8;
}

/* ── HEADER ─────────────────────────────────────────────────────────────── */
.twp-header { position: fixed; top: var(--twp-banner-h); left: 0; right: 0; z-index: 1000; background: var(--twp-white); border-bottom: 1px solid var(--twp-gray-200); height: var(--twp-header-h); display: flex; align-items: center; }
body.admin-bar .twp-header { top: calc(var(--wp-admin--admin-bar--height, 32px) + var(--twp-banner-h)); }
@media screen and (max-width: 782px) {
  body.admin-bar .twp-header {
    top: var(--twp-banner-h);
  }
}
.twp-header__inner { width: 100%; max-width: var(--twp-max); margin: 0 auto; padding: 0 32px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

@media screen and (min-width: 769px) {
  .twp-header__inner {
    transform: none;
  }
}

.twp-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; max-width: 65%; height: 100%; padding-left: 0; } /* Removed horizontal shift to align left edge of logo perfectly with content-raster */
.twp-logo__img { height: 48px; width: auto; display: block; max-width: 100%; object-fit: contain; }
.twp-logo__svg { height: 44px; width: auto; max-width: 100%; }

/* ── PHONE CONTACT ──────────────────────────────────────────────────────── */
.twp-header-phone {
  margin-left: auto;
  margin-right: 16px;
}
.twp-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--twp-font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--twp-white) !important;
  background-color: var(--twp-orange);
  padding: 8px 16px;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s, background-color 0.2s;
}
.twp-phone-link:hover {
  opacity: 0.9;
}
.twp-phone-icon {
  width: 12px;
  height: 12px;
  fill: var(--twp-white);
}

@media (max-width: 768px) {
  .twp-header-phone {
    margin-right: 8px;
  }

  .twp-phone-text {
    display: none;
  }


  .twp-phone-link {
    padding: 8px;
    background: var(--twp-orange);
    border-radius: 2px;
    width: 32px;
    height: 32px;
    justify-content: center;
  }
}

/* ── NAV ─────────────────────────────────────────────────────────────────── */
.twp-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.twp-nav__link {
  font-family: var(--twp-font-body);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--twp-gray-700);
  text-decoration: none;
  transition: color 0.2s;
}

.twp-nav__link:hover {
  color: var(--twp-orange);
}

.twp-nav__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.twp-lang-sep {
  color: var(--twp-gray-400);
  font-size: 12px;
}

.twp-lang-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  font-family: var(--twp-font-body);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--twp-gray-400);
  padding: 4px 8px;
  border-radius: 2px;
  transition: background-color 0.2s, color 0.2s;
}

.twp-lang-btn--active {
  color: var(--twp-orange);
  font-weight: 400;
}

.twp-lang-btn:hover {
  background-color: var(--twp-gray-hover) !important;
  color: var(--twp-gray-700) !important;
}

.twp-lang-btn:focus,
.twp-lang-btn:active {
  outline: none !important;
}

/* ── HAMBURGER ───────────────────────────────────────────────────────────── */
.twp-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.twp-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--twp-gray-700);
  transition: all 0.25s;
}

.twp-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.twp-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.twp-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ────────────────────────────────────────────────────────────────── */
.twp-hero {
  padding-top: calc(var(--twp-header-h) + var(--twp-banner-h) + 48px);
  padding-bottom: 60px;
  background: var(--twp-white);
  border-bottom: none !important;
}

.twp-hero__inner {
  max-width: var(--twp-max);
  margin: 0 auto;
  padding: 0 32px;
}

.twp-hero__notice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--twp-gray-400);
  margin-bottom: 28px;
}

.twp-notice-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--twp-orange);
  flex-shrink: 0;
}

.twp-hero__intro {
  font-size: 15px;
  color: var(--twp-gray-700);
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 620px;
}

.twp-hero__divider {
  width: 48px;
  height: 3px;
  background: var(--twp-orange);
  margin-bottom: 32px;
}

.twp-hero__headline {
  font-family: var(--twp-font-head);
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--twp-gray-700);
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.twp-hero__sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--twp-gray-700);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 1100px;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.twp-btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--twp-font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 2px solid var(--twp-orange);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.twp-btn--primary {
  background: var(--twp-orange);
  color: var(--twp-white) !important;
}

.twp-btn--primary:hover {
  background: transparent;
  color: var(--twp-orange) !important;
}

.twp-btn--large {
  font-size: 13px;
  padding: 18px 48px;
}

/* ── SECTIONS ────────────────────────────────────────────────────────────── */
.twp-section {
  padding: 96px 0;
}

.twp-section__inner {
  max-width: var(--twp-max);
  margin: 0 auto;
  padding: 0 32px;
}

.twp-section__kicker {
  font-family: var(--twp-font-head);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--twp-orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.twp-section__headline {
  font-family: var(--twp-font-head);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 300;
  color: var(--twp-gray-900);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.twp-section__intro {
  font-size: 16px;
  color: var(--twp-gray-700);
  margin-bottom: 56px;
  line-height: 1.75;
}

/* ── LEISTUNGEN ──────────────────────────────────────────────────────────── */
.twp-leistungen {
  background: var(--twp-gray-100);
}

.twp-leistungen-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
}

.twp-leistungen-row .twp-group:first-child {
  grid-column: span 2;
  min-width: 0;
  margin-top: 0;
}

.twp-leistungen-row .twp-group:last-child {
  grid-column: span 1;
  min-width: 0;
  margin-top: 0;
}

.twp-leistungen-row .twp-group:first-child .twp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 280px;
  gap: 32px;
}

.twp-leistungen-row .twp-group:last-child .twp-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 280px;
  gap: 32px;
}

.twp-card {
  background: var(--twp-white);
  padding: 36px 32px;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.twp-card__line {
  width: 32px;
  height: 3px;
  background: var(--twp-orange);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.twp-group__title {
  font-family: var(--twp-font-head);
  font-size: 20px;
  font-weight: 400;
  color: var(--twp-orange);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: none;
  border-bottom: 1px solid var(--twp-gray-200);
  padding-bottom: 8px;
}

.twp-card__title {
  font-family: var(--twp-font-head);
  font-size: 15px;
  font-weight: 400;
  color: var(--twp-gray-900);
  margin-bottom: 12px;
  line-height: 1.4;
}

.twp-card__text {
  font-size: 14px;
  color: var(--twp-gray-700);
  line-height: 1.65;
  font-weight: 300;
}

/* ── KONTAKT ─────────────────────────────────────────────────────────────── */
.twp-kontakt {
  background: var(--twp-white);
}

.twp-kontakt__inner {
  text-align: center;
}

.twp-kontakt__headline {
  font-family: var(--twp-font-head);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 300;
  color: var(--twp-gray-900);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.twp-kontakt__text {
  font-size: 16px;
  color: var(--twp-gray-700);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.twp-kontakt__details {
  margin-top: 48px;
  font-size: 14px;
  color: var(--twp-gray-700);
  line-height: 2.1;
}

.twp-kontakt__firm {
  font-weight: 400;
  color: var(--twp-gray-900);
  margin-bottom: 6px;
  font-size: 15px;
}

.twp-link {
  color: var(--twp-orange);
  text-decoration: none;
  transition: opacity 0.2s;
}

.twp-link:hover {
  opacity: 0.75;
}

/* ── PARTNER CARDS ───────────────────────────────────────────────────────── */
.twp-partner-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 56px;
  text-align: left;
}

.twp-partner-card {
  background: var(--twp-gray-100);
  padding: 36px 32px;
}

.twp-partner-card .twp-card__line {
  margin-bottom: 16px;
}

.twp-partner-card__name {
  font-family: var(--twp-font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--twp-gray-900);
  margin-bottom: 4px;
}

.twp-partner-card__role {
  font-size: 13px;
  color: var(--twp-orange);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  font-weight: 300;
}

.twp-partner-card p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--twp-gray-700);
}

/* ── FOOTER ACCORDIONS ───────────────────────────────────────────────────── */
.twp-footer-accordion-section {
  background: var(--twp-gray-100);
  padding: 0;
  border-top: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.twp-impressum-wrapper {
  max-width: var(--twp-max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.twp-impressum__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  margin: 0;
  padding: 4px 8px;
  border-radius: 2px;
  transition: background-color 0.2s;
}

.twp-impressum__toggle-label {
  font-family: var(--twp-font-body) !important;
  font-size: 12px;
  font-weight: 300;
  color: var(--twp-gray-400);
  letter-spacing: 0.04em;
  text-transform: none !important;
  transition: color 0.2s;
}

.twp-impressum__toggle:hover {
  background-color: var(--twp-gray-hover) !important;
}

.twp-impressum__toggle:hover .twp-impressum__toggle-label {
  color: var(--twp-gray-700) !important;
}

.twp-impressum__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s ease;
  width: 100%;
  cursor: pointer;
}

.twp-impressum__body.is-open {
  max-height: 4000px;
}

.twp-impressum__headline {
  font-family: var(--twp-font-head) !important;
  font-size: 20px;
  font-weight: 300;
  color: var(--twp-orange);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 32px;
  margin-bottom: 8px;
  text-align: left;
}

.twp-impressum__grid {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  padding-bottom: 40px;
}

.twp-impressum__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--twp-gray-200);
  font-size: 13px;
  line-height: 1.75;
  text-align: left;
}

.twp-impressum__row:last-child {
  border-bottom: none;
}

.twp-impressum__label {
  color: var(--twp-orange);
  font-family: var(--twp-font-head) !important;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  text-transform: uppercase;
}

.twp-impressum__content {
  color: var(--twp-gray-700);
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.twp-footer {
  background: var(--twp-gray-100);
  padding: 24px 32px 48px 32px;
  border-top: 1px solid var(--twp-gray-200);
}

.twp-footer__inner {
  max-width: var(--twp-max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: var(--twp-gray-400);
  letter-spacing: 0.04em;
}

.twp-footer__left {
  text-align: left;
}

.twp-footer__right {
  text-align: right;
}

/* ── RESPONSIVE / MOBILE OPTIMIZED ───────────────────────────────────────── */


@media (max-width: 900px) {


  .twp-partner-cards {
    grid-template-columns: 1fr;
  }

  .twp-impressum__row {
    gap: 4px;
  }
}

@media (max-width: 699px) {

  /* Beide Leistungsgruppen mobil untereinander */
  .twp-leistungen-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .twp-leistungen-row .twp-group:first-child,
  .twp-leistungen-row .twp-group:last-child {
    grid-column: auto;
    min-width: 0;
  }

  /* Karten innerhalb jeder Gruppe ebenfalls untereinander */
  .twp-leistungen-row .twp-group:first-child .twp-grid,
  .twp-leistungen-row .twp-group:last-child .twp-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  :root {
    --twp-header-h: 72px;
  }

  .twp-header__inner {
    padding: 0 20px;
    gap: 12px;
  }

  .twp-logo {
    max-width: 75%;
  }

  .twp-logo__img {
    height: 40px;
    max-height: 40px;
  }

  .twp-logo__svg {
    height: 36px;
  }

  .twp-nav-toggle {
    display: flex;
  }

  .twp-nav {
    position: fixed;
    top: calc(var(--twp-header-h) + var(--twp-banner-h));
    left: 0;
    right: 0;
    background: var(--twp-white);
    border-top: 1px solid var(--twp-gray-200);
    padding: 32px 24px;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  body.admin-bar .twp-nav {
    top: calc(var(--twp-header-h) + var(--twp-banner-h) + 32px);
  }

  .twp-nav.is-open {
    transform: translateY(0);
  }

  .twp-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .twp-nav__link {
    font-size: 15px;
  }

  .twp-nav__lang {
    margin-left: 0;
    margin-top: 8px;
  }

  .twp-hero {
    padding-top: calc(var(--twp-header-h) + var(--twp-banner-h) + 32px);
    padding-bottom: 56px;
  }

  .twp-hero__inner {
    padding: 0 20px;
  }

  .twp-hero__headline {
    font-size: clamp(26px, 7vw, 38px);
    margin-bottom: 16px;
  }

  .twp-hero__sub {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .twp-section {
    padding: 56px 0;
  }

  .twp-section__inner {
    padding: 0 20px;
  }

  .twp-card {
    height: auto;
    min-height: 0;
    padding: 28px 20px;
  }

  .twp-partner-card {
    padding: 28px 20px;
  }

  .twp-kontakt__headline {
    font-size: clamp(22px, 6vw, 34px);
  }

  .twp-btn {
    padding: 12px 24px;
    width: 100%;
    text-align: center;
    display: block;
  }

  .twp-btn--large {
    padding: 14px 28px;
  }

  .twp-footer-accordion-section {
    padding-top: 0;
  }

  .twp-impressum-wrapper {
    padding: 0 20px;
  }

  .twp-footer {
    padding: 12px 20px 16px 20px;
  }

  .twp-footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .twp-footer__left,
  .twp-footer__right {
    text-align: center;
    width: 100%;
  }

  .twp-impressum__toggle {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .twp-hero__headline {
    font-size: 24px;
  }

  .twp-section__headline {
    font-size: 18px;
  }

  .twp-kontakt__headline {
    font-size: 20px;
  }

  .twp-logo__img {
    height: 34px;
  }
}
/* ── MOBILE HEADER FIX ──────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Header-Inhalt in einer Zeile halten */
  .twp-header__inner {
    padding: 0 16px;
    gap: 10px;
    transform: none;
  }

  /* Logo links */
  .twp-logo {
    max-width: 170px;
    flex-shrink: 1;
    margin-right: auto;
  }

  .twp-logo__img {
    width: auto;
    height: 36px;
    max-width: 100%;
  }

  /* Telefon nur als orangefarbenes Telefonsymbol */
  .twp-header-phone {
    margin: 0;
    flex-shrink: 0;
  }

  .twp-phone-text {
    display: none;
  }

  /* Hamburger rechts */
  .twp-nav-toggle {
    flex-shrink: 0;
    margin: 0;
  }

  /* DE / EN nicht mehr im geschlossenen Header anzeigen.
     Die Sprachwahl erscheint im geöffneten Hamburger-Menü. */
  .twp-nav__lang {
    margin-left: 0;
    margin-top: 8px;
  }
/* Navigation im geschlossenen Zustand vollständig ausblenden */
  .twp-nav:not(.is-open) {
    visibility: hidden;
    pointer-events: none;
  }

  /* Beim Öffnen vollständig sichtbar */
  .twp-nav.is-open {
    visibility: visible;
    pointer-events: auto;
  }
/* Hamburger: keine Theme-/WordPress-Farbe beim Klick */
  .twp-nav-toggle,
  .twp-nav-toggle:hover,
  .twp-nav-toggle:focus,
  .twp-nav-toggle:active {
    background: transparent !important;
    color: var(--twp-gray-700) !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* Geöffnetes Menü deckt den darunterliegenden Seiteninhalt ab */
  .twp-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    height: calc(100dvh - var(--twp-header-h) - var(--twp-banner-h));
    overflow-y: auto;
    background: var(--twp-white);
  }
 .twp-top-banner {
    background: var(--twp-gray-100) !important;
    z-index: 1200;
  }

  .twp-header {
    background: var(--twp-white) !important;
    z-index: 1190;
  }

  .twp-nav {
    z-index: 1180;
  }

  :root {
    --twp-banner-h: 48px;
    --twp-header-h: 64px;
  }
body.admin-bar .twp-top-banner {
    top: 0 !important;
  }

  body.admin-bar .twp-header {
    top: var(--twp-banner-h) !important;
  }

  body.admin-bar .twp-nav {
    top: calc(var(--twp-banner-h) + var(--twp-header-h)) !important;
  }
/* Partner-Kontakte mobil nebeneinander */
.twp-partner-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.twp-partner-card {
  padding: 18px 8px;
  min-width: 0;
}

/* Name */
.twp-partner-card__name {
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

/* Berufsbezeichnung darf umbrechen */
.twp-partner-card__role {
  font-size: 11px;
  line-height: 1.35;
  white-space: normal !important;
  overflow: visible;
}

/* Allgemeine Kontaktdaten */
.twp-partner-card p {
  font-size: 11px;
  line-height: 1.65;
}

/* Telefon- und Mobil-Links einzeilig */
.twp-partner-card a {
  font-size: 11px;
  white-space: nowrap;
}

/* E-Mail-Adressen etwas kompakter */
.twp-partner-card a[href^="mailto:"] {
  font-size: 9.5px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
/* Allgemeine Kontaktdaten mobil kompakter */
.twp-kontakt__details {
  margin-top: 28px;
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
}

.twp-kontakt__firm {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.twp-kontakt__details p {
  margin: 0 0 6px 0;
}

.twp-kontakt__details a {
  white-space: nowrap;
}
/* Telefon und Fax mobil sauber untereinander */
.twp-kontakt__details br {
  display: none;
}

.twp-kontakt__details {
  line-height: 1.6;
}

.twp-kontakt__details .twp-phone-row {
  display: block;
}
.twp-fax {
  white-space: nowrap;
}
} /* Ende MOBILE HEADER FIX */



	  /* ── TABLET LEISTUNGEN 700–900px ───────────────────────────────────────── */
@media (min-width: 700px) and (max-width: 900px) {

  .twp-leistungen-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: start;
  }

  .twp-leistungen-row .twp-group:first-child,
  .twp-leistungen-row .twp-group:last-child {
    grid-column: auto;
    min-width: 0;
  }

  /* Unternehmen: 2 x 2 */
  .twp-leistungen-row .twp-group:first-child .twp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 280px);
    gap: 18px;
  }

  /* Führungskräfte: 1 x 2 */
  .twp-leistungen-row .twp-group:last-child .twp-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 280px);
    gap: 18px;
  }

  .twp-card {
    height: 280px;
    min-height: 280px;
    padding: 26px 22px;
  }

  .twp-group__title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .twp-card__title {
    font-size: 14px;
    line-height: 1.4;
  }

  .twp-card__text {
    font-size: 13px;
    line-height: 1.55;
  }
}


/* ── TABLET TOP-BANNER 769–900px ───────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 900px) {

  .twp-top-banner {
    padding-left: 32px;
    padding-right: 32px;
    text-align: center;
  }
}


/* ── TABLET KONTAKTFELDER 700–900px ────────────────────────────────────── */
@media (min-width: 700px) and (max-width: 900px) {

  .twp-partner-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .twp-partner-card {
    padding: 24px 20px;
    min-width: 0;
  }
}


/* ── PARTNERFOTOS ───────────────────────────────────────────────────────── */
.twp-partner-card__photo {
  width: 100%;
  height: 360px;
  object-fit: contain;
  object-position: center 20%;
  display: block;
  margin-bottom: 20px;
}
/* ── PARTNERFOTOS MOBILE ────────────────────────────────────────────────── */
@media (max-width: 768px) {

  .twp-partner-card__photo {
    height: 150px;
    object-fit: cover;
    object-position: center top;
    margin-bottom: 12px;
  }
}


/* =========================================================
   KONTAKT / PARTNERKARTEN – SMARTPHONE QUERFORMAT
   kompakter, Fotos vollständig sichtbar
   ========================================================= */

@media (min-width: 500px) and (max-width: 960px) and (max-height: 500px) {

  /* Kontaktbereich insgesamt kompakter */
  .twp-kontakt {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }

  .twp-kontakt__headline {
    margin-bottom: 10px !important;
  }

  .twp-kontakt__text {
    margin-bottom: 18px !important;
    line-height: 1.5 !important;
  }

  /* Weniger Abstand bis zu den Personenkarten */
  .twp-partner-cards {
    margin-top: 24px !important;
    gap: 10px !important;
  }

  /* Karten kompakter */
  .twp-partner-card {
    padding: 12px 14px !important;
    min-width: 0;
  }

  .twp-partner-card .twp-card__line {
    margin-bottom: 10px !important;
  }

  /* Foto links, Daten rechts */
  .twp-partner-card__content {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  /*
   * Foto nicht beschneiden:
   * contain zeigt das komplette Originalbild.
   */
  .twp-partner-card__photo {
    width: 90px !important;
    height: 120px !important;

    object-fit: contain !important;
    object-position: center top !important;

    display: block;
    margin: 0 !important;
  }

  .twp-partner-card__info {
    min-width: 0;
  }

  .twp-partner-card__name {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    line-height: 1.25;
  }

  .twp-partner-card__role {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    line-height: 1.3;
  }

  .twp-partner-card__contact p {
    margin: 2px 0 !important;
    line-height: 1.4;
  }

  .twp-partner-card__contact .twp-link {
    white-space: nowrap;
  }

} /* Ende KONTAKT / PARTNERKARTEN SMARTPHONE QUERFORMAT */
/* ── LEISTUNGEN SMARTPHONE-QUERFORMAT ─────────────────────────────────── */
@media (orientation: landscape) and (max-height: 500px) {

  /* Beide Gruppen behalten ihre bestehende Aufteilung */
  .twp-leistungen-row .twp-group:first-child .twp-grid,
  .twp-leistungen-row .twp-group:last-child .twp-grid {
    grid-auto-rows: 190px !important;
    grid-template-rows: repeat(2, 190px) !important;
    row-gap: 38px !important;
  }

  /* Alle Karten gleich hoch und kompakter */
  .twp-leistungen-row .twp-card {
    height: 190px !important;
    min-height: 190px !important;
    padding: 14px 18px !important;
    box-sizing: border-box;
    margin-top: 0 !important;
  }

  .twp-leistungen-row .twp-card__line {
    margin-bottom: 10px;
  }

  .twp-leistungen-row .twp-card__title {
    margin-bottom: 7px;
  }

  /* Leistungsbereich im Querformat vertikal kompakter */
  .twp-leistungen {
    padding-top: 32px !important;
    padding-bottom: 24px !important;
  }

  /* Kontaktbereich direkt danach ebenfalls kompakter */
  .twp-kontakt {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  .twp-kontakt__text {
    margin-bottom: 24px;
  }
	/* Beginn der zweiten Reihe */
  .twp-leistungen-row .twp-group:first-child .twp-card:nth-child(3),
  .twp-leistungen-row .twp-group:first-child .twp-card:nth-child(4),
  .twp-leistungen-row .twp-group:last-child .twp-card:nth-child(2) {
    position: relative;
  }

  /* Wiederholte Überschrift Unternehmen */
  .twp-leistungen-row .twp-group:first-child .twp-card:nth-child(3)::before {
    content: "Für Unternehmen";
  }

  /* Wiederholte Überschrift Führungskräfte */
  .twp-leistungen-row .twp-group:last-child .twp-card:nth-child(2)::before {
    content: "Für Führungskräfte";
  }

  /* Beide Zusatzüberschriften identisch gestalten */
  .twp-leistungen-row .twp-group:first-child .twp-card:nth-child(3)::before,
  .twp-leistungen-row .twp-group:last-child .twp-card:nth-child(2)::before {
    position: absolute;
    top: -32px;
    left: 0;
    font-family: var(--twp-font-head);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: var(--twp-orange);
    white-space: nowrap;
  }

  /* Ursprüngliche Gruppenüberschriften gleiche Schriftgröße */
  .twp-group__title {
    font-size: 20px !important;
  }
/* Karten horizontal besser ausnutzen */
  .twp-leistungen-row {
    column-gap: 18px !important;
  }

  .twp-leistungen-row .twp-group:first-child .twp-grid {
    column-gap: 14px !important;
  }

  .twp-leistungen-row .twp-card {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .twp-leistungen-row .twp-card__title {
    font-size: 14px;
    line-height: 1.3;
  }

  .twp-leistungen-row .twp-card__text {
    font-size: 13px;
    line-height: 1.45;
  }
} /* Ende LEISTUNGEN SMARTPHONE-QUERFORMAT */
/* ── NAVIGATION: MOBILE / DESKTOP LEISTUNGS-LINKS ─────────────────────── */

.twp-nav-mobile-only {
  display: none;
}

.twp-nav-desktop-only {
  display: block;
}

@media (max-width: 768px) {

  .twp-nav-mobile-only {
    display: block;
  }

  .twp-nav-desktop-only {
    display: none;
  }
	} /* Ende MOBILE NAVIGATION */
/* ── SPRUNGZIELE LEISTUNGEN: ABSTAND ZUM FIXED HEADER ── */
#twp-unternehmen,
#twp-fuehrungskraefte {
  scroll-margin-top: 130px;
}

@media (max-width: 768px) {
  #twp-unternehmen,
  #twp-fuehrungskraefte {
    scroll-margin-top: 150px;
  }
} /* Ende MOBILE SPRUNGZIELE */
/* =========================================================
   HERO – SMARTPHONE QUERFORMAT
   kompakt, vollständig sichtbar, einheitlich
   ========================================================= */

@media (min-width: 500px) and (max-width: 960px) and (max-height: 500px) {

  /* Kopfbereich im Querformat etwas flacher */
  :root {
    --twp-banner-h: 40px;
    --twp-header-h: 60px;
  }

  .twp-top-banner {
    height: 40px;
    padding: 4px 16px;
    font-size: 9px;
  }

  .twp-header {
    height: 60px;
  }

  .twp-header__inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .twp-logo__img {
    height: 34px;
  }


  /* Hero bildet im Querformat den ersten Bildschirm */
  .twp-site .twp-hero {
    min-height: 100dvh !important;

    padding-top: calc(
      var(--twp-banner-h) +
      var(--twp-header-h) +
      14px
    ) !important;

    padding-bottom: 18px !important;
  }

  /* WordPress-Adminleiste bei unseren Tests berücksichtigen */
  body.admin-bar .twp-site .twp-hero {
    min-height: calc(
      100dvh - var(--wp-admin--admin-bar--height, 32px)
    ) !important;
  }


  /* Hero-Inhalt kompakter */
  .twp-site .twp-hero__divider {
    margin-bottom: 10px !important;
  }

  .twp-site .twp-hero__headline {
    font-size: clamp(21px, 3.3vw, 32px) !important;
    line-height: 1.05 !important;
    letter-spacing: 0.03em !important;
    margin-bottom: 8px !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  .twp-site .twp-hero__sub {
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }


  /* Kontaktbutton im Querformat kompakt */
  .twp-site .twp-hero .twp-btn {
    width: auto !important;
    min-width: 0 !important;
    display: inline-block !important;

    padding: 7px 18px !important;

    font-size: 11px !important;
    letter-spacing: 0.10em !important;
  }

} /* Ende SMARTPHONE QUERFORMAT */


/* =========================================================
   HERO – KONTAKTBUTTON
   „Schreiben Sie uns“
   hellgrau + orange, zurückhaltend
   ========================================================= */

.twp-site .twp-hero .twp-btn.twp-btn--primary {
  width: auto !important;
  min-width: 0 !important;
  display: inline-block !important;

  padding: 8px 22px !important;

  background: var(--twp-gray-100) !important;
  background-color: var(--twp-gray-100) !important;
  background-image: none !important;

  color: var(--twp-orange) !important;

  border: none !important;
  box-shadow: none !important;

  font-size: 12px !important;
  letter-spacing: 0.12em !important;
}


/* DE / EN Text im Button */
.twp-site .twp-hero .twp-btn.twp-btn--primary span {
  color: var(--twp-orange) !important;
}


/* Bereits besuchter Mail-Link bleibt gleich */
.twp-site .twp-hero .twp-btn.twp-btn--primary:link,
.twp-site .twp-hero .twp-btn.twp-btn--primary:visited {
  background: var(--twp-gray-100) !important;
  color: var(--twp-orange) !important;
}


/* Hover / Tastaturfokus */
.twp-site .twp-hero .twp-btn.twp-btn--primary:hover,
.twp-site .twp-hero .twp-btn.twp-btn--primary:focus {
  background: var(--twp-gray-200) !important;
  color: var(--twp-orange) !important;
}

.twp-site .twp-hero .twp-btn.twp-btn--primary:hover span,
.twp-site .twp-hero .twp-btn.twp-btn--primary:focus span {
  color: var(--twp-orange) !important;
}


/* =========================================================
   HERO-BUTTON SMARTPHONE HOCHFORMAT
   ebenfalls kompakter
   ========================================================= */

@media (max-width: 768px) {

  .twp-site .twp-hero .twp-btn.twp-btn--primary {
    width: auto !important;
    min-width: 0 !important;
    display: inline-block !important;

    padding: 8px 18px !important;

    font-size: 11px !important;
    letter-spacing: 0.10em !important;
  }

}


/* =========================================================
   HERO-BUTTON SMARTPHONE QUERFORMAT
   kleinste Variante
   ========================================================= */

@media (min-width: 500px) and (max-width: 960px) and (max-height: 500px) {

  .twp-site .twp-hero .twp-btn.twp-btn--primary {
    width: auto !important;
    min-width: 0 !important;

    padding: 7px 18px !important;

    font-size: 11px !important;
    letter-spacing: 0.10em !important;
  }
} /* Ende HERO-BUTTON SMARTPHONE QUERFORMAT */
/* =========================================================
   LINKS – ruhiger Look ohne Unterstreichung
   ========================================================= */

.twp-site a,
.twp-site a:link,
.twp-site a:visited,
.twp-site a:hover,
.twp-site a:focus,
.twp-site a:active {
  text-decoration: none !important;
}
/* =========================================================
   TWP LINKS – OHNE UNTERSTREICHUNGEN
   ========================================================= */

.twp-site a,
.twp-site a:link,
.twp-site a:visited,
.twp-site a:hover,
.twp-site a:focus,
.twp-site a:active,
.twp-site a span,
.twp-site a:hover span,
.twp-site a:focus span {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* Falls das Theme die Linie über ::before / ::after erzeugt */
.twp-site a::before,
.twp-site a::after {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
	/* =========================================================
   TWP – Link-Unterstreichungen entfernen
   ========================================================= */

.twp-site .twp-btn,
.twp-site .twp-btn span,
.twp-site .twp-nav__link,
.twp-site .twp-phone,
.twp-site .twp-contact a {
  text-decoration: none !important;
}/* =========================================================
   HERO – GRÖSSERE SMARTPHONE-QUERFORMATE ETWAS LUFTIGER
   ========================================================= */

@media (min-width: 700px) and (max-width: 960px) and (max-height: 500px) {

  .twp-site .twp-hero {
    padding-top: calc(
      var(--twp-banner-h) +
      var(--twp-header-h) +
      24px
    ) !important;
  }

  .twp-site .twp-hero__divider {
    margin-bottom: 14px !important;
  }

  .twp-site .twp-hero__headline {
    margin-bottom: 12px !important;
  }

  .twp-site .twp-hero__sub {
    margin-bottom: 18px !important;
    line-height: 1.45 !important;
  }
}
/* =========================================================
   TELEFON-LINK – DEZENT HELLGRAU
   ========================================================= */

.twp-site .twp-header-phone .twp-phone-link {
  background: #f2f2f2 !important;
  background-color: #f2f2f2 !important;
  color: #f5822a !important;

  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* Telefonnummer + Telefon-Symbol orange */
.twp-site .twp-header-phone .twp-phone-link .twp-phone-text,
.twp-site .twp-header-phone .twp-phone-link .twp-phone-icon {
  color: #f5822a !important;
  text-decoration: none !important;
}

/* Hover / Tastaturfokus */
.twp-site .twp-header-phone .twp-phone-link:hover,
.twp-site .twp-header-phone .twp-phone-link:focus {
  background: #e8e8e8 !important;
  background-color: #e8e8e8 !important;
  color: #f5822a !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
/* =========================================================
   TOP-BANNER – DESKTOP / MOBILE TEXT
   ========================================================= */

/* Standard: langer Desktop-Text */
.twp-banner-text-desktop {
  display: inline;
}

.twp-banner-text-mobile {
  display: none;
}


/* Smartphone Hochformat */
@media (max-width: 768px) {

  .twp-banner-text-desktop {
    display: none;
  }

  .twp-banner-text-mobile {
    display: inline;
  }

}


/* Smartphone Querformat
   (auch 812 / 844 / 896 / 932 px Breite) */
@media (orientation: landscape) and (max-height: 500px) {

  .twp-banner-text-desktop {
    display: none;
  }

  .twp-banner-text-mobile {
    display: inline;
  }

}
/* =========================================================
   DESKTOP – EINHEITLICHES BREITES SEITENRASTER
   Banner / Header / Hero / Sections
   ========================================================= */

@media (min-width: 1100px) {

  /* ---------------------------------------------------------
     GEMEINSAME DESKTOPBREITE
     --------------------------------------------------------- */

  .twp-site .twp-header__inner,
  .twp-site .twp-section__inner,
  .twp-site .twp-hero__inner,
  .twp-site .twp-impressum-wrapper,
  .twp-site .twp-footer__inner {
    width: 100%;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;

    padding-left: 32px;
    padding-right: 32px;
  }


  /* ---------------------------------------------------------
     TOP-BANNER
     graue Fläche volle Browserbreite,
     Text aber auf demselben 1360px-Raster
     --------------------------------------------------------- */

  .twp-top-banner {
    width: 100%;
    left: 0;
    right: 0;

    padding-left: max(
      32px,
      calc((100vw - 1360px) / 2 + 32px)
    );

    padding-right: max(
      32px,
      calc((100vw - 1360px) / 2 + 32px)
    );
  }


  /* ---------------------------------------------------------
     HERO
     Text links / Foto rechts
     --------------------------------------------------------- */

  .twp-site .twp-hero__inner {
    position: relative;

    /* Platz für die rechte Bildhälfte */
    padding-right: 650px;

    min-height: 410px;
    padding-bottom: 48px;
  }


  /* HERO-TEXT */

  .twp-site .twp-hero__headline {
    max-width: 620px;
  }

  .twp-site .twp-hero__sub {
    max-width: 620px;
    margin-bottom: 0;
  }


  /* ---------------------------------------------------------
     BUTTON
     bündig mit der Unterkante des Fotos
     --------------------------------------------------------- */

  .twp-site .twp-hero .twp-btn.twp-btn--primary {
    position: absolute;

    left: 32px;
    bottom: 0;

    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;

    display: inline-block !important;
  }


  /* ---------------------------------------------------------
     PARTNERFOTO
     --------------------------------------------------------- */

  .twp-site .twp-hero__inner::after {
    content: "";
    display: block;

    position: absolute;

    top: 0;
    right: 32px;
    bottom: 0;

    width: 600px;

    background-image:
      url("https://twworx.com/wp-content/uploads/2026/08/wall_partner.jpg");

    background-repeat: no-repeat;
    background-size: cover;

    /* etwas mehr von der rechten Seite des Fotos */
    background-position: 68% 28%;
  }

}