/* --------- generell nur black -------- */

.dark .offcanvas-3__area {
  background-color: var(--black);
}
/* Offcanvas-Menü im Dark Mode */
.dark .offcanvas-3__area {
  background-color: var(--black);
}

.dark .offcanvas-3__menu li a {
  color: var(--white);
}

.dark .offcanvas-3__meta li,
.dark .offcanvas-3__meta li a,
.dark .offcanvas-3__social .title,
.dark .offcanvas-3__social-links a {
  color: var(--white);
}
@media only screen and (max-width: 991px) {
  .offcanvas-3__menu li a {
    color: rgba(255,255,255,...);
  }
}
.dark .offcanvas-3__area {
  background: var(--black);
}

/* -------- header --------- */

.header-area .header__logo img {
    width: auto;
    height: auto;
    max-height: 66px;
    display: block;
}
.header__logo img {
    display: block !important;
    width: auto !important;
    height: 66px !important;
    max-width: 250px;
}


/* -------- h1 --------- */
/* Großer Desktop */
.hero-area .section-content .section-title {
    font-size: clamp(62px, 6.4vw, 92px);
    line-height: 0.88;
}

/* Laptop */
@media only screen and (max-width: 1700px) {
    .hero-area .section-content .section-title {
        font-size: 62px;
        line-height: 0.92;
        letter-spacing: -1.5px;
    }
}

/* Kleiner Laptop */
@media only screen and (max-width: 1280px) {
    .hero-area .section-content .section-title {
        font-size: 54px;
    }
}

/* Tablet hochkant und quer */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .hero-area .section-content .section-title {
        font-size: 58px;
        line-height: 0.92;
        letter-spacing: -1.5px;
    }
}

/* Smartphone */
@media only screen and (max-width: 767px) {
    .hero-area .section-content .section-title {
        font-size: 56px;
        line-height: 0.9;
        letter-spacing: -2px;
    }
}

/* Smartphone */
@media only screen and (max-width: 767px) {
    .home-page .hero-area .section-content {
        padding-right: 18px;
    }

    .hero-area .section-content .section-title {
        font-size: 50px;
        line-height: 0.92;
        letter-spacing: -1.5px;
        max-width: 100%;
    }
}

/* Kleine Smartphones, unter anderem iPhone 16 Pro */
@media only screen and (max-width: 420px) {
    .hero-area .section-content .section-title {
        font-size: clamp(42px, 11.5vw, 46px);
        line-height: 0.94;
        letter-spacing: -1px;
    }
}

.home-page .hero-area .section-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home-page .hero-area .section-title-wrapper {
    width: 100%;
}

.home-page .hero-area .text-wrapper {
    position: static !important;
    width: 100%;
    max-width: 520px;
    margin-top: 35px;
    transform: none !important;
}

.home-page .hero-area .btn-wrapper {
    position: static !important;
    margin-top: 30px;
    transform: none !important;
}

/* --------  --------- */

.feature-box .thumb {
    margin-bottom: 30px;
}

.feature-box .thumb i {
    font-size: 46px;
    color: #FFD03D;
    transition: .3s;
}

.feature-box:hover .thumb i {
    transform: translateY(-3px);
    color: #FFD03D;
}

.report-area .satisfaction-box .number i {
    font-size: 90px;
    color: #FFD03D;
}

@media only screen and (max-width: 767px) {
    .report-area .satisfaction-box .number i {
        font-size: 64px;
    }
}

/* -------- footer --------- */
.footer-area .footer-logo img {
  max-height: 90px;
}
.footer-area .newsletter .footer-nav-list a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-area .newsletter .footer-nav-list i {
    width: 18px;
    margin-top: 4px;
    color: #FFD03D;
}

.footer-area .newsletter .btn-wrapper {
    margin-top: 28px;
}

#preloader{
    position:fixed;
    inset:0;
    background:#121212;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:opacity .6s ease, visibility .6s ease;
}

#preloader.hide{
    opacity:0;
    visibility:hidden;
}

.preloader-logo img{
    width:240px;
    max-width:70vw;
    animation:logoPulse 1.6s ease-in-out infinite;
}

