html { scroll-behavior: smooth; }

/* TEMP HIDDEN: Aktuelle Themen Sektion */
#brxe-xfeizj { display: none; }

/* ─── HEADING FONT: Caudex ─── */
@font-face {
  font-family: "Caudex";
  src: url("/assets/fonts/Caudex-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Caudex";
  src: url("/assets/fonts/Caudex-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Caudex";
  src: url("/assets/fonts/Caudex-Italic.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Caudex";
  src: url("/assets/fonts/Caudex-BoldItalic.ttf") format("truetype");
  font-weight: 700; font-style: italic; font-display: swap;
}

h1, h2, h3, h4, h5, h6 { font-family: "Caudex", serif; font-weight: 400; }
.techvsp-adv-num        { font-family: "Caudex", serif; }

/* ─── REDESIGN TYPOGRAPHY OVERRIDES (normalize subpages to new scale) ─── */
h2 { font-size: 48px; }
h3 { font-size: 28px; }
@media (max-width: 1200px) {
  h2 { font-size: 42px; }
}
@media (max-width: 767px) {
  h2 { font-size: 36px; }
}

/* Subpages were missing an <h1> for SEO; we promoted the first brxe-heading/
   brxe-post-title <h2> to <h1>. Keep the visual size at the old h2 scale so
   the design doesn't jump. The hero-h1 on the home page (#brxe-hkvbfn) has a
   higher-specificity rule below and is not affected. */
main h1.brxe-heading,
main h1.brxe-post-title {
  font-size: 48px;
  line-height: 1;
  text-transform: lowercase;
}
@media (max-width: 1200px) {
  main h1.brxe-heading,
  main h1.brxe-post-title { font-size: 42px; }
}
@media (max-width: 767px) {
  main h1.brxe-heading,
  main h1.brxe-post-title { font-size: 36px; }
}

.overlay-wrapper {
  transition: all 0.2s linear;
  height: unset !important;
}
.overlay-wrapper:hover {
  transition: all 0.2s linear;
}
.post-grid .overlay-wrapper {
  background-image: linear-gradient(rgba(21, 24, 40, 0) 50%, rgba(21, 24, 40, 0.95));
  background-color: rgba(21, 24, 40, 0.5);
}
.post-cat {
  background-color: #0e101b;
  padding: 4px 10px;
  border-radius: 5px;
  position: absolute;
  top: 20px;
  right: 20px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}
@media (min-width: 901px) {
  .post-grid-s .image-wrapper,
  .post-grid-s .bricks-layout-wrapper .image {
    aspect-ratio: 2/1 !important;
  }
  .post-grid-hero .image-wrapper img,
  .post-grid-hero .overlay-wrapper {
    height: calc(100% - 10px) !important;
  }
  .post-grid-hero .bricks-layout-wrapper li:nth-child(2) {
    margin-top: -10px !important;
  }
}
@media (max-width: 900px) {
  .post-grid .overlay-wrapper {
    background-image: linear-gradient(rgba(21, 24, 40, 0) 50%, rgba(21, 24, 40, 0.95));
  }
  .post-grid.brxe-posts .overlay-wrapper {
    border-bottom: solid 10px #0e101b;
    border-top: solid 10px #0e101b;
  }
  .post-cat {
    padding: 3px 8px;
    top: 15px;
    right: 15px;
    font-size: 14px;
  }
  .post-grid .bricks-layout-wrapper[data-layout="metro"] .image-wrapper {
    aspect-ratio: 4/3;
  }
  .primary-post .bricks-layout-wrapper[data-layout="metro"] .image-wrapper {
    aspect-ratio: 2/3 !important;
  }
}
@media (max-width: 767px) {
  .post-grid .bricks-layout-wrapper[data-layout="metro"] .image-wrapper {
    aspect-ratio: 3/2;
  }
  .primary-post .bricks-layout-wrapper[data-layout="metro"] .image-wrapper {
    aspect-ratio: 1/1 !important;
  }
  .post-grid.brxe-posts .overlay-wrapper {
    border-bottom: solid 8px #0e101b;
    border-top: solid 8px #0e101b;
  }
}

/* --- */

.single-post .blog-highlight {
  padding-left: 20px;
  border-left: 2px solid var(--bricks-color-tamiea);
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}

@media (max-width: 476px) {
  .single-post .blog-highlight {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
  }
}

.single-post .scrim {
  background-color: rgba(0, 0, 0, 0.75) !important;
}
.single-post .close-button {
  fill: #ffffff !important;
}

.single-post h3 {
  margin-top: 60px;
  margin-bottom: -10px;
}

@media (max-width: 767px) {
  .single-post h3 {
    margin-top: 40px;
  }
}

/* --- */

@media (min-width: 1201px) {
  /*:where(.brxe-video) iframe, */
  :where(.brxe-video) video {
    height: unset;
  }
}
@media (max-width: 1200px) {
  /*:where(.brxe-video) iframe, */
  :where(.brxe-video) video {
    height: 100%;
    width: unset;
  }
}
@media (max-width: 767px) {
  /*:where(.brxe-video) iframe, */
  :where(.brxe-video) video {
    height: 100%;
    max-width: 570px;
  }
}
@media (max-width: 478px) {
  /*:where(.brxe-video) iframe, */
  :where(.brxe-video) video {
    height: unset;
    width: 100%;
  }
}

/* --- */

#brxe-zmwhxv .message {
  margin-left: 15px;
}
@media (min-width: 479px) {
  #brxe-zmwhxv .message {
    margin-left: 20px;
  }
}

/* --- */

#itkanzlei_txt_copyright {
  margin-top: 0 !important;
}
#itkanzlei_txt_copyright {
  display: none !important;
}

