/*
Theme Name: Zweiqplus 2025
* Version: 1.0
* Theme URI: xxx.de
Text Domain: Zweiqplus
Domain Path: /languages
Description: Theme fÃ¼r die Firma Zweiqplus
Author: Tempus Webdesign
Author URI: https://tempus-webdesign.de
*/
:root {
  --color-1: #bfbfbf;
  --color-2: #fabe1b;
  --color-3: #009fe3;
  --color-4: #eaf1f4;
  --color-5: #2f3032;
  --color-6: rgb(234 241 244 / 80%);
  --text-1: var(--color-1);
  --text-2: var(--color-2);
  --text-3: var(--color-3);
  --text-4: var(--color-4);
  --text-5: var(--color-5);
  --bs-border-radius: 0.5rem; /* Bootstrap Standard Radius */
  --bs-primary-rgb: 0, 159, 227; /* #009fe3 als neue Bootstrap-Farbe */
  --bs-secondary-rgb{ var(--color-2) }; /* #2f3032 als Sekundärfarbe */
}
body {
  color: #2f3032;
  font-size: 20px;
  font-family: "Source Sans 3", sans-serif;
}

.container-xl {
  max-width: 1500px;
}
.bg-1 {
  background: var(--color-1);
}
.bg-2 {
  background: var(--color-2);
}
.bg-3 {
  background: var(--color-3);
}
.bg-4 {
  background: var(--color-4);
}
.bg-5 {
  background: var(--color-5);
}
.bg-6 {
  background: var(--color-6);
}
.text-1 {
  color: var(--color-1);
}
.text-2 {
  color: var(--color-2);
}
.text-3 {
  color: var(--color-3);
}
.text-4 {
  color: var(--color-4);
}
.text-5 {
  color: var(--color-5);
}
.txt-greren {
  color: #6e8673;
}
a:link,
a:visited {
  color: var(--color-3);
}
a:hover {
  opacity: 0.8;
}
.link-box {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}
.container-xl {
  max-width: 1500px;
}
.container-top {
  padding-top: 5em;
  margin-top: -7em;
}
li {
  list-style: #fff;
}
.txt-call-to-aktion {
  font-size: 1.5em;
  font-weight: bold;
}



h2 {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 3rem;
}
h3 {
  letter-spacing: 2px;
}
@media (max-width: 600px) {
h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6 {
    font-size: 1em;
  }
}
/*------Header----*/

.logo {
  max-width: 300px;
}



.bg-image {
  background: url(assets/img/header.jpg) no-repeat cover;
  min-height: 70vh;
  background-size: 100% auto;
  position: relative;
  display: flex;
  align-items: center;
  background-position: center center;
  
}
@media (max-width: 600px) {
.logo {
  max-width: 200px;
    
}
.bg-image{  background-position-x: 73%;}
}
.mask {
  /* background-color: rgba(0, 0, 0, 0.45); */

  width: 100%;
  height: 100%;
  overflow: hidden;
  background-attachment: fixed;
}


.bild-rechts{ order: 5;}
/*----------Animation------------*/
.animate-box {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.home-leistungen .card {
  box-shadow: 0 2px 0 1px #ccc;
}
.home-leistungen .card:hover {
  box-shadow: 0 2px 0 1px var(--color-3);
}
/*------Footer----*/
.top-button {
  width: 50px;
}
.logo-footer {
  max-width: 350px;
}
.footer-container a:link,
.footer-container a:visited {
  color: #7b7b7b;
}
#menu-impressum-menue {
  padding: 0;
}
.impress-nav ul,
.footer-nav ul {
  padding: 0;
}
/*-----Allgemein-----*/
.front-page-first-container p{ 
 line-height: 3em;
 font-weight: bold;

}
/* Headline */
.headline {
  text-align: center;
  margin-bottom: 3rem;
}
.overline-text,
.headline .overline {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--color-2); /* Gelborange aus deiner Palette */
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-3); /* Blau aus deiner Palette */
}

h2,
h3,
h4 {
  color: #000;
}

