/*
Theme Name: DORAtech
Theme URI: https://peakvio.ch/
Description: Astra child theme for DORAtech GmbH.
Author: DORAtech
Template: astra
Version: 1.0.0
Text Domain: doratech
*/

:root {
  --doratech-navy: #07151d;
  --doratech-navy-soft: #102631;
  --doratech-cyan: oklch(0.61 0.145 214);
  --doratech-cyan-dark: oklch(0.54 0.145 214);
  --doratech-light: #eef7f9;
  --doratech-panel: #f6fbfc;
  --doratech-white: #ffffff;
  --doratech-text: #16252d;
  --doratech-muted: #647782;
  --doratech-border: #dbe9ed;
  --doratech-container: 1220px;
}

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

body {
  color: var(--doratech-text);
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
}

body.home {
  background: var(--doratech-navy);
}

body.home,
body.home #page,
body.home .site-content,
body.home .content-area,
body.home .site-main,
body.home article,
body.home .entry-content,
body:has(.dt-projects-page),
body:has(.dt-projects-page) #page,
body:has(.dt-projects-page) .site-content,
body:has(.dt-projects-page) .content-area,
body:has(.dt-projects-page) .site-main,
body:has(.dt-projects-page) article,
body:has(.dt-projects-page) .entry-content {
  margin: 0;
  padding: 0;
}

body.home .site-content,
body.home #content,
body.home .ast-container,
body.home .content-area,
body.home #primary,
body.home .site-main,
body.home .hentry,
body.home .entry-content,
body.home .wp-block-post-content,
body:has(.dt-projects-page) .site-content,
body:has(.dt-projects-page) #content,
body:has(.dt-projects-page) .site-content .ast-container,
body:has(.dt-projects-page) .content-area,
body:has(.dt-projects-page) #primary,
body:has(.dt-projects-page) .site-main,
body:has(.dt-projects-page) .hentry,
body:has(.dt-projects-page) .entry-content,
body:has(.dt-projects-page) .wp-block-post-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.home.ast-separate-container #primary,
body.home.ast-separate-container .site-main,
body.home.ast-separate-container .ast-article-single,
body.home.ast-separate-container .ast-article-post,
body.home.ast-page-builder-template #primary,
body.home.ast-page-builder-template .site-main,
body.home.ast-page-builder-template .ast-article-single {
  margin: 0 !important;
  padding: 0 !important;
}

