/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* ========================================
   CO CSS-VARIABLEN
   ======================================== */

:root {
  /* Farben */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray: #9D9D9D;
  --color-light-gray: #D9D9D9;
  
  /* Navigation Spacing */
  --co-nav-padding-top: 37px;
  /*--co-nav-padding-horizontal: 40px;*/
  --co-nav-gap-logo-to-nav: -15px;
  --co-nav-total-height: 115px;
  --co-logo-height: 40px;
  
  /* Mobile Spacing */
  --co-mobile-padding: 10px;
  --co-mobile-menu-top: 100px;
  --co-mobile-architekten-bottom: 50px;
  
  /* Transitions */
  --co-transition-speed: 0.3s;
  --co-transition-easing: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Focus States (transparent = unsichtbar, bei Bedarf auf --color-black ändern) */
  --co-focus-outline-color: transparent;
  --co-focus-outline-width: 2px;
  --co-focus-outline-offset: 4px;
  
  /* z-index */
  --co-nav-z-index: 999;
}

/*---------------------------- DIRTY HACKS ----------------------------*/

/*---------------------------- Typo ----------------------------*/

p {
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  word-break: break-word;
  overflow-wrap: break-word;
}

.co_p1-lead {
  font-family: "SangBleu Kingdom";
  font-size: 27px !important;
  line-height: 39px !important;
  --text-line-height: 39px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  word-break: break-word;
  overflow-wrap: break-word;
}

.co_p2-lauftext {
  font-family: "Euclid Circular B";
  font-size: 24px !important;
  line-height: 33px !important;
  --text-line-height: 33px !important;
  font-weight: 400 !important;
  letter-spacing: 0px !important;
  text-align: left;
}

.co_p3-zusatz {
  font-family: "Euclid Circular B";
  font-size: 16px !important;
  line-height: 24px !important;
  --text-line-height: 24px !important;
  font-weight: 400 !important;
  letter-spacing: 0px !important;
  text-align: left;
}

.brxe-text {
  overflow-wrap: anywhere;
  /*word-break: normal;*/
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  word-break: break-word;
  overflow-wrap: break-word;
}

* {
	text-decoration-thickness: 2px;
}

/*---------------------------- Layout ----------------------------*/

#brx-content {
	margin-top: 115px;
}

body.home #brx-content {
	margin-bottom: 0;
}

body.page-projekte #brx-content,
body.single-projekt #brx-content,
body.page-buero #brx-content,
body.page-stellen #brx-content,
body.single-stelle #brx-content,
body.page-news #brx-content,
body.post-type-archive-news #brx-content,
body.page-kontakt #brx-content {
	/*margin-bottom: 165px;*/
	var(--space-l)
}

/*---------------------------- Symbole ----------------------------*/


/*---------------------------- Links ----------------------------*/


/*---------------------------- Buttons ----------------------------*/

/* ============================================
   CO-BUTTON MIT CROSSFADE-ANIMATION
   ============================================ */

.co-button-email,
.co-button-weitereprojekte {
  /* LAYOUT */
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  
  /* GRÖSSEN */
  height: 68px;
  border: 1px solid #000;
  border-radius: 10px;
  
  /* HINTERGRUND */
  background-color: #ffffff;
  
  /* FONT */
  font-family: 'SangBleu Kingdom', serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 39px;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  
  /* INTERACTION */
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  position: relative;
}

/*========================================
STELLEN-EMAIL BUTTON MIT SMOOTH ZOOM
========================================*/

.co-button-email {
  width: 195px;
  padding: 14px 24px;
  position: relative;
}

