/* ==========================================================================
   Tischlerei Honikel GmbH (Dortmund) - Design System (.th-*)
   Compatible with Elementor Free + ElementsKit Lite
   100% Self-Hosted Fonts (DSGVO-compliant) + #59191F Brand Identity
   ========================================================================== */

/* ---- Local DSGVO Font Faces ---- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D1, U+02D8-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-500-latin-ext.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D1, U+02D8-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-600-latin-ext.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D1, U+02D8-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-700-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D1, U+02D8-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Design Tokens ---- */
:root {
  --th-maroon: #59191F;
  --th-maroon-dark: #431116;
  --th-maroon-deep: #50161B;
  --th-charcoal: #211F20;
  --th-ink: #2C2A2B;
  --th-muted: #5C5856;
  --th-stone: #F6F4F1;
  --th-stone-2: #EFECE7;
  --th-oak: #B8966E;
  --th-white: #FFFFFF;
  --th-border: rgba(33, 31, 32, 0.11);
  --th-border-strong: rgba(89, 25, 31, 0.22);
  --th-shadow-sm: 0 6px 20px rgba(33, 31, 32, 0.06);
  --th-shadow-md: 0 18px 44px rgba(33, 31, 32, 0.11);
  --th-font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --th-font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --th-container: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--th-font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--th-ink);
  background-color: var(--th-white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.th-modal-open,
body.th-nav-open {
  overflow: hidden;
}

.th-section,
.th-hero,
.th-cta-band,
.th-header,
.th-footer {
  font-family: var(--th-font-body);
  box-sizing: border-box;
}

.th-section *,
.th-hero *,
.th-cta-band *,
.th-header *,
.th-footer * {
  box-sizing: border-box;
}

.th-section[id],
.th-hero[id] {
  scroll-margin-top: 84px;
}

.th-container {
  width: 100%;
  max-width: var(--th-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Normalize Elementor Flex Containers inside CSS Grids */
.th-trust-grid > .e-con,
.th-welcome-grid > .e-con,
.th-services-featured > .e-con,
.th-services-compact > .e-con,
.th-projects-grid > .e-con,
.th-tradition-grid > .e-con,
.th-steps-grid > .e-con,
.th-kontakt-grid > .e-con,
.th-footer__top > .e-con {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Focus accessibility */
.th-header a:focus-visible,
.th-header button:focus-visible,
.th-hero a:focus-visible,
.th-section a:focus-visible,
.th-section button:focus-visible,
.th-section input:focus-visible,
.th-section select:focus-visible,
.th-section textarea:focus-visible,
.th-cta-band a:focus-visible,
.th-footer a:focus-visible,
.th-modal button:focus-visible,
.th-modal a:focus-visible {
  outline: 2px solid var(--th-oak);
  outline-offset: 3px;
}

/* ==========================================================================
   1. Sticky Header (ElementsKit Template)
   ========================================================================== */
.ekit-template-content-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 900 !important;
  width: 100%;
}

.th-header {
  position: relative;
  z-index: 900;
  width: 100%;
  background-color: var(--th-maroon) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.th-header--scrolled {
  background-color: var(--th-maroon-deep) !important;
  box-shadow: 0 8px 28px rgba(17, 12, 13, 0.24);
}

.th-header__inner {
  min-height: 86px;
  padding: 0 24px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  transition: min-height 0.25s ease;
}

.th-header__inner > .elementor-element {
  width: auto !important;
  max-width: none !important;
}

.th-header__logo {
  flex: 0 0 auto !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.th-header__nav {
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: center !important;
}

.th-header--scrolled .th-header__inner {
  min-height: 72px;
}

.th-header__logo .elementor-widget-container {
  display: flex;
  align-items: center;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.th-header__logo a {
  display: inline-block;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  text-decoration: none !important;
}

.th-header__logo img {
  height: 54px !important;
  width: auto !important;
  max-width: 240px;
  display: block;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  transition: height 0.25s ease;
}

.th-header--scrolled .th-header__logo img {
  height: 46px !important;
}

/* Navigation */
.th-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.th-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
}

.th-nav-list li {
  margin: 0;
  padding: 0;
}

.th-nav-list a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-family: var(--th-font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.94) !important;
  transition: color 0.2s ease;
}

.th-nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--th-oak);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.th-nav-list a:hover,
.th-nav-list a.is-active {
  color: #FFFFFF !important;
}

.th-nav-list a:hover::after,
.th-nav-list a.is-active::after {
  transform: scaleX(1);
}

.th-header__actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  flex: 0 0 auto !important;
  width: auto !important;
  align-items: center !important;
  gap: 14px !important;
}

.th-header__actions > .elementor-element {
  width: auto !important;
  flex: 0 0 auto !important;
}

.th-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--th-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: #FFFFFF !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.th-phone-pill svg {
  color: #FFFFFF;
  flex-shrink: 0;
}

.th-phone-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #FFFFFF;
  color: #FFFFFF !important;
}