@keyframes logoPulse{

    0%{
        transform:scale(.92);
        opacity:.4;
    }

    50%{
        transform:scale(1);
        opacity:1;
    }

    100%{
        transform:scale(.92);
        opacity:.4;
    }

}

.clients-area .client-box{
    display:flex;
    align-items:center;
    justify-content:center;
    height:90px;
}

.clients-area .client-box img{
    max-width:140px;
    max-height:50px;
    width:auto;
    height:auto;
    transition:.3s;
    opacity:.85;
    filter:grayscale(100%);
}

.clients-area .client-box:hover img{
    opacity:1;
    filter:none;
    transform:scale(1.05);
}

.footer-area .hwk-box {
    margin-top: 30px;
}

.footer-area .hwk-title {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

.footer-area .hwk-box img {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 70px;
    margin-bottom: 12px;
}

.footer-area .hwk-text {
    color: var(--white-2);
    font-size: 15px;
    line-height: 1.5;
}
.footer-area .social-title {
    margin-top: 28px;
    margin-bottom: 0px;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}
.footer-area .social-links {
  margin-top: 15px;
}

/* -------- impressumm --------- */
/* --------------------------------------------------
   Impressum
-------------------------------------------------- */

.impressum-content{
    margin-top:60px;
    max-width:900px;
}

.impressum-content h2{
    margin:48px 0 18px;
    font-size:28px;
    line-height:1.2;
    font-weight:600;
    color:var(--white);
    position:relative;
    padding-left:22px;
}

.impressum-content h2::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:6px;
    height:26px;
    background:var(--primary);
    border-radius:20px;
}

.impressum-content h2:first-child{
    margin-top:0;
}

.impressum-content p{
    margin:0;
    font-size:17px;
    line-height:1.9;
    color:var(--white-2);
}

.impressum-content strong{
    color:var(--white);
    font-weight:600;
}

.impressum-content a{
    color:var(--primary);
    text-decoration:none;
    transition:.3s;
}

.impressum-content a:hover{
    color:var(--white);
}

@media(max-width:767px){

    .impressum-content h2{
        font-size:24px;
        margin:40px 0 15px;
    }

    .impressum-content p{
        font-size:16px;
        line-height:1.8;
    }

}

/* Impressum: saubere einzelne Zeilen */
.impressum-content .impressum-block {
    margin-bottom: 35px;
}

.impressum-content .impressum-block > div {
    display: block;
    margin-bottom: 6px;
    line-height: 1.55;
}

.impressum-content .impressum-block a {
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Mobile Darstellung */
@media only screen and (max-width: 767px) {

    .impressum-content .impressum-block > div {
        margin-bottom: 10px;
    }

    .impressum-content .impressum-contact span,
    .impressum-content .impressum-contact a {
        display: block;
    }

    .impressum-content .impressum-contact span {
        margin-bottom: 2px;
    }

    .impressum-content .impressum-contact a {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}
/* -------- datenschutz --------- */
.impressum-content,
.datenschutz-content {
    margin-top: 60px;
    max-width: 950px;
}

.impressum-content h2,
.datenschutz-content h2 {
    position: relative;
    margin: 55px 0 20px;
    padding-left: 22px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--white);
}

.impressum-content h2::before,
.datenschutz-content h2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 28px;
    border-radius: 20px;
    background: #FFD03D;
    transform: translateY(-50%);
}

.impressum-content h2:first-child,
.datenschutz-content h2:first-child {
    margin-top: 0;
}

.datenschutz-content h3 {
    margin: 30px 0 12px;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--white);
}

.impressum-content p,
.datenschutz-content p {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.85;
    color: var(--white-2);
}

.impressum-content ul,
.datenschutz-content ul {
    margin: 0 0 24px;
    padding-left: 22px;
}

.impressum-content li,
.datenschutz-content li {
    margin-bottom: 8px;
    list-style: disc;
    font-size: 17px;
    line-height: 1.7;
    color: var(--white-2);
}

.impressum-content strong,
.datenschutz-content strong {
    font-weight: 600;
    color: var(--white);
}