/* --- */

@media (min-width: 768px) {
  .brxe-post-content .wp-block-image {
    margin: 30px 0;
  }
  .brxe-post-content .wp-block-gallery {
    margin: 30px 0;
  }
  .brxe-post-content p {
    margin: 15px 0;
  }
}

@media (max-width: 767px) {
  .brxe-post-content .wp-block-image {
    margin: 20px 0;
  }
  .brxe-post-content .wp-block-gallery {
    margin: 20px 0;
  }
  .brxe-post-content p {
    margin: 10px 0;
  }
}

.brxe-post-content h4 {
  margin-top: 25px;
}

/* ─── WordPress blocks: embeds, galleries, lightbox ─── */
/* Responsive Vimeo / YouTube iframes (full width, keep 16:9) */
.brxe-post-content .wp-block-embed {
  margin: 30px 0;
}
.brxe-post-content .wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
}
.brxe-post-content .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
.brxe-post-content .wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

/* Base image styles inside post content */
.brxe-post-content .wp-block-image img {
  max-width: 100%;
  height: auto;
  display: block;
}
.brxe-post-content figure {
  margin: 0;
}

/* Gallery: 3-column flex layout, clickable images */
.brxe-post-content .wp-block-gallery.is-layout-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.brxe-post-content .wp-block-gallery.is-layout-flex > figure {
  flex: 1 1 calc((100% - 2 * 16px) / 3);
  min-width: 180px;
  margin: 0;
}
.brxe-post-content .wp-block-gallery.is-cropped > figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
@media (max-width: 600px) {
  .brxe-post-content .wp-block-gallery.is-layout-flex > figure {
    flex-basis: calc((100% - 16px) / 2);
  }
}

/* Lightbox hover affordance on every zoomable content image */
.brxe-post-content .wp-lightbox-container {
  position: relative;
}
.brxe-post-content img.sc-zoomable {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}
.brxe-post-content img.sc-zoomable:hover {
  transform: scale(1.02);
}
/* Hide the non-functional WP expand button overlay – we bind click on the image */
.brxe-post-content .wp-lightbox-container .lightbox-trigger {
  display: none !important;
}