.co-button-email::after {
  content: '';
  position: absolute;
  right: 35px;
  top: 50%;
  transform: translateY(-50%) scale(1);
  width: 27px;
  height: 26px;
  background-image: url('/wp-content/uploads/2025/10/co-pfeil-rechts-kurz.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.co-button-email::before {
  content: '';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 43px;
  height: 26px;
  background-image: url('/wp-content/uploads/2025/10/co-pfeil-rechts-lang.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.co-button-email:hover::after {
  opacity: 0;
  transform: translateY(-50%) scale(0.5);
}

.co-button-email:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.co-button-email:active {
  background-color: #D9D9D9;
}

.co-button-email:active::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.co-button-email:active::before {
  opacity: 0;
  transform: translateY(-50%) scale(0);
}

/* ============================================
WEITERE PROJEKTE BUTTON MIT SMOOTH ZOOM
============================================ */

.co-button-weitereprojekte {
  width: 310px;
  padding: 14px 24px;
  position: relative;
}

/* Kurzer Pfeil (sichtbar normal) */
.co-button-weitereprojekte::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) scale(1);         /* ← Zentriert + Scale */
  width: 26px;
  height: 27px;
  background-image: url('/wp-content/uploads/2025/10/co-pfeil-unten-kurz.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

/* Langer Pfeil (unsichtbar normal) */
.co-button-weitereprojekte::before {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) scale(0);         /* ← Zentriert + Scale */
  width: 26px;
  height: 44px;
  background-image: url('/wp-content/uploads/2025/10/co-pfeil-unten-lang.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

/* Hover: Kurzer wird klein, Langer wird groß */
.co-button-weitereprojekte:hover::after {
  opacity: 0;
  transform: translateY(-50%) scale(0.5);       /* ← Bleibt zentriert */
}

.co-button-weitereprojekte:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);         /* ← Bleibt zentriert */
}

/* Active: Zurück zu kurz */
.co-button-weitereprojekte:active {
  background-color: #D9D9D9;
}

.co-button-weitereprojekte:active::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.co-button-weitereprojekte:active::before {
  opacity: 0;
  transform: translateY(-50%) scale(0);
}

/* ============================================
   FOCUS STATE
   ============================================ */

.co-button-email:focus,
.co-button-weitereprojekte:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* ============================================
   DISABLED STATE
   ============================================ */

.co-button-email:disabled,
.co-button-weitereprojekte:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 991px) and (min-width: 768px) {
  .co-button-email,
  .co-button-weitereprojekte {
    height: 60px;
    font-size: 24px;
    line-height: 35px;
    padding: 12px 20px;
  }
  
  .co-button-email {
    width: 180px;
  }
  
  .co-button-email::after {
    width: 24px;
    height: 23px;
    right: 16px;
  }
  
  .co-button-email::before {
    width: 38px;
    height: 23px;
    right: 16px;
  }
  
  .co-button-weitereprojekte {
    width: 280px;
  }
  
  .co-button-weitereprojekte::after {
    width: 23px;
    height: 24px;
    bottom: 16px;
  }
  
  .co-button-weitereprojekte::before {
    width: 23px;
    height: 38px;
    bottom: 16px;
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 767px) {
  .co-button-email,
  .co-button-weitereprojekte {
    width: 100%;
    height: 56px;
    font-size: 20px;
    line-height: 30px;
    padding: 13px 18px;
  }
  
  .co-button-email::after {
    width: 20px;
    height: 19px;
    right: 14px;
  }
  
  .co-button-email::before {
    width: 32px;
    height: 19px;
    right: 14px;
  }
  
  .co-button-weitereprojekte::after {
    width: 19px;
    height: 20px;
    bottom: 14px;
  }
  
  .co-button-weitereprojekte::before {
    width: 19px;
    height: 32px;
    bottom: 14px;
  }
}

/*---------------------------- Enhancements ----------------------------*/

/*Smooth Scrolling*/
html {
  scroll-behavior: smooth;
}

/* Bei Sticky Header, wobei 80px = Höhe Header 
[id] { scroll-margin-top: 80px; } */


/*---------------------------- Bild-Ausrichtung ----------------------------*/
/*CSS nach Bild-Ausrichtung*/

/*.co-portrait-image {}*/
img.co-portrait-image {
  max-width: 50% !important;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
  display: block;
}

@media (max-width: 768px) {
  img.co-portrait-image {
	  max-width: 100% !important;
	}
}

/*.co-landscape-image {}*/


/*---------------------------- Filter News ----------------------------*/
/* ===================================
   CO FILTER STYLING (TEXT-LINKS ADDITIV)
   =================================== */

/* Filter-Container */
.co-news-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    /*margin-bottom: 40px;*/
    align-items: center;
}