.th-header__cta .elementor-button {
  font-family: var(--th-font-display) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background-color: #FFFFFF !important;
  color: var(--th-maroon) !important;
  border: 1px solid #FFFFFF !important;
  border-radius: 0 !important;
  padding: 11px 22px !important;
  line-height: 1.1 !important;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.th-header__cta .elementor-button:hover {
  background-color: #3B0E12 !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
}

/* Mobile Toggle & Drawer */
.th-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  cursor: pointer;
}

.th-mobile-toggle .th-icon-close {
  display: none;
}

.th-mobile-toggle[aria-expanded="true"] .th-icon-burger {
  display: none;
}

.th-mobile-toggle[aria-expanded="true"] .th-icon-close {
  display: block;
}

.th-mobile-drawer {
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 890;
  background-color: var(--th-maroon-dark);
  padding: 28px 24px 40px;
  overflow-y: auto;
}

.th-mobile-drawer[hidden] {
  display: none;
}

.th-mobile-drawer__inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.th-nav-mobile .th-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.th-nav-mobile .th-nav-list li {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.th-nav-mobile .th-nav-list a {
  display: block;
  width: 100%;
  padding: 14px 0;
  font-size: 22px;
}

.th-mobile-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.th-mobile-phone {
  font-family: var(--th-font-display);
  font-size: 20px;
  color: #FFFFFF !important;
  text-decoration: none;
}

.th-mobile-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 22px;
  background-color: #FFFFFF;
  color: var(--th-maroon) !important;
  font-family: var(--th-font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ==========================================================================
   Shared Typography & Buttons
   ========================================================================== */
.th-eyebrow .elementor-heading-title,
.th-eyebrow p {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--th-maroon) !important;
  line-height: 1.3 !important;
}

.th-eyebrow--light .elementor-heading-title,
.th-eyebrow--light p {
  color: var(--th-oak) !important;
}

.th-h2 .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: clamp(28px, 3.2vw, 40px) !important;
  font-weight: 700 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.02em !important;
  color: var(--th-charcoal) !important;
}

.th-h2--light .elementor-heading-title {
  color: #FFFFFF !important;
}

.th-lead p {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  color: var(--th-muted) !important;
}

.th-lead--light p {
  color: rgba(255, 255, 255, 0.86) !important;
}

.th-section {
  padding: 88px 24px !important;
  position: relative;
}

.th-section--stone {
  background-color: var(--th-stone) !important;
}

.th-section--white {
  background-color: var(--th-white) !important;
}

.th-section-head {
  max-width: 720px;
  margin-bottom: 44px !important;
  gap: 12px !important;
}

.th-btn-primary .elementor-button,
.th-btn--primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-family: var(--th-font-display) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background-color: var(--th-maroon) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--th-maroon) !important;
  border-radius: 0 !important;
  padding: 15px 28px !important;
  line-height: 1.1 !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease !important;
}

.th-btn-primary .elementor-button:hover,
.th-btn--primary:hover {
  background-color: var(--th-maroon-dark) !important;
  border-color: var(--th-maroon-dark) !important;
  color: #FFFFFF !important;
}

.th-btn-outline-light .elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--th-font-display) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background-color: rgba(33, 31, 32, 0.42) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 0 !important;
  padding: 15px 28px !important;
  line-height: 1.1 !important;
  transition: background-color 0.22s ease, color 0.22s ease !important;
}

.th-btn-outline-light .elementor-button:hover {
  background-color: #FFFFFF !important;
  color: var(--th-charcoal) !important;
}

.th-btn-light .elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--th-font-display) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background-color: #FFFFFF !important;
  color: var(--th-maroon) !important;
  border: 1px solid #FFFFFF !important;
  border-radius: 0 !important;
  padding: 15px 30px !important;
  line-height: 1.1 !important;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease !important;
}