body.home #primary,
body.home #main,
body.home .site-main,
body.home .ast-article-single,
body.home .type-page,
body.home .entry-content.clear,
body.home .entry-content[ast-blocks-layout] {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.home .site-content,
body:has(.dt-projects-page) .site-content {
  padding-top: 0 !important;
}

body.home .site-content .ast-container,
body:has(.dt-projects-page) .site-content .ast-container {
  display: block;
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

body.home .site-content > .ast-container,
body.home .entry-content > .wp-block-group,
body.home .entry-content > .dt-page,
body:has(.dt-projects-page) .site-content > .ast-container,
body:has(.dt-projects-page) .entry-content > .wp-block-group,
body:has(.dt-projects-page) .entry-content > .dt-page {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

body.home .entry-header,
body.home .post-thumb-img-content,
body.home .ast-single-post-order,
body:has(.dt-projects-page) .entry-header,
body:has(.dt-projects-page) .post-thumb-img-content,
body:has(.dt-projects-page) .ast-single-post-order {
  display: none;
}

body.home .entry-content,
body:has(.dt-projects-page) .entry-content {
  max-width: none;
}

body.home .entry-content > *,
body:has(.dt-projects-page) .entry-content > * {
  margin-block-start: 0 !important;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

body.home .entry-content > .wp-block-group:first-child,
body.home .entry-content > .dt-page:first-child,
body.home .entry-content .dt-page > .dt-hero:first-child {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

body:has(.dt-page) .site-content,
body:has(.dt-page) #content,
body:has(.dt-page) .content-area,
body:has(.dt-page) #primary,
body:has(.dt-page) .site-main,
body:has(.dt-page) .hentry,
body:has(.dt-page) .entry-content,
body:has(.dt-page) .wp-block-post-content {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

body:has(.dt-page) .site-content .ast-container {
  display: block;
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

body:has(.dt-page) .entry-header,
body:has(.dt-page) .post-thumb-img-content,
body:has(.dt-page) .ast-single-post-order {
  display: none !important;
}

body:has(.dt-page) .entry-content {
  max-width: none !important;
}

body:has(.dt-page) .entry-content > * {
  margin-block-end: 0 !important;
  margin-block-start: 0 !important;
  max-width: none !important;
}

body:has(.dt-page) .entry-content > .dt-page:first-child,
body:has(.dt-page) .entry-content > .wp-block-group:first-child,
body:has(.dt-page) .dt-page > :first-child {
  margin-top: 0 !important;
}

body:has(.dt-page) .site-content,
body:has(.dt-page) #content,
body:has(.dt-page) #primary,
body:has(.dt-page) #main,
body:has(.dt-page) .site-main,
body:has(.dt-page) article,
body:has(.dt-page) .entry-content,
body:has(.dt-page) .entry-content.clear,
body:has(.dt-page) .entry-content[ast-blocks-layout],
body:has(.dt-page) .wp-block-post-content {
  border-top: 0 !important;
  margin-block-start: 0 !important;
  margin-top: 0 !important;
  padding-block-start: 0 !important;
  padding-top: 0 !important;
}

body:has(.dt-page) .entry-content::before,
body:has(.dt-page) .site-content::before {
  content: none !important;
  display: none !important;
}

body:has(.dt-page) .entry-content .dt-page {
  left: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: 100vw !important;
  overflow: hidden;
  position: relative;
  right: 50%;
  width: 100vw !important;
}

body.home .dt-page > .wp-block-columns,
body.home .dt-page > .wp-block-group,
body.home .dt-page > section {
  margin-block-start: 0 !important;
}

body.home .entry-content .dt-page,
body.home .entry-content .dt-hero,
body.home .entry-content .dt-section,
body.home .entry-content .dt-split {
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  position: relative;
  right: 50%;
  width: 100vw;
}

body.home .entry-content .dt-page {
  overflow: hidden;
  padding-top: 0 !important;
}

body.home .entry-content .dt-page > :first-child {
  margin-top: 0 !important;
}

body.home.ast-separate-container .ast-article-single,
body.home.ast-page-builder-template .site-content {
  background: transparent;
  padding: 0;
}

a,
a:hover,
a:focus,
a:visited {
  color: var(--doratech-cyan-dark);
  text-decoration: none;
}

.entry-content a,
.entry-content a:hover,
.entry-content a:focus,
.wp-block-button__link,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.dt-button,
.dt-button:hover,
.dt-button:focus,
.dt-link,
.dt-link:hover,
.dt-link:focus,
.main-header-menu .menu-link,
.main-header-menu .menu-link:hover,
.main-header-menu .menu-link:focus {
  text-decoration: none !important;
}

.dt-link:hover {
  color: var(--doratech-cyan);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(5, 174, 202, .35);
  outline-offset: 3px;
}

.site-header,
.main-header-bar {
  background: var(--doratech-white);
  min-height: 86px;
  box-shadow: 0 1px 0 rgba(7, 21, 29, .06);
}

.ast-primary-header-bar,
.main-header-bar {
  padding-bottom: 0;
  padding-top: 0;
}

.ast-primary-header-bar .ast-builder-grid-row,
.main-header-bar .ast-container {
  min-height: 86px;
}

.site-header .ast-container,
.main-header-bar .ast-container,
.ast-primary-header-bar .ast-container {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--doratech-container) !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
}

.ast-builder-menu-1 {
  justify-self: center;
}

.site-title a,
.site-title a:focus,
.site-title a:hover {
  color: var(--doratech-navy);
  font-weight: 800;
  letter-spacing: 0;
}

.site-description {
  display: none;
}

.site-footer,
.ast-footer-copyright,
.ast-builder-footer-grid-columns,
.footer-adv,
.footer-sml-layout-1,
.ast-small-footer,
body:has(.dt-page) .site-below-footer-wrap,
body:has(.dt-page) .site-primary-footer-wrap,
body:has(.dt-page) .site-above-footer-wrap,
body:has(.dt-page) .ast-scroll-to-top-right {
  display: none !important;
}

body.home .site-content,
body.home .dt-page,
body.home .dt-inquiry-section,
body:has(.dt-page) .site-content,
body:has(.dt-page) .dt-page,
body:has(.dt-page) .dt-project-footer,
body:has(.dt-page) .dt-inquiry-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.ast-site-identity {
  padding: 0;
}

.site-logo-img img,
.custom-logo-link img,
img.custom-logo {
  display: block;
  height: auto;
  max-height: 58px;
  width: auto;
}

.main-header-menu .menu-link {
  color: #53636b;
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 0 16px;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
  color: var(--doratech-navy);
}

.main-header-menu .dt-menu-cta {
  margin-left: clamp(28px, 8vw, 130px);
}

.main-header-menu .dt-menu-cta > .menu-link {
  align-items: center;
  background: var(--doratech-cyan);
  box-shadow: 0 7px 14px rgba(5, 174, 202, .18);
  color: #fff !important;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 12px;
  height: 54px;
  padding: 0 26px;
}

.main-header-menu .dt-menu-cta > .menu-link::after {
  content: none !important;
}

.ast-custom-button,
.wp-block-button .wp-block-button__link,
.dt-button {
  background: var(--doratech-cyan);
  border: 1px solid var(--doratech-cyan);
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  padding: 15px 20px;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .ast-mobile-popup-content .main-header-menu .dt-menu-cta,
  .ast-mobile-header-content .main-header-menu .dt-menu-cta,
  .ast-off-canvas-active .main-header-menu .dt-menu-cta {
    margin: 12px 20px 18px !important;
  }

  .ast-mobile-popup-content .main-header-menu .dt-menu-cta > .menu-link,
  .ast-mobile-header-content .main-header-menu .dt-menu-cta > .menu-link,
  .ast-off-canvas-active .main-header-menu .dt-menu-cta > .menu-link {
    align-items: center;
    background: var(--doratech-cyan) !important;
    border: 1px solid var(--doratech-cyan) !important;
    box-shadow: 0 8px 18px rgba(5, 174, 202, .18);
    color: #fff !important;
    display: flex !important;
    font-size: 15px;
    font-weight: 800;
    height: 52px;
    justify-content: center;
    line-height: 1;
    padding: 0 20px !important;
    text-align: center;
    width: 100%;
  }

  .ast-mobile-popup-content .main-header-menu .dt-menu-cta > .menu-link::after,
  .ast-mobile-header-content .main-header-menu .dt-menu-cta > .menu-link::after,
  .ast-off-canvas-active .main-header-menu .dt-menu-cta > .menu-link::after {
    content: none !important;
  }
}

.wp-block-button.is-style-outline .wp-block-button__link,
.dt-button--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.72);
  color: #fff;
}

.dt-wrap {
  margin-inline: auto;
  max-width: var(--doratech-container);
  padding-inline: 28px;
}

.dt-eyebrow {
  color: var(--doratech-cyan-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.dt-section {
  padding: 108px 0;
  width: 100%;
}

.dt-section--light {
  background: var(--doratech-light);
}

.dt-section--dark {
  background: var(--doratech-navy);
  color: var(--doratech-white);
}

.dt-section h1,
.dt-section h2,
.dt-section h3 {
  color: inherit;
  font-weight: 850;
  letter-spacing: 0;
  line-height: .98;
}

.dt-section h2 {
  font-size: clamp(34px, 4.2vw, 54px);
  margin-bottom: 24px;
  max-width: 760px;
}

.dt-section p {
  color: var(--doratech-muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 700px;
}

.dt-services-section {
  padding-top: 96px;
}

.dt-services-section .dt-wrap > p:not(.dt-eyebrow) {
  margin-bottom: 0;
}

.dt-section--dark p {
  color: #a9bac2;
}

.dt-hero {
  background:
    linear-gradient(90deg, rgba(7,21,29,.96) 0%, rgba(7,21,29,.88) 40%, rgba(7,21,29,.46) 66%, rgba(7,21,29,.05) 100%),
    var(--dt-hero-image, none);
  background-position: center;
  background-size: cover;
  color: #fff;
  min-height: clamp(560px, calc(100vh - 118px), 760px);
  padding: 38px 0 34px;
}

body.home .dt-hero {
  margin-top: 0 !important;
}

body.home .dt-page .dt-hero:first-child {
  transform: translateY(0);
}

.dt-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(7,21,29,.96) 0%, rgba(7,21,29,.88) 40%, rgba(7,21,29,.46) 66%, rgba(7,21,29,.05) 100%) !important;
  opacity: 1 !important;
}

.dt-hero .wp-block-cover__inner-container {
  width: 100%;
}

.dt-hero__content {
  margin-left: 0;
  margin-right: auto;
  max-width: 760px;
}

.dt-hero .dt-wrap {
  max-width: none;
  padding-left: clamp(28px, 8.8vw, 178px);
  padding-right: 28px;
}

.dt-hero h1 {
  color: #fff;
  font-size: clamp(38px, 4.6vw, 78px);
  line-height: 1.03;
  margin: 26px 0 22px;
  max-width: 760px;
}

.dt-hero .dt-eyebrow {
  color: var(--doratech-cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  margin-bottom: 22px;
}

.dt-hero p {
  color: #d5e1e5;
  font-size: clamp(15px, 1vw, 19px);
  line-height: 1.55;
  max-width: 680px;
}

.dt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 34px;
}

.dt-actions .dt-button {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  min-height: 54px;
  padding: 0 30px;
}

.dt-actions .wp-block-button__link,
.dt-button .wp-block-button__link {
  align-items: center;
  background: var(--doratech-cyan);
  border: 1px solid var(--doratech-cyan);
  border-radius: 3px;
  color: #fff;
  display: inline-flex;
  font-size: inherit;
  font-weight: 800;
  min-height: inherit;
  padding: 0 30px;
}

.dt-actions .dt-button--ghost {
  background: #fff;
  border-color: #fff;
  color: var(--doratech-text);
}

.dt-actions .dt-button--ghost .wp-block-button__link,
.dt-button--ghost .wp-block-button__link {
  background: #fff;
  border-color: #fff;
  color: var(--doratech-text);
}

.dt-meta {
  border-top: 1px solid rgba(255,255,255,.25);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 6vw, 110px);
  margin-top: 0;
  max-width: 760px;
  padding-top: 20px;
}

.dt-meta span,
.dt-meta p {
  color: #bdd0d7;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.dt-meta span::before,
.dt-meta p::before {
  background: var(--doratech-cyan);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 7px;
  margin-right: 9px;
  width: 7px;
}

.dt-hero__tagline {
  color: var(--doratech-cyan) !important;
  font-size: 15px !important;
  font-weight: 900;
  letter-spacing: .02em;
  margin-top: 26px;
  text-transform: uppercase;
}

.dt-benefits,
.dt-process {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 62px;
}

.dt-benefit {
  border-left: 1px solid var(--doratech-border);
  padding: 10px 24px 4px;
}

.dt-icon {
  color: var(--doratech-cyan);
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 24px;
}

.dt-benefit h3,
.dt-process h3 {
  font-size: 20px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.dt-benefit p,
.dt-process p,
.dt-card p {
  font-size: 15px;
  line-height: 1.55;
}

.dt-services {
  align-items: stretch;
  display: grid !important;
  gap: 26px;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 48px;
}

.dt-services.wp-block-columns {
  flex-wrap: initial !important;
}

.dt-services > .wp-block-column {
  flex-basis: auto !important;
  flex-grow: 0 !important;
}

.dt-card {
  background: #fff;
  border: 1px solid rgba(7, 21, 29, .04);
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  margin: 0 !important;
  min-width: 0;
  width: auto !important;
}

.dt-card--large {
  grid-column: span 3;
}

.dt-card img {
  aspect-ratio: 16 / 8.8;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.dt-card figure {
  flex: 0 0 auto;
  margin: 0;
}

.dt-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px 32px 34px;
}

.dt-card small {
  color: var(--doratech-cyan-dark);
  display: block;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.dt-card__body > p:first-child {
  margin: 0;
}

.dt-card h3 {
  color: var(--doratech-text);
  font-size: 22px;
  line-height: 1.18;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.dt-link {
  color: var(--doratech-cyan-dark);
  font-size: 14px;
  font-weight: 800;
  margin-top: auto;
  text-decoration: none;
}

.dt-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.4fr 1fr 1fr;
  margin-top: 46px;
}

.wp-block-gallery.dt-gallery {
  align-items: stretch;
}

.dt-gallery figure {
  background: var(--doratech-navy);
  margin: 0;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.dt-gallery figure:first-child {
  grid-row: span 2;
}

.dt-gallery img {
  height: 100%;
  object-fit: cover;
  opacity: .92;
  width: 100%;
}

.dt-gallery figcaption,
.dt-gallery .wp-element-caption {
  background: rgba(7, 21, 29, .88) !important;
  bottom: 0 !important;
  color: #fff !important;
  display: block !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  left: 0 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  max-height: none !important;
  padding: 20px 22px !important;
  position: absolute !important;
  right: 0 !important;
  text-align: left !important;
}

@media (min-width: 921px) {
  .dt-gallery {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }

  .dt-gallery figure {
    min-height: 190px;
  }
}

.dt-process {
  gap: 0;
}

.dt-process__step {
  border-left: 1px solid rgba(255,255,255,.12);
  padding: 0 32px;
}

.dt-number {
  color: var(--doratech-cyan);
  display: block;
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 24px;
}

.dt-split {
  align-items: stretch !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0 !important;
  height: 640px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  min-height: 640px;
  overflow: hidden;
}

.dt-process-section {
  padding-bottom: 56px !important;
}

.dt-process-section + .dt-split,
.dt-reliability-section {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

.dt-reliability-section.wp-block-columns {
  align-items: stretch !important;
  gap: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  height: 640px;
  min-height: 640px;
  overflow: hidden;
}

.dt-reliability-section > .wp-block-column {
  position: relative;
  align-self: stretch !important;
  display: flex;
  flex-basis: 50% !important;
  flex-grow: 0 !important;
  flex-direction: column;
  height: 100% !important;
  margin: 0 !important;
  min-width: 0;
  overflow: hidden;
  width: auto !important;
}

.dt-reliability-section > .wp-block-column:first-child {
  background: transparent !important;
  height: 100% !important;
  margin-top: 0 !important;
}

.dt-reliability-section > .wp-block-column:first-child .wp-block-image {
  inset: 0;
  position: absolute;
}

.dt-reliability-section > .wp-block-column:first-child figure,
.dt-reliability-section > .wp-block-column:first-child img {
  inset: 0;
  position: absolute;
}

.dt-split img {
  display: block;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 32%;
  width: 100%;
}

.dt-split figure {
  flex: 1;
  height: 100%;
  margin: 0;
  min-height: 0;
  overflow: hidden;
}

.dt-split .wp-block-image {
  height: 100%;
  margin: 0 !important;
  min-height: 0;
}

.dt-split__panel {
  background: var(--doratech-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100% !important;
  min-height: 0;
  overflow: hidden;
  padding: clamp(36px, 5vw, 82px);
}

.dt-checks {
  list-style: none;
  margin: 30px 0 34px;
  padding: 0;
}

.dt-checks li {
  color: #28404a;
  font-weight: 700;
  margin: 12px 0;
}

.dt-checks li::before {
  color: var(--doratech-cyan);
  content: "✓";
  font-weight: 900;
  margin-right: 12px;
}

.dt-brand-panel {
  align-items: center;
  background: var(--doratech-cyan);
  color: var(--doratech-navy);
  display: flex;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0;
  min-height: 390px;
}

.dt-brand-panel img {
  height: auto;
  max-width: min(70%, 360px);
}

.dt-company {
  display: grid;
  gap: 80px;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
}

.dt-quote {
  border-left: 4px solid var(--doratech-cyan);
  color: var(--doratech-text);
  font-size: 19px;
  font-weight: 800;
  margin-top: 28px;
  padding-left: 22px;
}

.dt-footer-cta {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.25fr .75fr;
  padding-bottom: 70px;
}

.dt-contact-lines {
  color: #d4e0e4;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
}

/* Footer contact buttons: consistent spacing on all screen sizes. */
.dt-site-footer .dt-contact-lines .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px !important;
  align-items: center;
}

.dt-site-footer .dt-contact-lines .wp-block-button {
  margin: 0 !important;
}

.dt-footer-grid {
  border-top: 1px solid rgba(255,255,255,.1);
  display: grid;
  gap: 42px;
  grid-template-columns: 1.4fr .7fr .7fr .9fr;
  padding-top: 54px;
}

.dt-footer-grid h3 {
  color: var(--doratech-cyan);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dt-footer-grid a,
.dt-footer-grid p {
  color: #a9bac2;
  display: block;
  font-size: 14px;
  margin: 8px 0;
  text-decoration: none;
}

.dt-footer-grid ul {
  list-style-position: outside;
  margin: 0;
  padding-left: 18px;
}

.dt-footer-grid li {
  color: #a9bac2;
  margin: 8px 0;
}

.dt-footer-contact p {
  margin: 8px 0 14px;
}

.dt-footer-contact p:nth-of-type(3),
.dt-footer-contact p:nth-of-type(4) {
  margin-top: 18px;
}

.dt-footer-underlined {
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px !important;
}

.dt-footer-underlined:hover {
  text-decoration-thickness: 2px !important;
}

.dt-logo {
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 18px;
}

body:has(.dt-projects-page) {
  background: var(--doratech-navy);
}

body:has(.dt-projects-page) .entry-content .dt-page,
body:has(.dt-projects-page) .entry-content .dt-section,
body:has(.dt-projects-page) .entry-content .dt-project-cta,
body:has(.dt-projects-page) .entry-content .dt-project-footer {
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  position: relative;
  right: 50%;
  width: 100vw;
}

.dt-projects-page {
  background: #fff;
  overflow: hidden;
}

.dt-projects-hero {
  padding: 82px 0 96px;
}

.dt-projects-hero h1 {
  color: #fff;
  font-size: clamp(44px, 5.3vw, 76px);
  line-height: 1.05;
  margin: 0 0 26px;
  max-width: 760px;
}

.dt-projects-hero p:not(.dt-eyebrow) {
  color: #a9bac2;
  font-size: 18px;
  line-height: 1.7;
  max-width: 700px;
}

.dt-project-gallery-section {
  background: #fff;
  padding: 112px 0 116px;
}

.dt-project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
}

.dt-project-filters .wp-block-button__link {
  background: #fff;
  border: 1px solid var(--doratech-border);
  border-radius: 0;
  color: var(--doratech-text);
  font-size: 14px;
  font-weight: 800;
  min-height: 48px;
  padding: 0 24px;
}

.dt-project-filters .is-active .wp-block-button__link {
  background: var(--doratech-cyan);
  border-color: var(--doratech-cyan);
  color: #fff;
}

.dt-project-card.is-hidden {
  display: none !important;
}

.dt-project-grid {
  display: grid !important;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.dt-project-grid.wp-block-columns {
  flex-wrap: initial !important;
}

.dt-project-grid > .wp-block-column {
  flex-basis: auto !important;
  flex-grow: 0 !important;
  margin: 0 !important;
  min-width: 0;
  width: auto !important;
}

.dt-project-card {
  aspect-ratio: 1 / 1.18;
  background: var(--doratech-navy);
  overflow: hidden;
  position: relative;
}

.dt-project-card figure,
.dt-project-card .wp-block-image {
  height: 100%;
  margin: 0 !important;
  width: 100%;
}

.dt-project-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.dt-project-card p {
  background: rgba(7, 21, 29, .88);
  bottom: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  left: 0;
  line-height: 1.2;
  margin: 0;
  max-width: none;
  padding: 20px 22px;
  position: absolute;
  right: 0;
}

.dt-feature-box {
  background: var(--doratech-light);
  border-left: 4px solid var(--doratech-cyan);
  margin-top: 52px;
  padding: 34px 34px 38px;
}

.dt-feature-box h3 {
  color: var(--doratech-text);
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.dt-feature-box p {
  font-size: 15px;
  margin-bottom: 22px;
  max-width: 780px;
}

.dt-project-cta {
  background: var(--doratech-cyan);
  color: #fff;
  padding: 58px 0;
}

.dt-project-cta__inner {
  align-items: center;
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 48px;
}

.dt-project-cta h2 {
  color: #fff;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 760px;
}

.dt-project-cta p {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  margin: 0;
}

.dt-button--dark .wp-block-button__link {
  background: var(--doratech-navy);
  border-color: var(--doratech-navy);
  color: #fff;
  min-height: 56px;
  padding: 0 34px;
}

.dt-project-footer {
  background: var(--doratech-navy);
  color: #a9bac2;
  padding: 78px 0 54px;
}

.dt-project-footer__grid {
  display: grid !important;
  gap: 72px;
  grid-template-columns: 1.25fr 1.25fr .9fr;
}

.dt-project-footer__grid.wp-block-columns,
.dt-project-footer__links.wp-block-columns {
  flex-wrap: initial !important;
}

.dt-project-footer__grid > .wp-block-column,
.dt-project-footer__links > .wp-block-column {
  flex-basis: auto !important;
  flex-grow: 0 !important;
}

.dt-project-footer img {
  height: auto;
  max-width: 150px;
}

.dt-project-footer h3 {
  color: var(--doratech-cyan);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dt-project-footer p,
.dt-project-footer a,
.dt-project-footer li {
  color: #a9bac2;
  font-size: 15px;
  line-height: 1.75;
}

.dt-project-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dt-project-footer__brand p {
  margin-top: 46px;
  max-width: 330px;
}

.dt-project-footer__links {
  display: grid !important;
  gap: 36px;
  grid-template-columns: 1fr 1fr;
}

.dt-project-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 64px;
  padding-top: 22px;
}

.dt-project-footer__bottom p {
  font-size: 13px;
  margin: 0;
}

@media (max-width: 920px) {
  .dt-section { padding: 76px 0; }
  .dt-benefits,
  .dt-process,
  .dt-company,
  .dt-footer-cta,
  .dt-footer-grid,
  .dt-split {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .dt-services { grid-template-columns: 1fr 1fr; }
  .dt-project-grid { grid-template-columns: 1fr 1fr; }
  .dt-project-cta__inner,
  .dt-project-footer__grid {
    grid-template-columns: 1fr;
  }
  .dt-project-cta__action {
    justify-self: start;
  }
  .dt-card,
  .dt-card--large { grid-column: auto; }
  .dt-gallery { grid-template-columns: 1fr 1fr; }
  .dt-reliability-section.wp-block-columns {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .dt-reliability-section > .wp-block-column {
    height: auto !important;
  }
  .dt-reliability-section > .wp-block-column:first-child {
    height: auto !important;
    margin-top: 0 !important;
  }
  .dt-reliability-section > .wp-block-column:first-child .wp-block-image,
  .dt-reliability-section > .wp-block-column:first-child figure,
  .dt-reliability-section > .wp-block-column:first-child img {
    inset: auto;
    position: relative;
  }
  .dt-split img {
    height: 420px;
    min-height: 0;
  }
  .dt-split__panel {
    height: auto !important;
    overflow: visible;
    padding: 56px 24px;
  }
}

@media (max-height: 820px) and (min-width: 921px) {
  .dt-hero {
    min-height: 620px;
    padding-bottom: 28px;
    padding-top: 32px;
  }
  .dt-hero h1 {
    font-size: clamp(38px, 4.2vw, 70px);
    margin-bottom: 22px;
    margin-top: 24px;
    max-width: 720px;
  }
  .dt-hero p {
    font-size: 16px;
    max-width: 640px;
  }
  .dt-actions {
    margin-bottom: 30px;
    margin-top: 28px;
  }
  .dt-actions .dt-button {
    font-size: 15px;
    min-height: 50px;
    padding-inline: 26px;
  }
  .dt-meta {
    padding-top: 20px;
  }
  .dt-hero__tagline {
    margin-top: 20px;
  }
}

@media (max-width: 620px) {
  .dt-wrap { padding-inline: 20px; }
  .dt-hero { min-height: 590px; padding-top: 112px; }
  .dt-actions { align-items: stretch; flex-direction: column; }
  .dt-actions .wp-block-button__link,
  .dt-actions .dt-button { text-align: center; width: 100%; }
  .dt-benefits,
  .dt-services,
  .dt-gallery,
  .dt-project-grid,
  .dt-project-footer__links { grid-template-columns: 1fr; }
  .dt-projects-hero {
    padding: 68px 0 76px;
  }
  .dt-projects-hero h1 {
    font-size: 42px;
  }
  .dt-project-gallery-section {
    padding: 72px 0;
  }
  .dt-project-filters .wp-block-button,
  .dt-project-filters .wp-block-button__link {
    width: 100%;
  }
  .dt-project-card {
    aspect-ratio: 1 / .95;
  }
  .dt-benefit,
  .dt-process__step { padding-left: 18px; }
  .dt-gallery figure:first-child { grid-row: auto; }
  .dt-section h2 { font-size: 34px; }
}

/* Global layout reset for all custom DORAtech block pages. */
body:has(.dt-page) {
  background: var(--doratech-navy);
}

body:has(.dt-page) .site-content,
body:has(.dt-page) .site-content .ast-container,
body:has(.dt-page) #primary,
body:has(.dt-page) .site-main,
body:has(.dt-page) .ast-article-single,
body:has(.dt-page) .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.dt-page) .entry-content > .dt-page {
  margin-block: 0 !important;
}

body:has(.dt-page) .dt-page > :first-child {
  margin-block-start: 0 !important;
}

body:has(.dt-page) .dt-page > :last-child {
  margin-block-end: 0 !important;
}

/* Fallback for browsers/admin views where :has() is not consistently applied. */
body.doratech-page,
body.doratech-page #page,
body.doratech-page .site-content,
body.doratech-page .content-area,
body.doratech-page .site-main,
body.doratech-page article,
body.doratech-page .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

body.doratech-page,
body.doratech-page #page {
  background: var(--doratech-navy);
}

body.doratech-page .site-content,
body.doratech-page #content,
body.doratech-page .site-content .ast-container,
body.doratech-page .content-area,
body.doratech-page #primary,
body.doratech-page .site-main,
body.doratech-page .hentry,
body.doratech-page .entry-content,
body.doratech-page .wp-block-post-content {
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

body.doratech-page .site-content .ast-container {
  display: block;
}

body.doratech-page .entry-header,
body.doratech-page .post-thumb-img-content,
body.doratech-page .ast-single-post-order {
  display: none;
}

body.doratech-page .entry-content > * {
  margin-block-start: 0 !important;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.dt-service-page {
  background: #fff;
  overflow: hidden;
}

.dt-service-hero {
  padding: 92px 0 104px;
}

.dt-service-hero h1 {
  color: #fff;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.05;
  margin: 0 0 26px;
  max-width: 930px;
}

.dt-service-hero p:not(.dt-eyebrow) {
  color: #a9bac2;
  font-size: 18px;
  line-height: 1.7;
  max-width: 760px;
}

.dt-service-intro {
  background: #fff;
  padding: 94px 0;
}

.dt-service-intro__grid {
  display: grid !important;
  gap: 72px;
  grid-template-columns: .9fr 1.1fr;
}

.dt-service-intro h2,
.dt-service-benefits h2 {
  color: var(--doratech-text);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  margin: 0;
}

.dt-service-intro p:not(.dt-eyebrow) {
  color: var(--doratech-muted);
  font-size: 19px;
  line-height: 1.7;
  margin-top: 0;
}

.dt-service-split.wp-block-columns {
  align-items: stretch;
  display: grid !important;
  gap: 0;
  grid-template-columns: 1fr 1fr;
  margin: 0 !important;
  width: 100%;
}

.dt-service-split > .wp-block-column {
  flex-basis: auto !important;
  margin: 0 !important;
  min-width: 0;
}

.dt-service-split figure,
.dt-service-split .wp-block-image {
  height: 100%;
  margin: 0 !important;
  width: 100%;
}

.dt-service-split img {
  display: block;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  width: 100%;
}

.dt-service-split__panel {
  background: var(--doratech-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 86px max(40px, calc((100vw - var(--doratech-container)) / 2)) 86px 86px;
}

.dt-service-split__panel h2 {
  color: var(--doratech-text);
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.12;
  margin: 0 0 24px;
  max-width: 720px;
}

.dt-service-split__panel p:not(.dt-eyebrow),
.dt-service-split__panel li {
  color: var(--doratech-text);
  font-size: 17px;
}

.dt-service-cards {
  display: grid !important;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.dt-service-card {
  background: #fff;
  border-top: 4px solid var(--doratech-cyan);
  padding: 34px;
}

.dt-service-card h3 {
  color: var(--doratech-text);
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 18px;
}

.dt-service-card p {
  color: var(--doratech-muted);
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 920px) {
  .dt-service-intro__grid,
  .dt-service-split.wp-block-columns,
  .dt-service-cards {
    grid-template-columns: 1fr;
  }

  .dt-service-split img {
    min-height: 420px;
  }

  .dt-service-split__panel {
    padding: 64px 24px;
  }
}

@media (min-width: 921px) {
  .dt-gallery {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .dt-gallery figure {
    height: 430px;
    min-height: 0;
    overflow: hidden;
  }

  .dt-gallery figure:first-child {
    height: 430px;
  }

  .dt-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Offene Stellen page */
.dt-jobs-page .dt-service-hero {
  background:
    linear-gradient(90deg, rgba(5, 20, 28, .96) 0%, rgba(5, 20, 28, .88) 42%, rgba(5, 20, 28, .42) 72%, rgba(5, 20, 28, .18) 100%),
    url("https://priprema.doratech.ch/wp-content/uploads/2026/10/doratech-offene-stellen.png") center right / cover no-repeat;
  color: #fff;
  margin-top: 54px;
  min-height: 620px;
  padding: 118px max(32px, calc((100vw - var(--doratech-container)) / 2)) 96px;
}

.dt-jobs-page .dt-service-hero h1 {
  max-width: 850px;
}

.dt-jobs-page .dt-service-hero p:not(.dt-eyebrow) {
  color: rgba(235, 244, 247, .82);
  max-width: 720px;
}

.dt-jobs-page .dt-hero-actions {
  margin-top: 36px;
}

.dt-jobs-page .dt-service-intro {
  padding-top: 112px;
  padding-bottom: 96px;
}

.dt-jobs-page .dt-service-split {
  margin-top: 0;
}

.dt-jobs-page .dt-service-split img {
  min-height: 620px;
}

.dt-jobs-page .dt-section:not(.dt-service-intro):not(.dt-cta-section) {
  padding-top: 110px;
  padding-bottom: 110px;
}

.dt-jobs-page .dt-cta-section {
  padding-top: 112px;
  padding-bottom: 120px;
}

.dt-jobs-page .dt-cta-section .wp-block-buttons {
  margin-top: 34px;
}

@media (max-width: 920px) {
  .dt-jobs-page .dt-service-hero {
    background:
      linear-gradient(180deg, rgba(5, 20, 28, .94) 0%, rgba(5, 20, 28, .88) 100%),
      url("https://priprema.doratech.ch/wp-content/uploads/2026/10/doratech-offene-stellen.png") center / cover no-repeat;
    margin-top: 24px;
    min-height: auto;
    padding: 76px 24px;
  }

  .dt-jobs-page .dt-service-intro,
  .dt-jobs-page .dt-section:not(.dt-service-intro):not(.dt-cta-section),
  .dt-jobs-page .dt-cta-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .dt-jobs-page .dt-service-split img {
    min-height: 420px;
  }
}

/* Force Offene Stellen hero styling */
body.page .dt-jobs-page .dt-service-hero,
.dt-jobs-page .dt-service-hero.wp-block-group {
  background-image:
    linear-gradient(90deg, rgba(5, 20, 28, .96) 0%, rgba(5, 20, 28, .9) 42%, rgba(5, 20, 28, .48) 70%, rgba(5, 20, 28, .18) 100%),
    url("https://priprema.doratech.ch/wp-content/uploads/2026/10/doratech-offene-stellen.png") !important;
  background-position: center right !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  border-radius: 0 !important;
  max-width: 1660px !important;
  min-height: 620px !important;
  padding-top: 118px !important;
  padding-bottom: 96px !important;
}

.dt-jobs-page .dt-service-hero .dt-hero-actions,
.dt-jobs-page .dt-service-hero .wp-block-buttons {
  justify-content: center !important;
  margin-top: 36px !important;
  padding-left: 0 !important;
}

.dt-jobs-page .dt-service-hero .wp-block-button {
  margin-left: 0 !important;
}

@media (max-width: 920px) {
  body.page .dt-jobs-page .dt-service-hero,
  .dt-jobs-page .dt-service-hero.wp-block-group {
    background-image:
      linear-gradient(180deg, rgba(5, 20, 28, .94) 0%, rgba(5, 20, 28, .88) 100%),
      url("https://priprema.doratech.ch/wp-content/uploads/2026/10/doratech-offene-stellen.png") !important;
    min-height: auto !important;
    padding-top: 76px !important;
    padding-bottom: 76px !important;
  }
}

/* Keep vacancy actions centered, evenly spaced and usable on small screens. */
.dt-jobs-page .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
}
.dt-jobs-page .wp-block-buttons .wp-block-button { margin: 0 !important; }
.dt-jobs-page .wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 180px;
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .dt-jobs-page .wp-block-buttons .wp-block-button { width: min(100%, 260px); }
  .dt-jobs-page .wp-block-button .wp-block-button__link { width: 100%; }
}

.dt-jobs-page .dt-button-secondary .wp-block-button__link {
  background: transparent;
  border-color: currentColor;
  color: var(--doratech-cyan-dark);
}
.dt-jobs-page .dt-service-hero .dt-button-secondary .wp-block-button__link { color: #fff; }
.dt-jobs-page .dt-button-secondary .wp-block-button__link:hover {
  background: var(--doratech-cyan);
  border-color: var(--doratech-cyan);
  color: #fff;
}
.dt-jobs-page .wp-block-button__link:focus-visible { outline: 3px solid var(--doratech-cyan); outline-offset: 4px; }

/* Center homepage hero button labels on phones only. */
@media (max-width: 620px) {
  body.home .dt-hero .dt-actions .dt-button,
  body.home .dt-hero .dt-actions .wp-block-button__link {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}