/* Einzelne Filter-Wrapper */
.co-filter-link-wrapper,
.co-news-filter-container > div {
    margin: 0;
}

/* Filter-Links Basis-Styling */
.co-filter-link {
    color: var(--color-gray);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: inline !important;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

/* Hover-Effekt */
.co-filter-link:hover {
    color: var(--color-black);
}

.co-filter-link:hover .co-filter-text {
    text-decoration: underline;  ← NUR der Text!
}

.co-filter-link:hover .co-filter-dot {
    text-decoration: none !important;  ← Punkt bleibt sauber!
}

/* Aktiver Filter */
.co-filter-link.active {
    color: var(--color-black);
    text-decoration: none;
}

.co-filter-link.active:hover .co-filter-text {
    text-decoration: underline;
}

.co-filter-link.active:hover .co-filter-dot {
    text-decoration: none !important;
}

/* Punkt-Icon */
.co-filter-dot {
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
    text-decoration: none !important;
    flex-shrink: 0;
}

.co-filter-text {
    text-decoration: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .co-news-filter-container {
        gap: 16px;
    }
    
    .co-filter-link {
        font-size: 14px;
    }
}

/*========================================
Team Filter - Sanfte Transitions
========================================*/

.brx-grid, #brxe-aovcnv {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.co-filter-link {
  transition: all 0.3s ease;
}

.co_buero_team_card {
  animation: slideUp 0.4s ease forwards;
}

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

/*---------------------------- Bildgrid-/Liste-Filter Projekte ----------------------------*/

/* ======================================
   PARENT NAVIGATION CONTAINER
   ====================================== */

.co-page-nav {
  display: block;
  width: 100%;
}

/* ======================================
   FILTER BUTTONS CONTAINER
   ====================================== */

.co-view-switcher {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* ======================================
   FILTER BUTTONS - STYLING
   ====================================== */

.co-filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Standard: Alle Buttons grau */
.co-filter-btn,
.co-filter-btn * {
  color: var(--color-gray);
}

/* Kinder haben keine Pointer-Events */
.co-filter-btn > *,
.co-filter-btn i,
.co-filter-btn p {
  pointer-events: none;
}

/* Hover: Schwarz */
.co-filter-btn:hover,
.co-filter-btn:hover * {
  color: var(--color-black);
}

/* ======================================
   AKTIVE BUTTONS
   ====================================== */

/* Listen-Ansicht aktiv: Nur Listen-Button schwarz */
.co-page-nav.co-list-view #switch-list-view,
.co-page-nav.co-list-view #switch-list-view * {
  color: var(--color-black);
}

/* Grid-Ansicht aktiv: Nur Grid-Button schwarz */
.co-page-nav.co-grid-view #switch-grid-view,
.co-page-nav.co-grid-view #switch-grid-view * {
  color: var(--color-black);
}

/* ======================================
   SECTIONS SICHTBARKEIT
   ====================================== */

.co-page-nav.co-list-view ~ .co-liste-section {
  display: block;
}

.co-page-nav.co-list-view ~ .co-image-section {
  display: none;
}

.co-page-nav.co-grid-view ~ .co-liste-section {
  display: none;
}

.co-page-nav.co-grid-view ~ .co-image-section {
  display: block;
}

/* ======================================
   PROJEKT-ITEMS INLINE - MIT VARIABLEN
   ====================================== */