.th-btn-light .elementor-button:hover {
  background-color: #3B0E12 !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   2. Hero Section (#start) & Trust Strip
   ========================================================================== */
.th-hero {
  position: relative;
  min-height: 600px;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
}

.th-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(24, 17, 18, 0.88) 0%,
    rgba(45, 16, 20, 0.72) 48%,
    rgba(24, 17, 18, 0.34) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.th-hero-slider-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  z-index: 0;
  pointer-events: none;
}

.th-hero-slider-wrap .elementor-widget-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.th-hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.th-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 7s ease-out;
  will-change: opacity, transform;
}

.th-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.th-hero__inner {
  position: relative;
  z-index: 2;
  padding: 88px 24px 64px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 32px !important;
}

.th-hero-dots-wrap {
  width: auto !important;
  flex: 0 0 auto !important;
}

.th-hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.th-hero-dot {
  width: 34px;
  height: 4px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.th-hero-dot:hover {
  background: rgba(255, 255, 255, 0.72);
}

.th-hero-dot.is-active {
  width: 52px;
  background: #FFFFFF;
}

@keyframes thHeroFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.th-hero__badge {
  animation: thHeroFadeUp 0.55s ease-out both;
}

.th-hero__h1 {
  animation: thHeroFadeUp 0.6s 0.08s ease-out both;
}

.th-hero__sub {
  animation: thHeroFadeUp 0.6s 0.16s ease-out both;
}

.th-hero__ctas {
  animation: thHeroFadeUp 0.6s 0.24s ease-out both;
}

.th-hero__content {
  max-width: 700px !important;
  gap: 18px !important;
}

.th-hero__badge .elementor-heading-title {
  display: inline-block;
  padding: 6px 14px;
  border-left: 3px solid var(--th-oak);
  background: rgba(89, 25, 31, 0.72);
  font-family: var(--th-font-display) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  line-height: 1.3 !important;
}

.th-hero__h1 .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: clamp(38px, 4.6vw, 60px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.025em !important;
}

.th-hero__sub p {
  margin: 0 !important;
  font-size: 19px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.90) !important;
  max-width: 58ch;
}

.th-hero__ctas {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  margin-top: 8px !important;
}

/* Trust Strip inside Hero bottom */
.th-trust-bar {
  position: relative;
  z-index: 2;
  width: 100% !important;
  max-width: none !important;
  background: rgba(33, 31, 32, 0.92);
  backdrop-filter: blur(6px);
  border-top: 2px solid var(--th-maroon);
  margin: 0 !important;
  padding: 22px 24px !important;
}

.th-trust-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.th-trust-item {
  border-left: 2px solid rgba(184, 150, 110, 0.45);
  padding-left: 16px !important;
  gap: 4px !important;
}

.th-trust-item__val .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  color: #FFFFFF !important;
  line-height: 1.2 !important;
}

.th-trust-item__lbl p {
  margin: 0 !important;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.74) !important;
  line-height: 1.4 !important;
}

/* ==========================================================================
   3. Willkommen & Manifesto
   ========================================================================== */
.th-welcome-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) !important;
  gap: 56px !important;
  align-items: center !important;
}

.th-welcome-media {
  position: relative;
}

.th-welcome-media img {
  width: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  box-shadow: var(--th-shadow-md);
}

.th-welcome-caption {
  margin-top: 12px !important;
}

.th-welcome-caption p {
  margin: 0 !important;
  font-family: var(--th-font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--th-muted);
}

.th-welcome-copy {
  gap: 18px !important;
}

.th-quote-box {
  margin: 6px 0 !important;
  padding: 16px 20px !important;
  border-left: 4px solid var(--th-maroon) !important;
  background-color: var(--th-white) !important;
  box-shadow: var(--th-shadow-sm);
}

.th-quote-box p {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.4 !important;
  color: var(--th-maroon) !important;
}

.th-body-copy p {
  margin: 0 0 12px 0 !important;
  color: var(--th-ink);
  line-height: 1.65;
}

.th-body-copy p:last-child {
  margin-bottom: 0 !important;
}

/* ==========================================================================
   4. Leistungen (#leistungen) - 4 Featured + 6 Compact Cards
   ========================================================================== */