/* Custom lightbox overlay (opened via JS in custom.js) */
.sc-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  cursor: zoom-out;
}
.sc-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease;
}
.sc-lightbox img {
  max-width: 95vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.2s ease;
}
.sc-lightbox.is-open img {
  transform: scale(1);
}
.sc-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* --- */

/* ─── ANWENDUNGSBEREICHE SECTION ─── */
#use-cases {
  padding-bottom: 0;
}
@media (max-width: 1200px) {
  #use-cases {
    padding-top: 40px;
  }
}
.anw-header-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 60px;
  padding: 0 40px;
  box-sizing: border-box;
}
.anw-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: end;
}
.anw-headline {
  font-family: "Caudex", serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--bricks-color-tiaxda);
  margin: 0;
  flex: 0 0 auto;
}
.anw-headline em {
  font-style: italic;
  color: var(--bricks-color-tamiea);
}
.anw-intro {
  font-size: 15px;
  line-height: 1.65;
  color: var(--bricks-color-njexsk);
  margin: 0 0 0 auto;
  max-width: 340px;
  text-align: right;
}
.anw-label {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bricks-color-tamiea);
  margin: 0 0 0 auto;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}
.anw-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--bricks-color-tamiea);
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .anw-header {
    grid-template-columns: 1fr;
  }
  .anw-header-wrap {
    margin-bottom: 40px;
    padding: 0 20px;
  }
}
.anw-industry {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bricks-color-tamiea);
  margin: 0 0 10px;
}
.anwendungsbox h3 {
  margin-top: 0;
}
.anwendungsbox .brxe-divider.horizontal .line {
  width: 180px;
}
.anwendungsbox:hover svg {
  fill: #fff !important;
  transition: all 0.2s ease-in-out;
}
.anwendungsbox:hover p {
  color: #fff !important;
  transition: all 0.2s ease-in-out;
}
.anwendungsbox:hover h3 {
  color: #fff !important;
  transition: all 0.2s ease-in-out;
}
.anwendungsbox:hover .anw-industry {
  color: var(--bricks-color-tamiea) !important;
}

/* --- */

.insta-open .chevrotate {
  transform: rotate(-180deg) !important;
}
.feature-acc:hover h4 {
  color: #ffffff !important;
}
.feature-acc p {
  color: rgba(255, 255, 255, 0);
  transition: all 0.3s linear;
}
.feature-acc .insta-open p {
  color: rgba(255, 255, 255, 1);
  transition: all 0.3s linear;
}
.insta-open .chevrotate {
  transform: rotate(-180deg) !important;
}
.product-acc p {
  color: rgba(255, 255, 255, 0);
  transition: all 0.3s linear;
}
.product-acc .insta-open p {
  color: rgba(255, 255, 255, 1);
  transition: all 0.3s linear;
}

/* --- */

.heading-highlight {
  color: #94f1ff;
}
#bricks-lightbox iframe {
  border: none;
}

@media (min-width: 901px) {
  .brxe-nav-menu .bricks-nav-menu > li:not(:last-child) {
    border-right: 1px solid !important;
    padding-right: 30px;
  }
}
#brxe-vuhxxc {
  height: 120px;
}
.scrolling #brxe-vuhxxc {
  transition: all 0.2s ease-in-out;
  height: 80px;
}

@media (max-width: 767px) {
  #brxe-vuhxxc {
    height: 70px;
  }
  .scrolling #brxe-vuhxxc {
    transition: all 0.2s ease-in-out;
    height: 70px;
  }
}

@media (min-width: 768px) {
  body p {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }
}

#brxe-krlrkk a {
  border-bottom: 0 !important;
}

#regvid :where(.brxe-video) {
  background-color: transparent;
}
@media (max-width: 767px) {
  #regvid :where(.brxe-video) video {
    max-width: 100% !important;
  }
}

/*
html, body, a, .bricks-lightbox, .swiper-button, button, .pswp__img, textarea, input, .options-wrapper {
	cursor: none !important;
}
.brxe-accordion-nested .accordion-title-wrapper {
	cursor: none !important;
}
#brxe-zmwhxv label {
	cursor: none !important;
}*/