.co-project-wrapper {
  display: block;
  width: 100%;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.co-project-item {
  display: inline !important;
  --item-color: var(--color-black);  /* ← VARIABLE auf Item! */
  color: var(--item-color);
}

.co-project-item *,
.co-project-item span,
.co-project-item a {
  display: inline !important;
  margin: 0;
  padding: 0;
  transition: color 0.2s ease;
  color: var(--item-color);
}

.co-project-item::after {
  content: " • ";
  display: inline;
  color: var(--item-color);  /* ← VERWENDET Item-Variable! */
  margin: 0 0.3em;
  font-size: 1.3em;
  vertical-align: baseline;
  transition: color 0.2s ease;
  pointer-events: none;
}

.co-project-item:last-child::after {
  content: "";
  display: none;
}

.co-project-item-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.co-project-item-link:hover {
  text-decoration: none !important;
}

/* --- HOVER-EFFEKTE --- */

/* WRAPPER-HOVER: Alle Items grau */
.co-project-wrapper:hover .co-project-item,
.co-project-wrapper:hover .co-project-item::after {
  --item-color: var(--color-gray);
}

/* ITEM-HOVER: Nur dieses Item schwarz */
.co-project-wrapper:hover .co-project-item:hover {
  --item-color: var(--color-black);
}

/*---------------------------- Kategorien-Filter Projekte ----------------------------*/

/* ======================================
   KATEGORIE FILTER WRAPPER
   ====================================== */

.co-category-filter-wrapper {
  /*margin: 2rem 0 1rem 0;*/
  padding-bottom: var(--space-xs);
}

/* Toggle Button */
.co-filter-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--color-gray);
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  border: none;
  background: none;
}

.co-filter-toggle:hover {
  color: var(--color-black);
}

.co-toggle-icon {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.co-filter-toggle.co-expanded .co-toggle-icon {
  transform: rotate(45deg);
}

/* ======================================
   KOLLAPSIBLE FILTER SEKTION
   ====================================== */

.co-category-filters {
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /*margin-top: 1rem;*/
}

.co-category-filters.co-collapsed {
  max-height: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
}

.co-category-filters.co-expanded {
  max-height: 800px;
  padding: 0 0;
  opacity: 1;
  visibility: visible;
}

/* ======================================
   FILTER GRID (4 Spalten)
   ====================================== */

.co-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  align-items: start;
  width: 100%;  /* ← WICHTIG! */
  box-sizing: border-box;  /* ← WICHTIG! */
}

/* Responsive: */
@media (max-width: 1200px) {
  .co-filter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .co-filter-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ======================================
FILTER SPALTEN - ÜBERSCHRIFTEN
====================================== */

.co-filter-column > span.brxe-text-basic {
  font-family: "Euclid Circular B";
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  /*margin-bottom: 0.75rem;*/
  color: var(--color-black);
  display: block;
  text-align: left;
}

/* ======================================
BUTTON GROUPS ALT
====================================== */

/*.co-button-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
} */

/* ======================================
BUTTON GROUPS - SIMPLE FLEX WRAP
====================================== */

.co-button-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  align-items: flex-start !important;
  width: 100% !important;
}

/* Alle Wrapper-Divs wieder inline */
.co-button-group > * {
  display: inline !important;
  width: auto !important;
}

.co-button-group > * > * {
  display: inline !important;
  width: auto !important;
}

/* ======================================
KATEGORIE TEXTBUTTONS
====================================== */

.co-category-btn {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 1.5rem 0.5rem 0 !important;
  display: inline !important;
  color: var(--color-gray);
  cursor: pointer;
  transition: color 0.2s ease;
  font-size: 16px !important;
  white-space: nowrap;
}

.co-category-btn p {
  margin: 0 !important;
  padding: 0 !important;
  display: inline !important;
  font-family: "Euclid Circular B" !important;
  font-size: 16px !important;
  line-height: 24px;
  color: var(--color-gray);
  transition: color 0.2s ease;
}

/* ======================================
FILTER-PUNKT (grau, KEINE Unterstreichung)
====================================== */

.co-category-btn .co-filter-dot {
  display: inline;
  color: var(--color-gray);
  font-weight: bold;
  font-size: 18px;
  transition: color 0.2s ease;
  text-decoration: none !important;
  padding-right: 5px;
}

/* ======================================
TEXT IM <u> TAG (Normal = keine Unterstreichung)
====================================== */

