/* DEVELOPMENT */
.otgs-development-site-front-end {
    display: none;
}

/*
header {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}
*/

/* Scrollav FRONTPAGE ONLY*/
nav.scroll-nav {
    position: fixed;
    top: 42%;
    z-index: 99;
}

.scroll-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 42px;
}

p strong {
    font-weight: 600;
}


/* link base */
.scroll-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    line-height: 0;
    padding-left: 13px;
}

.scroll-nav__link::before {
    content: "";
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    display: block;
    transition: all 0.25s ease;
    box-sizing: border-box;
    margin-right: 13px;
}

/* hover */
.scroll-nav__item:not(.scroll-nav__item--active) .scroll-nav__link:hover::before {
  border-color: #00BEFF;
  transform: scale(1.15);
}

/* active circle */
.scroll-nav__item--active .scroll-nav__link::before {
  background: #00BEFF;
  border-color: #00BEFF;
  box-shadow: 0 0 10px rgba(0, 190, 255, 0.6);
  transform: scale(1.2);
}

/* active text (optional glow if text is used somewhere) */
.scroll-nav__item--active .scroll-nav__link {
  text-shadow: 0 0 8px rgba(0, 190, 255, 0.6);
}

/* focus accessibility */
.scroll-nav__link:focus-visible::before {
  outline: 2px solid rgba(0, 190, 255, 0.6);
  outline-offset: 4px;
}

.scroll-nav * {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* TAGLINE FRONTPAGE */
.frontpage-tagline {
    position: absolute;
    right: 4%;
    top: 225%;
    transform: translateY(-50%) rotate(90deg);
    z-index: 9999;
    color: white;
    font-size: 90px;
    font-weight: 500;
    opacity: 0.2;
    transform-origin: right center;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
}


/* OVERFLOW HIDDEN WG FADE BUTTONS*/

/*
.wp-site-blocks {
    overflow-x: hidden
}
*/

.wp-site-blocks header + div {
    overflow-x: hidden;
}

/* BREADCRUMB */
nav.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 7px;
    padding-left: 0;
}

nav.breadcrumb ol li:last-of-type {
    font-weight: 500;
}

nav.breadcrumb a {
    text-decoration: none;
    color: white;
}

nav.breadcrumb {
    font-family: inherit;
    font-weight: 500;
    text-decoration: none;
    color: white;
}

nav.breadcrumb img {
    width: 15px;
    height: 15px;
    position: relative;
    top: 1px;
}


/*
.tm-grid {
  display: flex;
  flex-direction: row;
  gap: 20px;
}


.tm-card {
    flex-basis: 33%;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    overflow: hidden;
    background: #fff;
}

.tm-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.tm-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.tm-views {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.tm-view {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.tm-view h2 {
    font-size: 24px;
    color: #0A4693;
    margin-bottom: 0;
}

.tm-view .tm-position {
    color: #00BEFF;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

.tm-view.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tm-scroll {
  height: 100%;
  overflow-y: auto;
  padding-right: 6px;
}

.tm-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.tm-buttons button {
  flex: 1;
  padding: 8px;
  border: none;
  background: #00BEFF;
  cursor: pointer;
  border-radius: 0px;
  transition: background 0.2s;
  color: white;
}

.tm-buttons button:hover {
  background-color: #009ED5;
}

.tm-linkedin {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: bold;
    text-decoration: none;
    position: absolute;
    right: 0;
    background-color: #00BEFF;
    color: white;
    padding: 1px 4px;
    border-radius: 4px;
}

.tm-linkedin:hover {
  background-color: #009ED5;
}

.tm-view .email {
    text-decoration: none;
    color: inherit;
}

.tm-view .blue-bold {
    color: #00BEFF;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}
.tm-view[data-view="vita"].active {
    display: flex;
    flex-direction: column;
}
*/

.tm-grid {
    display: flex;
    align-items: flex-start; /* important */
    gap: 20px;
}

.tm-card {
    flex-basis: 33%;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: visible; /* important */
    transition: all 0.3s ease;
}

/* default closed height */
.tm-card:not(.vita-active) {
    min-height: 620px;
}

/* expanded card only */
.tm-card.vita-active {
    min-height: 900px; /* adjust as needed */
}

.tm-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.tm-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
}

.tm-views {
    position: relative;
    flex: 1;
}

/* ALL VIEWS */
.tm-view {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    pointer-events: none;
}

/* ACTIVE VIEW */
.tm-view.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* DEFAULT + CONTACT remain absolute */
.tm-view[data-view="default"],
.tm-view[data-view="contact"] {
    position: absolute;
}

/* VITA becomes part of layout */
.tm-view[data-view="vita"].active {
    position: relative;
    inset: auto;
    height: auto;
}

/* remove scrolling completely */
.tm-view[data-view="vita"] .tm-scroll {
    height: auto;
    overflow: visible;
    padding-right: 0;
}

/* TYPOGRAPHY */
.tm-view h2 {
    font-size: 24px;
    color: #0A4693;
    margin-bottom: 0;
}

.tm-view .tm-position {
    color: #00BEFF;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

.tm-view .email {
    text-decoration: none;
    color: inherit;
}

.tm-view .blue-bold {
    color: #00BEFF;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

/* BUTTONS */
.tm-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.tm-buttons button {
    flex: 1;
    padding: 8px;
    border: none;
    background: #00BEFF;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.2s;
    color: white;
}

.tm-buttons button:hover {
    background-color: #009ED5;
}

/* LINKEDIN */
.tm-linkedin {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: bold;
    text-decoration: none;
    position: absolute;
    right: 0;
    background-color: #00BEFF;
    color: white;
    padding: 1px 4px;
    border-radius: 4px;
}

.tm-linkedin:hover {
    background-color: #009ED5;
}

/* VCARD */
.tm-view .vcard {
    text-decoration: none;
    color: #009ED5;
    position: relative;
    top: 2px;
}

.tm-view .vcard:hover {
    font-weight: 500;    
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.header-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* default visible */
#header-default {
  opacity: 1;
  transform: translateY(0);
}

/* hidden state */
#header-scrolled {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

/* active scrolled state */
.scrolled #header-default {
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
}

.scrolled #header-scrolled {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

footer a {
    text-decoration: none;
}

footer .current-menu-item {
    border-bottom: unset;
}

div#header-scrolled figure {
    position: absolute;
    left: 21px;
}

#header-right {
    position: absolute;
    right: 50px;
    top: 15px;
    margin-top: 0;
}


/* LANGUAGE FLAGS */
/* hide default WPML flag/output if present */
.wpml-ls .wpml-ls-flag {
    display: none !important;
}

/* base styling */
.wpml-ls .wpml-ls-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* SVG icon */
.wpml-ls .wpml-ls-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* English */
.wpml-ls-item-en .wpml-ls-link::before {
    background-image: url('https://bluebright.de/wp-content/uploads/de-flag.svg');
}

/* German */
.wpml-ls-item-de .wpml-ls-link::before {
    background-image: url('https://bluebright.de/wp-content/uploads/en-flag.svg');
}

.wpml-ls .wpml-ls-display {
    display: none;
}

.wpml-ls .wpml-ls-link::before {
    width: 45px;
    height: 28px;
}