.impressum-content a,
.datenschutz-content a {
    color: #FFD03D;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.impressum-content a:hover,
.datenschutz-content a:hover {
    color: var(--white);
}

@media only screen and (max-width: 767px) {
    .impressum-content,
    .datenschutz-content {
        margin-top: 40px;
    }

    .impressum-content h2,
    .datenschutz-content h2 {
        margin-top: 42px;
        font-size: 23px;
    }

    .datenschutz-content h3 {
        font-size: 19px;
    }

    .impressum-content p,
    .datenschutz-content p,
    .impressum-content li,
    .datenschutz-content li {
        font-size: 16px;
        line-height: 1.75;
    }
}

.contact-formfield textarea {
  width: 100%;
  min-height: 150px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  outline: none;
  resize: vertical;
  background: transparent;
  color: var(--primary);
  font: inherit;
}

.contact-formfield textarea::placeholder {
  color: var(--secondary);
}

.contact-formfield.privacy {
  margin-top: 25px;
}

.contact-formfield.privacy label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.contact-formfield.privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex: 0 0 auto;
  accent-color: #ffd400;
}

.contact-formfield.privacy span {
  font-size: 14px;
  line-height: 1.6;
  color: var(--secondary);
}

.contact-formfield.privacy a {
  color: #ffd400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.black {
  color: var(--black);
}

.contact-page .hero-area .section-content .section-title {
    color: #fff;
}

/* --------------------------------------------------
   Kontaktformular – dunkler Hintergrund
-------------------------------------------------- */

.contact-area .contact-formfield input,
.contact-area .contact-formfield textarea {
    width: 100%;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    outline: none;
    box-shadow: none;
    transition: border-color 0.3s ease;
}

/* Placeholder deutlich heller */
.contact-area .contact-formfield input::placeholder,
.contact-area .contact-formfield textarea::placeholder {
    color: rgba(255, 255, 255, 0.62);
    opacity: 1;
}

/* Aktives Feld */
.contact-area .contact-formfield input:focus,
.contact-area .contact-formfield textarea:focus {
    border-bottom-color: #FFD03D;
}

/* Automatisch eingefüllte Browserdaten */
.contact-area .contact-formfield input:-webkit-autofill,
.contact-area .contact-formfield input:-webkit-autofill:hover,
.contact-area .contact-formfield input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
    box-shadow: 0 0 0 1000px #121212 inset;
    transition: background-color 9999s ease-in-out 0s;
}

/* Textarea */
.contact-area .contact-formfield textarea {
    min-height: 150px;
    resize: vertical;
}

/* Datenschutztext */
.contact-area .contact-formfield.privacy span {
    color: rgba(255, 255, 255, 0.72);
}

.contact-area .contact-formfield.privacy a {
    color: #FFD03D;
    font-weight: 600;
}

.contact-area .contact-formfield.privacy a:hover {
    color: #ffffff;
}

/* Checkbox */
.contact-area .contact-formfield.privacy input[type="checkbox"] {
    accent-color: #FFD03D;
}

/* Optional: Linie im normalen Zustand noch sichtbarer */
.contact-area .contact-formfield {
    position: relative;
}


/* --------------------------------------------------
   Kontaktformular senden
-------------------------------------------------- */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.form-message {
    margin-bottom: 35px;
    padding: 18px 22px;
    border-left: 4px solid;
    font-size: 16px;
    line-height: 1.6;
}

.form-message-success {
    color: #ffffff;
    border-color: #FFD03D;
    background: rgba(255, 212, 0, 0.12);
}

.form-message-error {
    color: #ffffff;
    border-color: #d9534f;
    background: rgba(217, 83, 79, 0.12);
}


/* ==================================================
   Leistungsseite – Elektrotechnik Meier
================================================== */

/* Anker nicht unter dem festen Header verstecken */
.service-anchor {
    scroll-margin-top: 120px;
}

/* Leistungslinks im Hero */
.service-details-area .feature-list a {
    color: inherit;
    text-decoration: none;
    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
}

.service-details-area .feature-list a:hover {
    color: #FFD03D;
    padding-left: 6px;
}