.co-category-btn u {
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

/* ======================================
HOVER STATE
====================================== */

.co-category-btn:hover {
  color: var(--color-black);
}

.co-category-btn:hover p {
  color: var(--color-black);
}

.co-category-btn:hover .co-filter-dot {
  color: var(--color-black);
}

.co-category-btn:hover u {
  text-decoration: underline;
  text-decoration-color: var(--color-black);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ======================================
ACTIVE STATE
====================================== */

.co-category-btn.co-active p {
  color: var(--color-black);
}

.co-category-btn.co-active .co-filter-dot {
  color: var(--color-black);
}

.co-category-btn.co-active u {
  color: var(--color-black);
}

/* ======================================
FOCUS STATE
====================================== */

.co-category-btn:focus {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

/* ======================================
DISABLED STATE
====================================== */

.co-category-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ======================================
   ZEITRAUM BUTTONS SPEZIAL
   ====================================== */

/*.co-filter-zeitraum .co-category-btn.co-active::before {
  content: "→ ";
  position: absolute;
  left: -1rem;
}*/

/*.co-filter-zeitraum .co-category-btn.co-active {
  position: relative;
}*/

/* ======================================
   PROJEKT-ELEMENTE: GEFILTERTE STATES
   ====================================== */

/* Listen-Ansicht: Ausgegraute Projekte */
.co-project-item.co-filtered-out {
  opacity: 1;
}

.co-project-item.co-filtered-out,
.co-project-item.co-filtered-out * {
  color: var(--color-gray) !important;
}

.co-project-item.co-filtered-out .co-project-item-link {
  color: var(--color-gray) !important;
  pointer-events: none;
  cursor: default;
}

/* Grid-Ansicht: Ausgegraute Projekte mit gedimmten Bildern */
.co-image-section .brxe-container.co-filtered-out {
  position: relative;
}

/* Text ausgegraut */
.co-image-section .brxe-container.co-filtered-out .co-project-item-link,
.co-image-section .brxe-container.co-filtered-out p,
.co-image-section .brxe-container.co-filtered-out a {
  color: var(--color-gray) !important;
}

/* Bild gedimmt/milchig */
.co-image-section .brxe-container.co-filtered-out img {
  opacity: 0.35;
  filter: grayscale(30%) brightness(1.15);
  transition: all 0.3s ease;
}

/* Weißer Overlay über Bild */
.co-image-section .brxe-container.co-filtered-out figure {
  position: relative;
}

.co-image-section .brxe-container.co-filtered-out figure::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: all 0.3s ease;
}

/* ======================================
   SMOOTH TRANSITIONS
   ====================================== */

.co-project-item,
.co-image-section .brxe-container {
  transition: all 0.3s ease;
}

.co-project-item *,
.co-image-section .brxe-container * {
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* ======================================
   PAGE NAVIGATION HOVER HACK
   ====================================== */
   
/*========================================
VG HOVER - RECHTE SEITE (Post-Navigation)
========================================*/

#brxe-rsvsbr, #brxe-bqckut, #brxe-ibmrqr {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9D9D9D;
  font-family: "Euclid Circular B", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

#brxe-rsvsbr:hover, #brxe-bqckut:hover, #brxe-ibmrqr:hover {
  color: #000000;
  text-decoration: underline;
}

/* MAGIC: SVG bei Hover schwarz */
#brxe-rsvsbr:hover svg, #brxe-bqckut:hover svg, #brxe-ibmrqr:hover svg {
  filter: brightness(0) saturate(100%);
  transition: filter 0.3s ease;
}

#brxe-rsvsbr svg, #brxe-bqckut svg, #brxe-ibmrqr svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: filter 0.3s ease;
}

#brxe-rsvsbr svg {
  width: 14px;
  height: 14px;
}

#brxe-rsvsbr .text, #brxe-bqckut .text, #brxe-ibmrqr .text {
  display: inline;
}

@media (max-width: 480px) {
  #brxe-rsvsbr .text, #brxe-bqckut .text, #brxe-ibmrqr .text {
    display: none;
  }
}

/* LINKE SEITE PROJEKT - HOVER-EFFEKT */
#brxe-onimrb:hover, #brxe-pxdtif:hover, #brxe-ujglra:hover, #brxe-gpjddc:hover {
  color: #000000;
  text-decoration: underline;
}

#brxe-onimrb, #brxe-pxdtif, #brxe-ujglra, #brxe-gpjddc {
  gap: 0;
}

#brxe-onimrb svg, #brxe-pxdtif svg, #brxe-ujglra svg, #brxe-gpjddc svg {
  transition: all 0.3s ease;
}