/* ─── VR-SEKTION RESPONSIVE (≤1200px) ─── */
@media (max-width: 1200px) {
  /* Gradient fade über das Video, von Sektionsfarbe unten zu transparent oben */
  #brxe-hhowec {
    background: linear-gradient(to bottom, transparent 0%, var(--bricks-color-ntjvda) 50%) !important;
    position: relative;
    z-index: 2;
  }
  /* Sektion weiter nach oben ziehen für mehr Überlagerung */
  #intro {
    margin-top: -200px;
  }
}

/* ─── TECHNOLOGISCHER VORSPRUNG ─── */
#brxe-techvsp {
  padding-top: 0;
  padding-bottom: 0;
  justify-content: center;
  z-index: 1;
  position: relative;
  margin-top: 60px;
  margin-bottom: 120px;
}
#brxe-techvsp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 24, 40, 0.5) 33%, rgba(21, 24, 40, 0) 66%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

#brxe-techvsp-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 60px;
  width: 1180px;
  position: relative;
  z-index: 1;
}
.techvsp-text {
  flex: 0 0 44%;
  padding-top: 60px;
  padding-bottom: 60px;
  row-gap: 20px;
}
.techvsp-label {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bricks-color-tamiea);
  margin-top: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.techvsp-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--bricks-color-tamiea);
  flex-shrink: 0;
}
.techvsp-heading {
  margin-top: 0;
  margin-bottom: 24px;
}
.techvsp-text .bricks-button:hover {
  transform: translateY(-4px);
}
.techvsp-body {
  color: var(--bricks-color-njexsk);
  line-height: 1.6;
  margin-bottom: 40px;
}

.techvsp-visual {
  position: absolute;
  left: calc(44% + 60px);
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.techvsp-adv-item {
  background-color: rgba(21, 24, 40, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 5px;
  padding: 22px 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: background-color 0.2s ease-in-out;
}
.techvsp-adv-item.scroll-active {
  background-color: var(--bricks-color-grzdwv);
  transition: background-color 0.2s ease-in-out;
}

.techvsp-adv-num {
  position: absolute;
  right: 16px;
  top: -12px;
  font-family: "TestHeading", serif;
  font-size: clamp(100px, 14vw, 160px);
  font-weight: 700;
  line-height: 1;
  color: var(--bricks-color-vauxut);
  opacity: 0.12;
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
}
.techvsp-adv-item.scroll-active .techvsp-adv-num {
  opacity: 0.18;
}
.techvsp-adv-content {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.techvsp-adv-title {
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--bricks-color-njexsk);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  transition: color 0.2s ease-in-out;
}
.techvsp-adv-item.scroll-active .techvsp-adv-title {
  color: #fff;
}
.techvsp-adv-desc {
  font-size: 14px;
  color: rgba(237, 238, 242, 0.55);
  line-height: 1.75;
  transition: color 0.2s ease-in-out;
}
.techvsp-adv-item.scroll-active .techvsp-adv-desc {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1200px) {
  #brxe-techvsp::before {
    display: none;
  }
  #brxe-techvsp-inner {
    width: 100%;
    column-gap: 30px;
  }
  .techvsp-text {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
@media (max-width: 900px) {
  /* 2.1 – VR-Sektion weniger nach oben ziehen */
  #intro {
    margin-top: -50px;
  }
  #brxe-techvsp-inner {
    flex-direction: column;
    row-gap: 80px;
  }
  /* 2.2 – Doppelter Abstand: padding-top aus techvsp-text entfernen, margin der Sektion reicht */
  .techvsp-text {
    flex: 1 1 100%;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
  /* 2.3 – padding-bottom bei visual nicht nötig */
  .techvsp-visual {
    position: static;
    transform: none;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    padding-bottom: 0;
  }
  /* 2.4 – <br> in feat-titles bei 1-spaltigem Layout ausblenden */
  .feat-title br {
    display: none;
  }
}
@media (max-width: 767px) {
  #brxe-techvsp {
    padding-right: 20px;
    padding-left: 20px;
    /* 3.3 – kein doppelter Abstand: margin übernimmt, padding-top weg */
    margin-top: 30px;
    /* 3.5 – margin-bottom kleiner */
    margin-bottom: 60px;
  }
  /* 3.3 – padding-top der textbox entfernen */
  .techvsp-text {
    padding-top: 0;
  }
  /* 3.4 – row-gap kleiner als bei 900px */
  #brxe-techvsp-inner {
    row-gap: 60px;
  }
}
@media (max-width: 478px) {
  #brxe-techvsp {
    padding-right: 15px;
    padding-left: 15px;
  }
  /* 4.2 – Zahlen größer, clamp-Override entfernen */
  .techvsp-adv-num {
    font-size: clamp(80px, 22vw, 120px);
  }
}

