/*
Theme Name: Bridge Child
Version: 1.0.0
Template: bridge
*/

/* ====== Global / Layout ====== */
@media (max-width: 960px){
  .header_top .left,
  .header_top .right { display: none; }
}
@media (max-width: 760px){
  .header_bottom {
    background: #fff !important;
    height: 90px!important;
}
}

@media (max-width: 800px) {
	.qode_elementor_container_inner, .full_width .parallax_content, .qode_elementor_container_inner, .steps_holder_inner, div.grid_section .section_inner, nav.content_menu ul {width:81%!important;}
}

ul {margin-top:25px; margin-bottom:25px;}



/* Navi Abstand */

.header_bottom .container_inner {
    position: relative;
    padding-bottom: 25px;
}

.header_top {height:1px!important;}

ul {list-style-position: outside;}
li {margin-left: 20px;}


/* ====== Skip-Links ====== */
.skip-link{
  position:absolute; top:-40px; left:0; background:#000; color:#fff;
  padding:8px 16px; z-index:1000; text-decoration:none;
}
.skip-link:focus-visible{ top:0; }
.skip-link-top{
  position:absolute; left:-9999px; top:auto; background:#000; color:#fff;
  padding:8px 12px; z-index:1000; text-decoration:none;
}
.skip-link-top:focus-visible{ left:10px; top:10px; }

/* Ziel-Abstand unter Sticky-Header */
#main-content,
input, textarea, select { scroll-margin-top:100px; }

