/*
WERBEZEIT CSS – ZENTRALE GESTALTUNG
==================================
Bearbeiten in WordPress: Design → Werbezeit CSS

SO FINDEST DU DIE RICHTIGE STELLE
01  iPhone / iPad: Hintergrundbilder
02  Smartphones bis 575 Pixel: Schrift, Abstände und Kundenlogos
03  Tablets im Hochformat: 576 bis 859 Pixel
04  Tablets im Querformat / kleine Monitore: 860 bis 1299 Pixel
05  Große Monitore: ab 1350 Pixel
06  Schrift und animierter Farbverlauf
07  Hauptmenü, E-Mail-Link und Zahlen
08  Fußbereich: Grundwerte
09  Buttons mit Symbol und Iconlisten
10  Bilder und Projekt-Raster (Essential Grid)
11  Buttons mit versetztem Schatten
12  Kopfbereich und Positionshilfe
13  Kundenstimmen: Schrift und Pfeile
14  Fußbereich: Links und aktive Menüpunkte
15  Kundenstimmen: sichtbare Navigation
16  Kontaktformulare auf hellen und dunklen Flächen
17  Kundenstimmen: zentrierte Darstellung
18  Bild-Slider: Beschriftung
19  Hinweisfenster (Tooltips) und Reitertitel

KLEINE LESEHILFE
- Eine Zeile mit einem Punkt, z. B. .button-styling, ist eine CSS-Klasse.
  Sie wird im Enfold-Element unter „Erweitert → CSS-Klasse“ eingetragen.
- font-size = Schriftgröße; color = Textfarbe; background = Hintergrund.
- padding = innerer Abstand; margin = äußerer Abstand; px = Pixel.
- @media begrenzt Regeln auf bestimmte Bildschirmbreiten.
- !important gibt einer Einstellung Vorrang. Bestehende Angaben beibehalten.
- Texte in Kommentarblöcken sind Erklärungen.
  Hier werden keine HTML-Tags und keine Style-Tags benötigt.

PFLEGE
Ändere den Wert im passenden Abschnitt. Vermeide neue Korrekturen am Ende.
Prüfe Änderungen auf Smartphone und Computer. Vor jedem Speichern wird die
vorherige Version gesichert; im Editor lässt sie sich wiederherstellen.

Die Reihenfolge bewahrt die bisherige Darstellung: Geräte-Anpassungen
stehen wie zuvor vor den allgemeinen Regeln. Die Bildschirmbereiche wurden
unverändert übernommen; 1300–1349 Pixel verwenden die allgemeinen Regeln.
Weitere bestehende Ergänzungen des Child-Themes liegen in style.css.
Die beiden JavaScript-Beiträge bleiben im Menü „Individuelles CSS und JS“.
*/


/* ==========================================================================
   01 | iPHONE / iPAD – HINTERGRUNDBILDER
   Verhindert Probleme mit feststehenden Hintergründen auf Apple-Touchgeräten.
   ========================================================================== */


.ios-safari-touch .avia-section,
.ios-safari-touch .ls-inner {
    background-attachment:scroll!important;
}


/* ==========================================================================
   02 | SMARTPHONES – BIS 575 PIXEL
   Projekt-Raster, Teamtexte, Überschriften, Abstände und Logo-Spalten.
   ========================================================================== */


@media only screen and (max-width: 575px) {
    .esg-container {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }

    .eg-teammembers-element-13 {
        font-size: 13px !important;
        line-height: 1.1em;
        margin-left: 15px !important;
        margin-right: 15px !important;
    }

    .all_colors h1,
.all_colors h2 {
        font-size: 40px !important;
    }

    

    .mobile-no-bg {
        background-color: transparent !important;
        box-shadow: none !important;
    }

    .mobile-black_bg {
        background-color: black;
        background-image: none;
    }

    .change-height-big {
        height: 10px !important;
    }

    .hide-on-mobile {
        display: none;
    }

    html.responsive #top #wrap_all .avia-logo-grid.wz-logo-mobile-cols-2 .avia-content-slider-inner,
    html.responsive #top #wrap_all .avia-logo-grid.wz-logo-mobile-cols-3 .avia-content-slider-inner,
    html.responsive #top #wrap_all .avia-logo-grid.wz-logo-mobile-cols-4 .avia-content-slider-inner {
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
    }

    html.responsive #top #wrap_all .avia-logo-grid.wz-logo-mobile-cols-2 .slide-entry-wrap,
    html.responsive #top #wrap_all .avia-logo-grid.wz-logo-mobile-cols-3 .slide-entry-wrap,
    html.responsive #top #wrap_all .avia-logo-grid.wz-logo-mobile-cols-4 .slide-entry-wrap {
        display: contents !important;
    }

    html.responsive #top #wrap_all .avia-logo-grid.wz-logo-mobile-cols-2 .slide-entry,
    html.responsive #top #wrap_all .avia-logo-grid.wz-logo-mobile-cols-3 .slide-entry,
    html.responsive #top #wrap_all .avia-logo-grid.wz-logo-mobile-cols-4 .slide-entry {
        float: none !important;
        clear: none !important;
        margin: 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        box-sizing: border-box;
    }

    html.responsive #top #wrap_all .avia-logo-grid.wz-logo-mobile-cols-2 .slide-entry {
        -webkit-flex: 0 0 50% !important;
        flex: 0 0 50% !important;
        width: 50% !important;
    }

    html.responsive #top #wrap_all .avia-logo-grid.wz-logo-mobile-cols-3 .slide-entry {
        -webkit-flex: 0 0 33.333333% !important;
        flex: 0 0 33.333333% !important;
        width: 33.333333% !important;
    }

    html.responsive #top #wrap_all .avia-logo-grid.wz-logo-mobile-cols-4 .slide-entry {
        -webkit-flex: 0 0 25% !important;
        flex: 0 0 25% !important;
        width: 25% !important;
    }

    h3 {
        font-size: 33px !important;
    }

}