/* ─── FEATURES SECTION (USP-Cards) ─── */
.feat-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  background-color: var(--bricks-color-rtnaxh);
  border-radius: 5px;
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bricks-color-tamiea), transparent);
  opacity: 0.6;
}
.feat-icon {
  width: 44px;
  height: 44px;
  color: var(--bricks-color-tamiea);
  margin-bottom: 28px;
  flex-shrink: 0;
}
.feat-title {
  font-family: "Caudex", serif;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--bricks-color-tiaxda);
  margin: 0 0 14px;
}
.feat-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--bricks-color-njexsk);
  margin: 0;
}
.feat-patent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: var(--bricks-color-rtnaxh);
  border-radius: 5px;
  padding: 20px 24px;
  position: relative;
}
.feat-patent::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 2px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(180deg, var(--bricks-color-tamiea), transparent);
  opacity: 0.6;
}
.feat-patent-icon {
  color: var(--bricks-color-tamiea);
  flex-shrink: 0;
  margin-top: 2px;
}
.feat-patent-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bricks-color-njexsk);
  margin: 0;
}
.feat-patent-text strong {
  color: var(--bricks-color-tiaxda);
  font-weight: 600;
}
@media (max-width: 900px) {
  .feat-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feat-card {
    padding: 26px 22px 28px;
  }
}
@media (max-width: 478px) {
  .feat-icon {
    width: 36px;
    margin-bottom: 20px;
  }
  /* 4.3 – Icon bleibt links, nicht oben */
  .feat-patent {
    flex-direction: row;
    gap: 14px;
  }
}

#brxe-nnsjnn .brxe-text-basic {
  border-bottom-width: 0;
}

/* ─── PATENT SIGEL ─── */
#brxe-ykhdvk {
  position: relative;
  overflow: visible;
}
.patent-sigel {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(55%, -70%);
  width: 140px;
  height: auto;
  z-index: 10;
  pointer-events: none;
}
@media (max-width: 1200px) {
  .patent-sigel {
    transform: translate(45%, -70%);
  }
}

/* ─── HERO HEADING: bold + responsive ─── */
#brxe-hkvbfn {
  font-weight: 700;
  font-size: 62px;
}
@media (max-width: 1200px) {
  #brxe-hkvbfn {
    font-size: 56px;
  }
}
@media (max-width: 900px) {
  #brxe-hkvbfn {
    font-size: 50px;
  }
}
@media (max-width: 767px) {
  #brxe-hkvbfn {
    font-size: 46px;
  }
}
@media (max-width: 478px) {
  #brxe-hkvbfn {
    font-size: 40px;
  }
}

/* ─── MOBILE OFFCANVAS MENÜ ─── */
#brxe-qdeaoh .bricks-nav-menu > li > a {
  font-family: "Caudex", serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em;
  text-transform: none;
}
#brxe-qdeaoh .bricks-nav-menu .current-menu-item > a {
  color: var(--bricks-color-tamiea) !important;
}