.th-services-featured {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
  margin-bottom: 36px !important;
}

.th-service-card {
  background: var(--th-white);
  border: 1px solid var(--th-border);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.th-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--th-shadow-md);
  border-color: var(--th-border-strong);
}

.th-service-card__img {
  overflow: hidden;
}

.th-service-card__img img {
  width: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.th-service-card:hover .th-service-card__img img {
  transform: scale(1.04);
}

.th-service-card__body {
  padding: 26px 28px 28px !important;
  gap: 8px !important;
}

.th-service-card__tag .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--th-maroon) !important;
}

.th-service-card__title .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.22 !important;
  color: var(--th-charcoal) !important;
}

.th-service-card__desc p {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: var(--th-muted) !important;
}

.th-services-subhead {
  margin: 8px 0 22px !important;
  padding-top: 28px !important;
  border-top: 1px solid var(--th-border);
}

.th-services-subhead .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  color: var(--th-charcoal) !important;
}

.th-services-compact {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.th-mini-card {
  padding: 24px 24px 26px !important;
  background-color: var(--th-stone) !important;
  border-top: 3px solid var(--th-maroon);
  gap: 8px !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.th-mini-card:hover {
  background-color: var(--th-stone-2) !important;
  transform: translateY(-2px);
}

.th-mini-card__num .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  color: var(--th-maroon) !important;
}

.th-mini-card__title .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.25 !important;
  color: var(--th-charcoal) !important;
}

.th-mini-card__desc p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: var(--th-muted) !important;
}

/* ==========================================================================
   5. Projekte & Referenzen (#projekte)
   ========================================================================== */
.th-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px !important;
}

.th-filter-btn {
  padding: 10px 20px;
  font-family: var(--th-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-color: var(--th-white);
  color: var(--th-ink);
  border: 1px solid var(--th-border);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.th-filter-btn:hover {
  border-color: var(--th-maroon);
  color: var(--th-maroon);
}

.th-filter-btn.is-active {
  background-color: var(--th-maroon);
  border-color: var(--th-maroon);
  color: #FFFFFF;
}

.th-projects-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.th-project-card {
  background: var(--th-white);
  border: 1px solid var(--th-border);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.th-project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--th-shadow-md);
}

.th-project-card.is-filtered-out {
  display: none !important;
}

.th-project-card__img img {
  width: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.th-project-card__body {
  padding: 20px 22px 22px !important;
  gap: 6px !important;
}

.th-project-card__cat .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--th-maroon) !important;
}

.th-project-card__title .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.25 !important;
  color: var(--th-charcoal) !important;
}

.th-project-card__desc p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: var(--th-muted) !important;
}

.th-ref-strip {
  margin-top: 38px !important;
  padding: 24px 28px !important;
  background-color: var(--th-charcoal) !important;
  color: #FFFFFF;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.th-ref-strip__label .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--th-oak) !important;
}

.th-ref-strip__list p {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 16.5px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   6. Tradition & Über uns (#ueber-uns)
   ========================================================================== */
.th-tradition-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  gap: 56px !important;
  align-items: start !important;
}

.th-timeline {
  margin-top: 12px !important;
  border-left: 2px solid var(--th-maroon);
  padding-left: 24px !important;
  gap: 22px !important;
}

.th-milestone {
  position: relative;
  gap: 4px !important;
}

.th-milestone::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 7px;
  width: 12px;
  height: 12px;
  background-color: var(--th-maroon);
  border: 2px solid var(--th-white);
}

.th-milestone__year .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--th-maroon) !important;
}

.th-milestone__text p {
  margin: 0 !important;
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  color: var(--th-muted) !important;
}

.th-tradition-media img {
  width: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  box-shadow: var(--th-shadow-md);
}

.th-tradition-fact {
  margin-top: -28px !important;
  margin-left: 28px !important;
  position: relative;
  z-index: 2;
  background-color: var(--th-maroon) !important;
  color: #FFFFFF;
  padding: 22px 24px !important;
  max-width: 420px;
}

.th-tradition-fact p {
  margin: 0 !important;
  font-size: 15.5px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

/* ==========================================================================
   7. Ablauf (#ablauf)
   ========================================================================== */
.th-steps-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.th-step-card {
  background-color: var(--th-white) !important;
  border: 1px solid var(--th-border);
  padding: 28px 24px !important;
  gap: 10px !important;
}

.th-step-card__num .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 38px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  color: var(--th-maroon) !important;
}