/* LINKE SEITE BÜRO - HOVER-EFFEKT */
#brxe-qodpwb:hover, #brxe-fdawbu:hover, #brxe-baqlxu:hover, #brxe-hqlzeh:hover {
  color: #000000;
  text-decoration: underline;
}

#brxe-qodpwb, #brxe-fdawbu, #brxe-baqlxu, #brxe-hqlzeh {
  gap: 0;
}

#brxe-qodpwb svg, #brxe-fdawbu svg, #brxe-baqlxu svg, #brxe-hqlzeh svg {
  transition: all 0.3s ease;
}

/*---------------------------- BUERO ----------------------------*/

/* CARD Hover - Scale wirkt auf Bild */
.co_buero_team_card:hover .brxe-xujwfy.brxe-image,
.co_buero_team_card:hover .brxe-ncthle.brxe-image {
  transform: scaleX(1.15) scaleY(1.15);
  transition: transform 0.4s ease !important;
}

.brxe-xujwfy, .brxe-ncthle {
  transition: transform 0.4s ease !important;
}

.co_buero_team_card {
  transition: all 0.4s ease;
}

/* Subtile Shadow */
/*.co_buero_team_card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}*/

/*---------------------------- STELLEN ----------------------------*/
/*========================================
STELLEN LISTE - HOVER EFFEKTE
========================================*/

/* HOVER: Gehoverte Zeile schwarz */
.co_stellen_listenzeile-loop:hover {
    color: var(--color-black);
    border-color: var(--color-black);
}

/* HOVER: Andere Zeilen grau */
.co_stellen_listenzeile-loop:hover ~ .co_stellen_listenzeile-loop {
    color: var(--color-gray);
    border-color: var(--color-black);
}

.co_stellen_listenzeile-loop:hover ~ .co_stellen_listenzeile-loop h2,
.co_stellen_listenzeile-loop:hover ~ .co_stellen_listenzeile-loop p,
.co_stellen_listenzeile-loop:hover ~ .co_stellen_listenzeile-loop h2 a {
    color: var(--color-gray);
}

/* HOVER: Zeilen davor auch grau */
.co_stellen_listenzeile-loop:has(~ .co_stellen_listenzeile-loop:hover) {
    color: var(--color-gray);
}

.co_stellen_listenzeile-loop:has(~ .co_stellen_listenzeile-loop:hover) h2,
.co_stellen_listenzeile-loop:has(~ .co_stellen_listenzeile-loop:hover) p,
.co_stellen_listenzeile-loop:has(~ .co_stellen_listenzeile-loop:hover) h2 a {
    color: var(--color-gray);
}