/* ==========================================================================
   03 | TABLETS HOCHFORMAT – 576 BIS 859 PIXEL
   Überschriften, Abstandshalter und die Hilfsklasse mobile-no-bg.
   ========================================================================== */


@media only screen and (min-width: 576px) and (max-width: 859px) {
    .all_colors h1 {
        font-size: 40px !important;
    }

    .all_colors h2 {
        font-size: 49px !important;
    }

    .change-height-big {
        height: 30px !important;
    }

    .mobile-no-bg {
        background-color: transparent !important;
        box-shadow: none !important;
    }

}


/* ==========================================================================
   04 | TABLETS QUERFORMAT – 860 BIS 1299 PIXEL
   Überschriften und Safari-Hintergrundkorrektur.
   ========================================================================== */


@media only screen and (min-width: 860px) and (max-width: 1299px) {
    .all_colors h1 {
        font-size: 40px !important;
    }

    .all_colors h2 {
        font-size: 49px !important;
    }

    .avia-safari #top .avia-full-stretch {
        background-attachment: scroll !important;
    }

}


/* ==========================================================================
   05 | GROSSE MONITORE – AB 1350 PIXEL
   body-txt-smaller: kompakter Fließtext für breite Bildschirme.
   ========================================================================== */


@media only screen and (min-width: 1350px) {
    .body-txt-smaller p {
        font-size: 16px !important;
        letter-spacing: 0.02em !important;
        line-height: 1.2em !important;
    }

}


/* ==========================================================================
   06 | SCHRIFT UND FARBVERLAUF
   Listen, fette Wörter und Überschriften. Der Verlauf läuft in 5 Sekunden.
   ========================================================================== */


.main_color li {
    font-weight: 200;
    font-size: 20px;
    letter-spacing: 0.02em;
    line-height: 25px;
}

.main_color li strong,
p strong {
    font-weight: 400;
}



h1 {
    letter-spacing: 0.2em;
}

h2 {
    letter-spacing: 0.1em;
}