.th-step-card__title .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  color: var(--th-charcoal) !important;
}

.th-step-card__desc p {
  margin: 0 !important;
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  color: var(--th-muted) !important;
}

/* ==========================================================================
   8. Maroon CTA Band
   ========================================================================== */
.th-cta-band {
  background-color: var(--th-maroon) !important;
  padding: 64px 24px !important;
}

.th-cta-band__inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px !important;
}

.th-cta-band__copy {
  max-width: 720px !important;
  gap: 10px !important;
}

.th-cta-band__actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  flex-shrink: 0;
}

/* ==========================================================================
   9. Kontakt & Anfahrt (#kontakt) + AJAX Form
   ========================================================================== */
.th-kontakt-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
  gap: 40px !important;
  align-items: start !important;
}

.th-kontakt-info {
  background-color: var(--th-charcoal) !important;
  color: #FFFFFF;
  padding: 36px 32px !important;
  gap: 22px !important;
}

.th-kontakt-info .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
}

.th-kontakt-details p {
  margin: 0 0 14px 0 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.86) !important;
}

.th-kontakt-details strong {
  color: var(--th-oak);
  font-family: var(--th-font-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.th-kontakt-details a {
  color: #FFFFFF !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.th-kontakt-details a:hover {
  color: var(--th-oak) !important;
}

.th-map-card {
  margin-top: 6px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.th-map-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.th-map-card__top svg {
  flex-shrink: 0;
  color: var(--th-oak);
  margin-top: 2px;
}

.th-map-card__title {
  font-family: var(--th-font-display);
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 4px 0;
}

.th-map-card__note {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
}

.th-map-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: var(--th-maroon);
  color: #FFFFFF !important;
  font-family: var(--th-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.th-map-card__link:hover {
  background-color: var(--th-oak);
  color: var(--th-charcoal) !important;
}

/* Form Box */
.th-kontakt-form-card {
  background-color: var(--th-white) !important;
  border: 1px solid var(--th-border);
  box-shadow: var(--th-shadow-md);
  padding: 36px 34px !important;
}

.th-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.th-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.th-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.th-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.th-field label {
  font-family: var(--th-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--th-charcoal);
}

.th-req {
  color: var(--th-maroon);
}

.th-field input[type="text"],
.th-field input[type="email"],
.th-field input[type="tel"],
.th-field select,
.th-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--th-font-body);
  font-size: 16px;
  color: var(--th-charcoal);
  background-color: #FAF9F7;
  border: 1px solid rgba(33, 31, 32, 0.25);
  border-radius: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.th-field input:focus,
.th-field select:focus,
.th-field textarea:focus {
  border-color: var(--th-maroon);
  background-color: #FFFFFF;
}

.th-checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--th-font-body) !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.5;
  color: var(--th-muted) !important;
  cursor: pointer;
}

.th-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--th-maroon);
  flex-shrink: 0;
}

.th-checkbox-label a {
  color: var(--th-maroon);
  font-weight: 600;
  text-decoration: underline;
}

.th-form-status {
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  border-left: 4px solid transparent;
}

.th-form-status--success {
  background-color: #EDF7EE;
  border-color: #2E7D32;
  color: #1B4D20;
}

.th-form-status--error {
  background-color: #FDF0F1;
  border-color: var(--th-maroon);
  color: var(--th-maroon-dark);
}

.th-form-status--pending {
  background-color: var(--th-stone);
  border-color: var(--th-oak);
  color: var(--th-ink);
}

.th-form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.th-form-note {
  font-size: 13.5px;
  color: var(--th-muted);
}

/* ==========================================================================
   10. Footer (#211F20)
   ========================================================================== */
.th-footer {
  background-color: var(--th-charcoal) !important;
  border-top: 4px solid var(--th-maroon);
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 24px 32px !important;
}

.th-footer__top {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)) !important;
  gap: 36px !important;
  padding-bottom: 40px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.th-footer__brand {
  align-items: flex-start !important;
  gap: 16px !important;
}