/* Icon-Box */
.icon-box {
  background-color: #f8f9fa; /* Bootstrap Hellgrau – kannst du auch mit var(--color-1) ersetzen */
  padding: 2rem 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

.icon-box:hover {
  background-color: white;
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.icon-box h5 {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-3); /* text-3 = Blau */
}

.icon-box p {
  color: var(--text-5); /* text-1 = Grau */
}

/* Buttons im Kontext */
.text-center .btn {
  margin: 0 0.5rem;
  min-width: 160px;
}

.btn-primary {
  background-color: var(--color-3);
  border-color: var(--color-3);
}

.btn-primary:hover {
  background-color: #007bb8;
  border-color: #007bb8;
}

.btn-secondary {
  background-color: var(--color-5);
  border-color: var(--color-5);
  color: #fff;
}

.btn-secondary:hover {
  background-color: #999;
  border-color: #999;
}
.icon-image {
  max-width: 135px;
}

/*--Vorteile Home---*/
.group1-container {
  background: var(--color-2) url(assets/img/bg-gelb.jpg) no-repeat center center;
  background-size: cover;
}
.home .group1-container {
}

.nummer {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  left: 2em;
  top: 2em;
  position: absolute !important;
}

.info-box {
  background: #fff5d1; /* zartes Gelb */
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

@media (min-width: 1400px) {
  
  .image-overflow {
    
    width: auto;
  }    .bild-links .image-overflow{
  margin-left: -80px; /* auf größeren Viewports mehr Versatz */
  }.bild-rechts .image-overflow{
margin-right: -80px; /* auf größeren Viewports mehr Versatz */
    }
}
.container-sm{ max-width: 950px;}
.icon-box p.text-2 {
  color: var(--color-2);
}
.current_page_item a{ color: var(--color-3);}
.main-nav ul li:not(:first-child):hover a:before

/*, .main-nav ul li:not(:first-child).current_page_item a:before, .main-nav ul li:not(:first-child).current-menu-item a:before */ {
  border-bottom: 1px solid var(--color-2);
  position: absolute;
  bottom: 0;
  content: "";
  height: 2px;
  width: 70%;
  left: 15%;
}
.main-nav .current-menu-item a{
  color: var(--color-2);
  font-weight: bold;
}
.border-secondary {
    --bs-border-opacity: 1;
    border-color: var(--bs-secondary-rgb) !important ;
}
.topbar a{ padding: 0 .5rem }


/* Breadcrumb-Wrapper */
#breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #fff;

    /* background-color: var(--color-6); */
    border-radius: var(--bs-border-radius);
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); */
}

/* Breadcrumb Links */
#breadcrumb a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease-in-out;
}

#breadcrumb a:hover {
    color: var(--text-2);
    text-decoration: underline;
}

/* Trennzeichen */
#breadcrumb span {
    color: #fff;
}

/* Aktuelle Seite */
#breadcrumb .current {
    color: #ffffff;
    font-weight: 600;
}

/* Home-Icon */
#breadcrumb .home-icon img {
    vertical-align: middle;
    width: 1rem;
    height: 1rem;
    margin-right: 0.3rem;
}
.support-teaser-container .card-body{ background: var(--color-2); color: var(--color-5);}
.card-img, .card-img-bottom, .card-img-top{ height: 100%;}
/* Grundstil */
.card {
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: var(--bs-border-radius);
}
.card a{
  overflow: hidden;
}
/* Bild leicht zoomen bei Hover */
.card-img-top {
    transition: transform 0.4s ease;
}

/* Card Hover Effekt */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.1);
}

/* Bild-Zoom bei Hover */
.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Titel-Link Hover */
.card-title a:hover {
    color: var(--text-3);
    text-decoration: none;
}

/* Tooltip */
.tooltip-wrap {
  position: relative;
  display: inline-block;
  cursor: help;
}

.tooltip-term {
  border-bottom: 1px dotted var(--color-2);
  color: var(--color-2);
  font-weight: 600;
}

.tooltip-box {
  position: absolute;
  top: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #212529;
  border-radius: 10px;
  padding: 16px;
  width: 300px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  line-height: 1.5;
  font-size: 15px;
}

/* Tooltip-Pfeil */
.tooltip-box::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
  box-shadow: 0 -1px 1px rgba(0,0,0,0.1);
}

.tooltip-wrap:hover .tooltip-box {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}