/* ====== CF7 ====== */
.cf7-checkbox-label{
  display:flex; align-items:flex-start; gap:.5em; cursor:pointer;
  font-size:1rem; line-height:1.4;
}
.cf7-checkbox-label input[type="checkbox"]{ margin-top:.2em; flex-shrink:0; }
.error-message{ color:#b00020; font-size:.9em; margin-top:.25em; }
#privacy-hint p{ display:block; margin-bottom:1em; line-height:1.5; }
#privacy-hint a{ text-decoration:underline !important; }
.wpcf7-acceptance input[type="checkbox"]{ display:inline !important; opacity:1 !important; position:relative !important; }

.wpcf7 form.invalid .wpcf7-response-output{
  color:#000 !important; font-size:1rem !important; font-weight:bold !important;
  background:#ffeaea !important; border:2px solid #f00 !important;
  margin-top:1em !important; border-radius:4px !important; line-height:1.4 !important;
}
.wpcf7-not-valid-tip{ color:#000; font-weight:bold; font-size:1rem; }

.q_logo a:focus-visible {
    outline: 0.125rem solid #db1212;
    outline-offset: 0.15rem;
    -moz-outline-radius: 2px;
}

.q_logo a:focus-visible img {
    outline: 0.125rem solid #db1212;
    outline-offset: 0.15rem;
}

/* Basis: Link sauber darstellen */
.logo_wrapper .q_logo a {
  display: inline-block;
  line-height: 0;
}

/* Bilder als Block, damit keine Zeilenkästchen entstehen */
.logo_wrapper .q_logo a img { display: block; }

/* Standard-Outline AUS – wir zeichnen selbst */
.logo_wrapper .q_logo a:focus,
.logo_wrapper .q_logo a:focus-visible { outline: none; }

/* ====== Generisches Tastatur-Fokus-Styling ====== */
a:focus{ outline:none; }
button:focus{ outline:none; }
a:focus-visible, button:focus-visible, input:focus-visible{
  outline:2px solid #db1212; outline-offset:.15rem;
}

/* Slider/Carousels: Fokus nur via Tastatur */
.flexslider a:focus{ outline:none; }
.portfolio_slider a:focus{ outline:none; }
.qode_carousels a:focus{ outline:none; }
.flexslider a:focus-visible,
.portfolio_slider a:focus-visible,
.qode_carousels a:focus-visible{ outline:2px solid #db1212; outline-offset:.15rem; }

/* ====== Accordion (Bridge) ====== */
/* Headline-Grundstil */
.qode-accordion-holder h3.qode-title-holder{ font-size:1rem; padding-right:20px; }

/* Tastatur-Fokus nur bei :focus-visible */
.qode-accordion-holder .qode-title-holder[role="button"]:focus{ outline:none; }
.qode-accordion-holder .qode-title-holder[role="button"]:focus-visible{
  outline:2px solid #db1212; outline-offset:3px;
}
/* keine Doppel-Outlines auf inneren Spans */
.qode-accordion-holder .qode-title-holder *:focus,
.qode-accordion-holder .qode-title-holder *:focus-visible{ outline:none !important; }

/* Panels aus dem Fluss, wenn versteckt (JS setzt [hidden]) */
.qode-accordion-content[hidden]{ display:none !important; }

/* Hover/Farbe (Button-Variante) */
.qode-accordion-holder .qode-title-holder[role="button"]{ color:inherit; }
.qode-accordion-holder .qode-title-holder:hover,
.qode-accordion-holder .qode-title-holder[aria-expanded="true"]{ color:#fff; }

/* ====== Carousels ====== */
.qode_carousels .slides>li{ margin:4px 17px 0 0; }

/* ====== Utilities ====== */
.space-left{ margin-left:20px; }


/* ====== Header Höhe für Skip Main ====== */
.header_top {
       height: 1px!important; }

/* ====== Reverse mobile ====== */

@media (max-width: 768px) {
  .reverse-mobile > .section_inner > .section_inner_margin {
    display: flex;
    flex-direction: column-reverse;
  }

  .reverse-mobile .wpb_column {
    width: 100% !important;
    float: none !important;
    clear: both !important;
  }

  .reverse-mobile .wpb_column:first-child {
    margin-top: 20px;
  }
}

/* Formular */

/* Maxbreite optional */
.d7-cf7--absence{
  max-width: 880px;
}

/* Fieldsets/Legenden rein strukturell */
.d7-fieldset{
  border: 0;
  padding: 0;
  margin: 1.25rem 0 1rem;
}
.d7-fieldset > legend{
  display: block;
  margin: 0 0 .6rem;
  font-weight: 700;          /* statt <strong> um <legend> */
}

/* Zweispaltige Gruppen */
.d7-two{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.d7-two > div{ min-width: 0; }  /* verhindert Überlauf bei langen Inhalten */

@media (max-width: 720px){
  .d7-two{ grid-template-columns: 1fr; }  /* mobil einspaltig */
}

/* Labels + Inputs neutral */
.d7-cf7--absence label{
  display: block;
  margin: .6rem 0 .35rem;
  font-weight: 600;
}
.d7-cf7--absence input[type="text"],
.d7-cf7--absence input[type="email"],
.d7-cf7--absence input[type="tel"],
.d7-cf7--absence input[type="date"],
.d7-cf7--absence select,
.d7-cf7--absence textarea{
  width: 100%;
  box-sizing: border-box;
  padding: .75rem .875rem;
  line-height: 1.4;
  font: inherit;
}
.d7-cf7--absence textarea{
  min-height: 7.5rem;
  resize: vertical;
}

/* Utility: Element über beide Spalten ziehen */
.span-2{ grid-column: 1 / -1; }

/* Screenreader-Only bleibt unverändert */
.screenreader-only{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Untermenüs standardmäßig verstecken */

/* Zeige Untermenü bei Tastatur-Fokus (focus-within) */
.menu-item-has-children:focus-within > .second {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Zeige Untermenü, wenn per JS aria-expanded="true" gesetzt wurde */
.menu-item-has-children[aria-expanded="true"] > .second {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Wenn aria-expanded aktiv ist: Untermenü zeigen */
.menu-item-has-children[aria-expanded="true"] > .second {
  height: auto !important;
  overflow: visible !important;
  opacity: 1;
  visibility: visible;
  z-index: 9999;
}

/* IMGs */
	
.img-startseite img { margin-top:20%; 
	
	 box-shadow: 0 12px 9px rgba(0, 0, 0, 0.08);
  border-radius: 10px !important;
}

.img-team img {
  box-shadow: 0 12px 9px rgba(0, 0, 0, 0.08);
  border-radius: 10px !important;
  transition: all 0.3s ease; /* weiche Animation */
}

/* Hover-Effekt */
.img-team img:hover {
  box-shadow: 0 16px 20px rgba(0, 0, 0, 0.15);
  transform: scale(1.03);
}

/* Akkordeon */

.qode-accordion-holder .qode-title-holder .qode-accordion-mark {
    left: 0px; margin-top:-2px;
}

.qode-accordion-holder .qode-title-holder .qode-tab-title span.qode-tab-title-inner:only-child {
    padding-left: 40px;
}

/* Hero */

.hero-space-txt {padding-top:20%;}

@media (max-width: 600px) {

 .hero-space-txt {padding-top:30%;}
  }

.hero {
  height: 691px;
  background-image: url('/wp-content/uploads/2025/11/bg-header-1.webp');
  background-position: center center;
  background-repeat: no-repeat;
    background-size: auto !important;
}

/* Responsive Höhe anpassen */
@media (max-width: 1024px) {
  .hero {
    height: 60vh; /* skaliert automatisch auf Tablets */
  }
}

@media (max-width: 640px) {
  .hero {
    height: 60vh; /* skaliert automatisch auf Smartphones */
  }
}
.hero-headline {
  display: inline-flex;     /* ganz wichtiger Trick! */
  flex-direction: column;
  gap: 1px;                 /* Haarlinie */
  margin: 0;
  padding: 0;
}

.hero-headline .line {
    display: inline-block;
    width: max-content;
    padding: 15px 30px;
    font-size: 56px;
    line-height: 1.2;
    color: #0d1321;

    /* Glassmorphism / Glossy */
    background: rgba(255, 255, 255, 0.92);              /* transparenter White-Frost */


    border-radius: 15px;}

@media (max-width: 1024px) {
  .hero-headline .line {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .hero-headline .line {
    font-size: 22px;
    padding: 10px 20px;
  }
}

.hero-headline .line.fett h1{
    font-family: 'd7 - Montserrat-Bold', sans-serif;
    font-weight: 800 !important;
}

/* negative Einzüge */

.neg-slider {margin-top:-7rem;}

@media (max-width: 600px) {

 .neg-slider {margin-top:-14rem;}
  }


/* Servicegrid */

/* GRID */
.services-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 40px;
  width: 100%;
}

/* BOX */
.service-box {
  background: #070d26;
  border-radius: 26px;
  box-shadow: 0 0 35px rgba(255,255,255,0.12);
  overflow: hidden;
  color: #fff;
  isolation: isolate;

  height: 300px;

  display: flex;
  align-items: center;      /* Text vertikal mittig */
  justify-content: space-between;
  padding: 0 40px;

  gap: 20px;
}

/* LINK */
.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* BILDSPALTE */
.service-box .img-wrap {
  display: flex;
  align-items: flex-end;   /* <<< drückt Motiv runter */
  justify-content: center;
  height: 260px;
}

.service-box img {
 height: 100%;            /* <<< WICHTIG: gleiche Höhe erzwingen */
  width: auto;
  object-fit: contain;
	filter: drop-shadow(0px 6px 12px rgba(79, 68, 132, 0.55));
}

/* TEXTSPALTE */
.service-box .content {
  flex: 1 1 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* <<< Text perfekt mittig */
  z-index: 2;
  background: #070d26;
}

.service-box h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 15px;
  color: #fff;
}

.service-box p {
  font-size: 17px;
  line-height: 1.45;
  margin: 0;
  max-width: 420px;
  color: #fff;
}

/* HOVER */
.service-link:hover .service-box {
  transform: translateY(-4px);
  transition: 0.25s ease;
  box-shadow: 0 0 40px rgba(255,255,255,0.18);
}

/* =============================================== */
/* TABLET (max 1000) – 1 Spalte */
/* =============================================== */
@media (max-width: 1000px) {

  .services-grid {
    grid-template-columns: 1fr !important;
  }

  .service-box {
    flex-direction: column;
    height: auto;
    padding: 40px;
  }

  .service-box .img-wrap {
    width: 70%;
    height: auto;
    padding-bottom: 0;
  }

  .service-box img {
    height: auto;
  }

  .service-box .content {
    text-align: center;
    justify-content: center;
    height: auto;
  }
}

/* =============================================== */
/* MOBILE (max 600px) */
/* =============================================== */
@media (max-width: 600px) {

  .service-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;          /* kleinere Box */
    height: auto;                /* nicht mehr unnötig lang */
  }

  .service-box .img-wrap {
    width: 70%;
    height: auto;
    margin: 0 auto;
    padding-bottom: 0;           /* kein Extra-Abstand unten */
  }

  .service-box img {
    width: 100%;
    height: auto;
  }

  .service-box .content {
    text-align: center;
    margin-top: 30px;            /* <<< Bild → 30px → Text */
    padding: 0;
    height: auto;
  }

  .service-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
  }

  .service-box p {
    font-size: 16px;
    line-height: 1.45;
    padding: 0 10px;
  }
}

.more-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: 0.25s ease;
}

.more-link:hover {
  color: #bfd2ff;
  text-decoration: underline;
}
/* Headline */

/* Allgemeiner Style für light */
.light {
    font-family: 'd7 - Montserrat-Bold', sans-serif !important;
    font-weight: 800 !important;
}

/* Erste Zeile individuell */
.first-line {
    font-family: 'd7 - Montserrat-Light', sans-serif !important;
    font-weight: 300 !important;
}


.headline-white h2 {color:#fff; padding-top: 50px; padding-bottom:50px;}

/* CTA BOX */
.cta-box {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 70px;
    background: #070d26;
    border-radius: 26px;
    color: #fff;
    margin: 30px 0;
    box-shadow: 0 0 35px rgba(0,0,0,0.08);

    /* Animation */
    transition: 
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

/* Hover Effekt */
.cta-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 45px rgba(255,255,255,0.12);
    background: #0a1033; /* minimal heller → subtiler 3D Effekt */
}

/* Rundes Bild */
.cta-img {
    flex: 0 0 208px;
    height: 208px;
    width:  208px;
}

.cta-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0px 6px 70px rgba(79, 68, 132, 0.75));
}

/* Textspalte */
.cta-content h2 {
    font-size: 26px;
    margin-bottom: 20px;
	color:#fff;
}

.cta-content p {
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 30px;
	color:#fff;
}

/* Button */
.cta-btn {
    display: inline-block;
    padding: 14px 38px;
    background: #fff;
    color: #070d26;
    font-size: 18px;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    transition: 0.25s ease;
}

.cta-btn:hover {
    background: #e7e7e7;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
    }

    .cta-img {
        flex: 0 0 220px;
        height: 220px;
        width: 220px;
    }

    .cta-content p {
        margin: 0 auto 30px;
    }
}


/* IMG */

.bilder img {border-radius:10px;}

/* Border Menü */

.drop_down .second .inner ul, .drop_down .second .inner ul li ul, .shopping_cart_dropdown, li.narrow .second .inner ul, .header_top .right #lang_sel ul ul, .drop_down .wide .second ul li.show_widget_area_in_popup .widget, .drop_down .wide.wide_background .second
 {
    border-radius: 15px!important;
}

/* Footer */

footer {margin-top:70px;}