.th-footer__logo {
  width: auto !important;
  text-align: left !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.th-footer__logo .elementor-widget-container {
  display: flex;
  justify-content: flex-start;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.th-footer__logo a {
  display: inline-block;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.th-footer__logo img {
  height: 52px !important;
  width: auto !important;
  max-width: 230px;
  display: block;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.th-footer__claim {
  max-width: 310px;
}

.th-footer__claim p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.76) !important;
}

.th-footer__col {
  gap: 10px !important;
}

.th-footer__col .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--th-font-display) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--th-oak) !important;
}

.th-footer__col p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.th-footer__col a {
  color: #FFFFFF !important;
  text-decoration: none;
}

.th-footer__col a:hover {
  color: var(--th-oak) !important;
  text-decoration: underline;
}

.th-footer__bottom {
  padding-top: 24px !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.th-footer__copy p,
.th-footer__links p {
  margin: 0 !important;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.68) !important;
}

.th-footer__links a {
  color: rgba(255, 255, 255, 0.84) !important;
  text-decoration: none;
  margin-left: 18px;
}

.th-footer__links a:first-child {
  margin-left: 0;
}

.th-footer__links a:hover {
  color: var(--th-oak) !important;
  text-decoration: underline;
}

/* ==========================================================================
   11. Accessible Legal Modals (Impressum & Datenschutz)
   ========================================================================== */
.th-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.th-modal[hidden] {
  display: none;
}

.th-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 15, 16, 0.76);
}

.th-modal__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  max-height: 86vh;
  background: #FFFFFF;
  color: var(--th-ink);
  border-top: 4px solid var(--th-maroon);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.th-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--th-border);
}

.th-modal__header h2 {
  margin: 0;
  font-family: var(--th-font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--th-charcoal);
}

.th-modal__close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--th-border);
  background: var(--th-stone);
  color: var(--th-charcoal);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.th-modal__close:hover {
  background: var(--th-maroon);
  color: #FFFFFF;
}

.th-modal__body {
  padding: 24px 26px 28px;
  overflow-y: auto;
  font-size: 15.5px;
  line-height: 1.65;
}

.th-modal__body h3 {
  margin: 20px 0 6px;
  font-family: var(--th-font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--th-maroon);
}

.th-modal__body h3:first-child {
  margin-top: 0;
}

.th-modal__body p {
  margin: 0 0 10px;
}

.th-modal__body a {
  color: var(--th-maroon);
}

/* ==========================================================================
   12. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .th-nav-desktop,
  .th-header__actions {
    display: none !important;
  }

  .th-header__nav {
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
  }

  .th-mobile-toggle {
    display: inline-flex;
  }

  .th-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .th-welcome-grid,
  .th-tradition-grid,
  .th-kontakt-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .th-services-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .th-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .th-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .th-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .th-cta-band__inner {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

@media (max-width: 768px) {
  .th-section {
    padding: 64px 20px !important;
  }

  .th-hero {
    min-height: 520px;
    padding: 0 !important;
  }

  .th-hero__inner {
    padding: 64px 20px 48px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 22px !important;
  }

  .th-header__logo img {
    height: 44px !important;
  }

  .th-trust-bar {
    margin: 0 !important;
    padding: 20px !important;
  }

  .th-services-featured,
  .th-services-compact,
  .th-projects-grid,
  .th-steps-grid,
  .th-form-grid,
  .th-footer__top {
    grid-template-columns: 1fr !important;
  }

  .th-tradition-fact {
    margin-top: 16px !important;
    margin-left: 0 !important;
    max-width: none;
  }

  .th-kontakt-info,
  .th-kontakt-form-card {
    padding: 28px 22px !important;
  }

  .th-footer__bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .th-back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   Floating Back-to-Top Button
   ========================================================================== */
.th-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 860;
  width: 48px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--th-maroon);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  box-shadow: 0 10px 26px rgba(33, 31, 32, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.th-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.th-back-to-top:hover {
  background-color: var(--th-charcoal);
  border-color: var(--th-oak);
  transform: translateY(-2px);
}

.th-back-to-top:focus-visible {
  outline: 2px solid var(--th-oak);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .th-trust-grid {
    grid-template-columns: 1fr !important;
  }

  .th-hero__ctas .elementor-button {
    width: 100% !important;
  }
}

/* ==========================================================================
   Subtle Scroll Reveal
   ========================================================================== */
html.th-anim-ready .th-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

html.th-anim-ready .th-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.th-anim-ready .th-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