/*PDF*/
/* Container-Layout verbessern */
.wp-block-file {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  background-color: #f8f9fa;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Dateiname mit Icon */
.wp-block-file > a:first-of-type {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  color: #212529;
  flex: 1;
}

/* Richtiges Bootstrap Icon anzeigen */
.wp-block-file > a:first-of-type::before {
  content: "\F356"; /* bi-file-earmark-text */
  font-family: "bootstrap-icons" !important;
  font-style: normal;
  font-weight: normal;
  font-size: 1.2rem;
  color: #0d6efd;
  margin-right: 0.5rem;
  display: inline-block;
}

/* Download-Button */
.wp-block-file__button {
  background-color: #0d6efd;
  color: #fff !important;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.wp-block-file__button:hover {
  background-color: #084298;
  text-decoration: none;
}

/* Mobile Darstellung */
@media (max-width: 576px) {
  .wp-block-file {
    flex-direction: column;
    align-items: flex-start;
  }

  .wp-block-file__button {
    width: 100%;
    margin-top: 0.5rem;
    text-align: center;
  }
}


@media (min-width: 768px) {
  .grid-two-rows {
    display: grid;
    grid-template-rows: 82px auto;
    height: 100%;
  }
  
.home .jumbotron .overline{ font-size: 1.7em;}
.home .jumbotron h1{ font-size: 3.5rem;}
}

.page-id-329 .vorteile-box{ display: flex; align-items: center; text-align: center; justify-content: center;
}


.menu-login > a::before {
  font-family: "Bootstrap Icons";
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  margin-right: 0.4em;
  color: var(--color-3); /* deine gewünschte Farbe */
}

/*----Tooltip*/
/* Popup sichtbar, wenn nicht geschlossen */
#close-popup:checked + #supportPopup {
  display: none;
}

.floating-popup {
  position: fixed;
  bottom: 80px;
  right: 0;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  padding: 2.5rem 1rem 1rem;
  width: 240px;
  z-index: 9999;
  font-size: 0.95rem;
  color: #000;
  animation: fadeIn 1s ease forwards;
  animation-delay: 2s; /* erscheint nach 2 Sekunden */
  opacity: 0;
  pointer-events: none;
}

/* Sichtbar nach Delay */
@keyframes fadeIn {
  to {
    opacity: 1;
    pointer-events: auto;
  }
}

.popup-logo {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50%;
  padding: 4px;
}

.popup-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 18px;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  background: transparent;
  border: none;
}

.popup-text {
  text-align: center;
  line-height: 1.4;
}


.page.page-id-727 .icon-list {
  list-style: none;
  padding-left: 0;
}

.page.page-id-727 .icon-list li {
  position: relative;
  padding-left: 74px;
  margin-bottom: 1rem;
  min-height: 64px;
}

.page.page-id-727 .icon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.page.page-id-727 .icon-list li:nth-child(1)::before {
  background-image: url('assets/img/icons/click.png');
}

.page.page-id-727 .icon-list li:nth-child(2)::before {
  background-image: url('assets/img/icons/ausfuellen.png');
}

.page.page-id-727 .icon-list li:nth-child(3)::before {
  background-image: url('assets/img/icons/speichern.png');
}

.page.page-id-727 .icon-list li:nth-child(4)::before {
  background-image: url('assets/img/icons/unterschreiben.png');
}
.page.page-id-727 .icon-list li:nth-child(5)::before {
  background-image: url('assets/img/icons/senden.png');
}

.login-remember label {width: 100%;}


/* Search */

/* In style.css oder im Customizer hinzufügen */
.search-toggle {
  position: relative;
}

.search-toggle:hover .search-dropdown {
  display: block;
}

.search-dropdown {
  display: none;
  min-width: 250px;
}

/* Forminator */
  .forminator-password-container {
        position: relative;
    }

    .forminator-password-container input[type="password"],
    .forminator-password-container input[type="text"] {
        padding-right: 40px !important;
    }

    .toggle-password-icon {
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        cursor: pointer;
        font-size: 20px;
        color: #555;
        z-index: 2;
        user-select: none;
    }


    picture img {
        display: block;
        max-width: 100%;
        height: auto;
    }