/* Hauptbild */
.service-details-area .thumb-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Social Icons */
.service-details-area .hero-social-links a {
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.service-details-area .hero-social-links a:hover {
    color: #ffd400;
    transform: translateY(-3px);
}

/* Blitzgrafik im Feature-Bereich */
.features-area .section-content .shape img {
    width: 100%;
    max-width: 130px;
    height: auto;
}

/* Überschriften-Markierung */
.features-area .section-title span,
.faq-area .section-title span,
.pricing-area .section-title span {
    position: relative;
    z-index: 1;
}

.features-area .section-title span::after,
.faq-area .section-title span::after,
.pricing-area .section-title span::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 10px;
    background: #FFD03D;
    opacity: 0.9;
    transform: rotate(-1deg);
}

/* Accordion-Anker */
.faq-area .accordion-item {
    scroll-margin-top: 120px;
}

.faq-area .accordion-body {
    color: rgba(255, 255, 255, 0.68);
    font-size: 17px;
    line-height: 1.75;
}

/* Herstellerlogos */
.client-area .client-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    padding: 16px;
}

.client-area .client-box img {
    display: block;
    width: auto;
    height: auto;
    max-width: 145px;
    max-height: 52px;
    opacity: 0.75;
    filter: grayscale(100%);
    transition:
        opacity 0.3s ease,
        filter 0.3s ease,
        transform 0.3s ease;
}

.client-area .client-box:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Kontakt-CTA */
.contact-area .wc-btn i {
    margin-left: 12px;
}

/* Einsatzbereiche statt Preisboxen */
.pricing-area .pricing-box .price {
    min-height: 105px;
    margin: 25px 0;
    font-size: 72px;
    line-height: 1;
    color: #FFD03D;
}

.pricing-area .pricing-box .price i {
    font-size: inherit;
}

.pricing-area .pricing-box .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pricing-area .pricing-box .feature-list li > i {
    width: 18px;
    margin-top: 5px;
    flex: 0 0 18px;
    color: #FFD03D;
    font-size: 14px;
}

.pricing-area .pricing-box .tag {
    min-height: 28px;
}

/* Tablet */
@media only screen and (max-width: 1199px) {

    .service-details-area .feature-list {
        gap: 30px;
    }

    .client-area .client-box img {
        max-width: 125px;
        max-height: 46px;
    }

    .pricing-area .pricing-box .price {
        min-height: 85px;
        font-size: 60px;
    }
}

/* Smartphone */
@media only screen and (max-width: 767px) {

    .service-anchor,
    .faq-area .accordion-item {
        scroll-margin-top: 90px;
    }

    .service-details-area .feature-list {
        display: block;
    }

    .service-details-area .feature-list ul + ul {
        margin-top: 0;
    }

    .features-area .section-content .shape img {
        max-width: 85px;
    }

    .faq-area .accordion-body {
        font-size: 16px;
        line-height: 1.7;
    }

    .client-area .client-box {
        min-height: 75px;
        padding: 12px;
    }

    .client-area .client-box img {
        max-width: 105px;
        max-height: 40px;
    }

    .pricing-area .pricing-box .price {
        min-height: auto;
        font-size: 54px;
    }
}

/* Leistungsübersicht im Kopfbereich */
.service-details-area .feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px 40px;
  width: 100%;
  max-width: 560px;
}

.service-details-area .feature-list ul {
  margin: 0;
  padding: 0;
}

.service-details-area .feature-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 18px;
  line-height: 1.35;
  list-style: none;
}

.service-details-area .feature-list li::before {
  content: "+";
  position: absolute;
  top: 0;
  left: 0;
  color: #ffd400;
  font-weight: 700;
}

.service-details-area .feature-list a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
}

@media only screen and (max-width: 1199px) {
  .service-details-area .feature-list {
    grid-template-columns: 1fr 1fr;
    max-width: 500px;
    gap: 10px 28px;
  }
}

@media only screen and (max-width: 767px) {
  .service-details-area .feature-list {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 0;
  }
}

/* -------- --------- */

/* ==================================================
   Sitemapseite – Elektrotechnik Meier
================================================== */
.sitemap-list{
    margin:25px 0 0;
    padding:0;
    list-style:none;
}

.sitemap-list li{
    margin-bottom:12px;
}

.sitemap-list a{
    color:#fff;
    text-decoration:none;
    transition:.25s;
}

.sitemap-list a:hover{
    color:var(--primary);
    padding-left:6px;
}

.sitemap-list li::before{
    content:"→";
    color:var(--primary);
    margin-right:10px;
}