/* ─── MOBILE WIDE (≤767px) – Viewport-spezifische Anpassungen ─── */
@media (max-width: 767px) {

  /* 3.1 – Hero gradient weniger aggressiv, näher am Desktop-Look */
  #brxe-lkbtwp::before {
    background-image: linear-gradient(
      90deg,
      rgba(14, 16, 27, 0.85),
      rgba(14, 16, 27, 0.7),
      rgba(13, 16, 28, 0.4),
      rgba(13, 16, 28, 0.15)
    ) !important;
  }

  /* 3.2 – Hero-Inhalte näher oben */
  #brxe-lkbtwp {
    justify-content: flex-start !important;
  }

  /* 3.6 – Features: vertikale Paddings 60px */
  #brxe-qqqbho {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  /* 3.7 – Bildergalerie: padding-top 60, padding-bottom 30 */
  #brxe-eupjmj {
    padding-top: 60px !important;
    padding-bottom: 30px !important;
  }

  /* 3.8 – Anwendungsbereiche: padding-top 30 */
  #use-cases {
    padding-top: 30px !important;
  }

  /* 3.9 – Anwendungsbeispiele-Label: über der Headline, linksbündig wie techvsp-label */
  .anw-label {
    order: -1;
    margin: 0;
    text-align: left;
    justify-content: flex-start;
  }
  .anw-label::before {
    display: block;
  }
  .anw-header {
    row-gap: 10px;
  }

  /* 3.10 – Patent-Badge: innerhalb der Div, oben rechts ohne negatives Überlappen */
  .patent-sigel {
    position: absolute;
    top: -100%;
    right: 0;
    transform: none;
    width: 120px;
  }
}

/* ─── KLEINSTER VIEWPORT (≤478px) ─── */
@media (max-width: 478px) {
  /* 4.1 – VR-Sektion weiter nach oben */
  #intro {
    margin-top: -150px;
  }

  /* 4.4 – Patent-Badge weiter unten */
  .patent-sigel {
    top: -60%;
    right: 0;
  }
}

/* ─── CONTACT FORM: feedback banners + honeypot + privacy link ─── */

/* The form container has margin-bottom: -230px (set in the page's
   bricksInline) which pulls the following footer section up to overlap the
   form's submit area. Without a stacking context the footer wins and eats
   the clicks on the submit button / error-banner mailto link. Give the
   form a higher z-index so it stays interactive. */
#brxe-enptem {
  position: relative;
  z-index: 2;
}

.contact-form-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Both banners sit inside .submit-button-wrapper in place of the submit
   button – so they share the same full-width slot and keep the form visible. */
.contact-form-success,
.contact-form-error {
  padding: 16px 20px;
  border-radius: 5px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--bricks-color-tiaxda, #edeef2);
  text-align: center;
}
.contact-form-success p,
.contact-form-error p {
  margin: 0;
}
.contact-form-success {
  background-color: rgba(148, 241, 255, 0.12);
  border: 1px solid var(--bricks-color-tamiea, #94f1ff);
}
.contact-form-error {
  background-color: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.55);
}
.contact-form-error a {
  color: inherit;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s ease-in-out;
}
.contact-form-error a:hover {
  opacity: 0.75;
}
form.contact-form.is-submitting button[type="submit"] {
  opacity: 0.65;
  cursor: wait;
}
/* Bricks sets display:flex on .bricks-button; beat that when we swap the
   button out for the success banner. */
form.contact-form button[type="submit"][hidden] {
  display: none !important;
}

/* Privacy-policy link inside the form checkbox label:
   Bricks' global "underline every <a>" rule only applies inside certain
   element contexts (.brxe-text, .brxe-list …). Labels/options-wrappers
   are not covered, so the link looked like plain text. Restore it here. */
#brxe-zmwhxv .options-wrapper label a {
  border-bottom: 1px solid var(--bricks-color-tamiea, #94f1ff);
  transition: border-color 0.2s ease-in-out;
}
#brxe-zmwhxv .options-wrapper label a:hover {
  border-bottom-color: var(--bricks-color-vauxut, #ffffff);
}