h2 strong,
h3 strong,
h1 strong {
    font-weight: 400;
    background: radial-gradient( circle, #7B0000, #A52A2A, #E63900, #FFA500, #B8860B, #228B22, #4169E1, #8A2BE2 );
    background-size: 250% 250%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
    animation: radialGradientMove 5s ease-in-out infinite;
}

@keyframes radialGradientMove {
    0% {
        background-position: 30% 30%;
    }

    50% {
        background-position: 70% 70%;
    }

    100% {
        background-position: 30% 30%;
    }

}

h3 {
    letter-spacing: 0.01em;
}

h5 {
    letter-spacing: 0.4em;
}

h6 {
    letter-spacing: 0.1em !important;
    line-height: 2;
}


/* ==========================================================================
   07 | HAUPTMENÜ, E-MAIL-LINK UND ZAHLEN
   Kleinschreibung im Menü; email_smaller gestaltet verlinkte E-Mail-Titel.
   ========================================================================== */


span.avia-menu-text {
    text-transform: lowercase;
    letter-spacing: 0.15em;
    font-weight: 300;
}

.header_color .main_menu .menu ul li a:hover,
.header_color .main_menu .menu ul li a:focus,
.header_color .av-subnav-menu ul a:hover,
.header_color .av-subnav-menu ul a:focus {
    background: none !important;
}

.email_smaller h3 {
    color:#bababa !important;
    font-size: 25px !important;
    font-weight: 300 !important;
}

.email_smaller h3:hover {
    color:#000000 !important;
}

span.avia-single-number.__av-single-number {
    font-weight: 300;
}


/* ==========================================================================
   08 | FUSSBEREICH – GRUNDWERTE
   Grundwerte für Widgets; die Linkgestaltung folgt in Abschnitt 14.
   ========================================================================== */


.widget_nav_menu a {
    font-size: 18px;
}

.widgettitle {
    font-size: 22px;
}


/* ==========================================================================
   09 | BUTTON-SYMBOLE UND ICONLISTEN
   Größe, Farbe und Schrift der Symbole und Listentitel.
   ========================================================================== */


span.avia_iconbox_title {
    letter-spacing: 0.05em;
    font-size: 18px;
    font-weight: 300;
}

span.iconlist-char {
    color: #bababa;
    font-size: 70px;
}

h4.av_iconlist_title.iconlist_title {
    color: #000000 !important;
    font-size: 30px !important;
    font-weight: 300 !important;
    text-transform: none;
}

div.iconlist_content_wrap p strong {
    color: #BABABA !important;
}

@media only screen and (max-width: 999px) {
    h4.av_iconlist_title.iconlist_title {
        font-size: 23px !important;
    }

}


/* ==========================================================================
   10 | BILDER UND PROJEKT-RASTER
   Eckige Bilder; Videos und Text in den Essential-Grid-Kacheln.
   ========================================================================== */


img {
    border-radius: 0!important;
}

.eg-alternative-source {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
}

.eg-alternative-source video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
}

.eg-projekte-wall-element-18 p,
.eg-aktuelles-element-18 p,
.eg-leistungen-2-element-18 p {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 400 !important;
}





.eg-leistungen-mobile-element-18 p {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

.eg-leistungen-element-18 p {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}


/* ==========================================================================
   11 | BUTTONS MIT SCHATTEN
   Klasse button-styling: Rahmen und versetzter Schatten beim Darüberfahren.
   ========================================================================== */


.button-styling {
    outline: 0;
    grid-gap: 8px !important;
    align-items: center;
    border: 1px solid #000 !important;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    justify-content: center;
    line-height: 1.5;
    overflow: hidden;
    padding: 5px 7px;
    text-overflow: ellipsis;
    transition: all 0.14s ease-out;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    color: #000;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-styling:hover {
    box-shadow: 10px 10px 0 #000;
    transform: translate(-10px, -10px);
    color: #000 !important;
}

.button-styling:focus-visible {
    outline: 2px solid #000 !important;
    outline-offset: 1px !important;
}

.button-styling .avia-button {
    background-color: transparent !important;
}


/* ==========================================================================
   12 | KOPFBEREICH UND POSITIONSHILFE
   Transparenter Kopfbereich; position-adaption verschiebt um 50 Pixel nach oben.
   ========================================================================== */


#top .header_bg {
    background: transparent !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter:blur(10px) !important;
}

.position-adaption {
    position: relative;
    top: -50px;
}


/* ==========================================================================
   13 | KUNDENSTIMMEN – SCHRIFT UND PFEILE
   Name, Zusatzangaben, Textgröße und eckige Navigationspfeile.
   ========================================================================== */


.avia-slider-testimonials .avia-testimonial-name {
    font-size: 19px;
    letter-spacing: 0.02em;
    font-weight: 500;
}

.avia-testimonial-meta-mini {
    font-size: 15px;
}

#top .avia-slider-testimonials.av-slideshow-ui.av-control-default .avia-slideshow-arrows a {
    border-radius: 0;
}

.avia-slider-testimonials .avia-testimonial-content p {
    font-size: 19px !important;
}


/* ==========================================================================
   14 | FUSSBEREICH – LINKS
   Endgültige Linkgestaltung: 24 Pixel, helle Schrift und aktive Menüpunkte.
   ========================================================================== */


.widget_nav_menu a {
    font-size: 24px !important;
    color: #f7f7f7;
    font-weight: 200;
}

.widget_nav_menu a:hover {
    background: none !important;
    color: #d6d6d6;
}

.widget_nav_menu .current-menu-item a,
.widget_nav_menu .current_page_item a {
    background-color: #000 !important;
    color: #d6d6d6;
    border-bottom: none !important;
    font-weight: 400;
}


/* ==========================================================================
   15 | KUNDENSTIMMEN – SICHTBARE NAVIGATION
   Pfeile bleiben sichtbar und vor dem Inhalt.
   ========================================================================== */