/* HOVER: PFEIL animieren (-50% → 0) */
.co_stellen_listenzeile-loop:hover .co_stellen_listenzeile_icon {
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

/* HOVER: Text-Wrapper nach rechts (gleichzeitig) */
.co_stellen_listenzeile-loop:hover .co_stellen_listenzeile_textwrapper {
    margin-left: 18px;
    transition: margin-left 0.3s ease;
}

/* HOVER: Text-Wrapper nach rechts (gleichzeitig) */
.co_stellen_listenzeile-loop:hover .co-stellen-listenzeile-textwrapper__stellenprozent {
    padding-right: 0;
    transition: padding-right 0.3s ease;
}

/* Text wird schwarz */
.co_stellen_listenzeile-loop:hover h2,
.co_stellen_listenzeile-loop:hover p {
    color: var(--color-black);
    transition: color 0.3s ease;
}

/* Link unterstrichen */
.co_stellen_listenzeile-loop:hover h2 a {
    text-decoration: underline;
}

/* HOVER: Pfeil der grauen Zeilen wird grau */
.co_stellen_listenzeile-loop:hover ~ .co_stellen_listenzeile-loop .co_stellen_listenzeile_icon img,
.co_stellen_listenzeile-loop:has(~ .co_stellen_listenzeile-loop:hover) .co_stellen_listenzeile_icon img {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* HOVER: Pfeil der gehoverten Zeile bleibt schwarz/farbig */
.co_stellen_listenzeile-loop:hover .co_stellen_listenzeile_icon img {
    filter: grayscale(0%);
    opacity: 1;
    transition: filter 0.3s ease, opacity 0.3s ease;
}


/*---------------------------- FOOTER ----------------------------*/

/* ========================================
   FOOTER BASIS - 45px Normal, 115px Hover
   ======================================== */

.co-footer {
  background-color: var(--color-black);
  color: var(--color-white);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 45px;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.co-footer:hover {
  height: 115px;
}

/* ========================================
   CONTAINER - Am Boden fixiert
   ======================================== */

.co-footer-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 3rem;
  height: 45px;
}

/* ========================================
   LINK-GRUPPEN Links & Rechts
   ======================================== */

.co-footer-links,
.co-footer-links-right {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
  height: 45px;
  padding-bottom: 0.75rem;
}

.co-footer-link {
  color: var(--color-light-gray);
  text-decoration: none;
  font-size: 20px;
  line-height: 24px;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.co-footer-link:hover {
  color: var(--color-white);
}

/* Zwischenraum-Element */
.co-nav-desktop-spacer,
.co-nav-mobil-spacer {
  flex: 0.5; /* gleiche Zwischenräume */
}

/* ========================================
   FIRMEN-CENTER - Expandiert nach oben
   ======================================== */

.co-footer-company {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;  /* NICHT center! */
  height: 115px;
  justify-content: flex-end;
}

.co-company-name {
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: var(--color-white);
  white-space: nowrap;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  padding-bottom: 0.75rem !important;
  margin: 0;
}

.co-footer:hover .co-company-name {
  transform: translateY(-72px);
}

/* ========================================
   ADRESSE - Blendet ein, bündig unten
   ======================================== */

.co-company-details {
  position: absolute;
  bottom: 0.75rem;
  min-width: 220px;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.co-address-line {
  font-size: 20px;
  line-height: 24px;
  color: var(--color-white);
  white-space: nowrap;
  margin: 0;
  padding: 0;
  text-align: center;
}

.co-footer:hover .co-company-details {
  opacity: 1;
  pointer-events: auto;
}

.co-address-line a {
  color: var(--color-white);
}

.co-address-line a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* ========================================
   MOBILE FOOTER - Normal 165px, Hover 235px
   ======================================== */

.co-footer-mobile {
  background-color: var(--color-black);
  color: var(--color-white);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: none;
  height: 165px;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.co-footer-mobile:hover {
  height: 235px;
}

.co-footer-mobile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  gap: 1.5rem;
}

/* Firmeninfo oben */
.co-footer-mobile-company {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

div.brxe-div.co-footer-mobile-company div.brxe-div div.brxe-text-basic.co-company-name {
  font-size: 20px;
  line-height: 24px;
  color: var(--color-white);
  margin: 0;
  padding: 0 !important;
  font-weight: 400;
}

.co-company-details-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.co-footer-mobile:hover .co-company-details-mobile {
  opacity: 1;
  max-height: 100px;
}

.co-company-details-mobile .co-address-line {
  font-size: 20px;
  line-height: 24px;
  color: var(--color-white);
  white-space: normal;
  margin: 0;
  padding: 0;
  text-align: center;
}

.co-company-details-mobile a {
  color: var(--color-white);
  text-decoration: none;
}

.co-company-details-mobile a:hover {
  text-decoration: underline;
}

/* 2x2 Grid für Links */
.co-footer-mobile-links-grid {
  position: absolute;
  bottom: 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  width: 100%;
  max-width: 80vw;
}

.co-footer-mobile-col {
  display: flex;
  justify-content: center;
}

.co-footer-mobile-col .co-footer-link {
  font-size: 20px;
  line-height: 24px;
  color: var(--color-light-gray);
  text-decoration: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.co-footer-mobile-col .co-footer-link:hover {
  var(--color-white)
}

/* Mobile anzeigen ab <=768px */
@media (max-width: 768px) {
  .co-footer-mobile {
    display: block;
  }
  
  .co-footer {
    display: none;
  }
}

/*---------------------------- DIRTY HACKS PRIO 1 ----------------------------*/

/* Header transparent */
/*body #brx-header,
body .co-nav-wrapper,
body .co-nav-desktop {
    background: transparent !important;
}*/