#top #main .avia-slider-testimonials.av-slideshow-ui .avia-slideshow-arrows a {
    opacity: 1;
    z-index: 100;
}


/* ==========================================================================
   16 | KONTAKTFORMULARE
   main_color = helle Fläche; alternate_color = dunkle Fläche.
   ========================================================================== */


#top .main_color .input-text,
#top .main_color input[type="text"],
#top .main_color input[type="input"],
#top .main_color input[type="password"],
#top .main_color input[type="email"],
#top .main_color input[type="number"],
#top .main_color input[type="url"],
#top .main_color input[type="tel"],
#top .main_color input[type="search"],
#top .main_color textarea,
#top .main_color select {
    border-color: #7b757e!important;
    border-top: 0 !important;
    border-right: 0;
    border-left: 0;
    font-weight: 300;
}

.main_color #submit,
.main_color input[type="submit"] {
    border-radius: 50px;
    font-weight: 300;
}

#top .alternate_color .input-text,
#top .alternate_color input[type="text"],
#top .alternate_color input[type="input"],
#top .alternate_color input[type="password"],
#top .alternate_color input[type="email"],
#top .alternate_color input[type="number"],
#top .alternate_color input[type="url"],
#top .alternate_color input[type="tel"],
#top .alternate_color input[type="search"],
#top .alternate_color textarea,
#top .alternate_color select {
    border-color: #ffffff!important;
    border-top: 0 !important;
    border-right: 0;
    border-left: 0;
    font-weight: 300;
}

.alternate_color #submit,
.alternate_color input[type="submit"] {
    border-radius: 50px;
}


/* ==========================================================================
   17 | KUNDENSTIMMEN – ZENTRIERTE DARSTELLUNG
   Autorenbild und Name mittig; die Pfeile stehen über dem Text.
   ========================================================================== */


#top .avia-slider-testimonials .avia-testimonial-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

#top .avia-slider-testimonials .avia-testimonial-arrow-wrap {
    display: none;
}

#top .avia-slider-testimonials .avia-testimonial-image {
    float: none;
    margin: 0 auto 10px;
}

#top .avia-slider-testimonials .avia-testimonial-meta-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    text-align: center;
}

#top .avia-slider-testimonials .avia-testimonial-name,
#top .avia-slider-testimonials .avia-testimonial-subtitle {
    display: block;
    width: 100%;
    text-align: center;
}

#top .avia-slider-testimonials.av-slideshow-ui {
    padding-top: 55px;
}

#top .avia-slider-testimonials.av-slideshow-ui .avia-slideshow-arrows a {
    top: 0;
    right: auto;
    margin: 0;
}

#top .avia-slider-testimonials.av-slideshow-ui .avia-slideshow-arrows a.prev-slide {
    right: auto;
    left: calc(50% - 42.5px);
}

#top .avia-slider-testimonials.av-slideshow-ui .avia-slideshow-arrows a.next-slide {
    right: auto;
    left: calc(50% + 2.5px);
}


/* ==========================================================================
   18 | BILD-SLIDER – BESCHRIFTUNG
   Titel, Fließtext und Platz für Text neben dem Bild.
   ========================================================================== */


.avia-caption-title {
    font-size: 25px !important;
}

.avia-caption .avia-caption-content p {
    font-size: 17px !important;
    line-height: 20px !important;
}

.avia-caption {
    margin-right: 40%;
}


/* ==========================================================================
   19 | HINWEISFENSTER UND REITERTITEL
   Schrift in Tooltips und in den Enfold-Reitern.
   ========================================================================== */


.avia-tooltip .inner_tooltip {
    font-size: 17px;
    line-height: 18px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.av-inner-tab-title {
    text-transform: none;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.15em;
}

.avia-tab-title-padding-default .av-outer-tab-title {
    padding: 0 0;
}

/* ==========================================================================
   20 | TITELBILDER – GENERISCHER SCHWARZVERLAUF
   Enfold-Klasse: wz-heading-fade; das Hintergrundbild bleibt im Editor.
   Optional wz-heading-fade--narrow für einen kürzeren Verlauf.
   ========================================================================== */

#top .avia-section.wz-heading-fade {
    position: relative;
    --wz-heading-fade-end: 63%;
}

#top .avia-section.wz-heading-fade--narrow {
    --wz-heading-fade-end: 52%;
}

#top .avia-section.wz-heading-fade::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #000 0%, #000 36%, rgba(0, 0, 0, .9) 42%, rgba(0, 0, 0, 0) var(--wz-heading-fade-end));
}

#top .avia-section.wz-heading-fade > .container,
#top .avia-section.wz-heading-fade > .av-section-color-overlay-wrap {
    position: relative;
    z-index: 1;
}
