/* 
================================================================================

Theme Name:     QuickPrint Landingpages
Theme URI:      http://www.quickprint.de

Description:    Simple template for SEO landingpages from QuickPrint

Author:         lakeSITE webdesign
Author URI:     http://www.lakesite-webdesign.de

Version:        1.0

Date created:	04/02/2026
Last modified:	04/02/2026

================================================================================
*/




/*============================================================================*/
/* ----- GENERAL ----- */
/*============================================================================*/

* {
    margin: 0;
    padding: 0;
}

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* for fixed headers */
}

body {
    margin: 0px auto;
    overflow-x: clip;
}

    /* Text selection */
    ::selection {background: #000; color: #fff;}
    ::-moz-selection { background: #000; color: #fff;}

    /* Images */
    a img {border: none;transition: all ease 0.4s;}
    a img:hover {opacity: 0.75;}

    /* Marked Text */
    mark {
        padding: 10px;
        border-radius: 6px;
    }

    /* Headlines: Override block gap from theme.json */
    .wp-site-blocks h1, .editor-styles-wrapper .is-root-container h1,
    .wp-site-blocks h2, .editor-styles-wrapper .is-root-container h2 {
        margin-block-end: 2.5rem;
    }
    .wp-site-blocks h3, .editor-styles-wrapper .is-root-container h3, 
    .wp-site-blocks h4, .editor-styles-wrapper .is-root-container h4,
    .wp-site-blocks h5, .editor-styles-wrapper .is-root-container h5,
    .wp-site-blocks h6, .editor-styles-wrapper .is-root-container h6 {
        margin-block-end: 1.25rem;
    }

    /* Headlines: Hyphens
    h1, h2, h3 {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto; 
    }
    */


/*============================================================================*/
/* ----- TEMPLATE & THEME ----- */
/*============================================================================*/

/* ----- HEADER ----- */

header {
    position: sticky;
    top: 0;
    height: auto;
    width: 100%;
    z-index: 10;
}

    nav#main-menu {
        width: auto;
        height: 100%;
    }

        /* 1st Level */
        nav#main-menu ul {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            list-style: none;

            display: flex;
            flex-wrap: wrap;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
        }

            nav#main-menu ul li {
                margin: 0;
                padding: 0;
                width: auto;
                height: 100%;
                
                display: flex;
                align-items: center;
            }

                nav#main-menu ul li a {
                    width: auto;
                    display: block;
                    padding: 0 20px 0 20px;
                    transition: all ease 0.4s;

                    color: #000;
                    text-decoration: none;
                }

                nav#main-menu ul li a:hover {
                    color: #93C01E;
                }

                nav#main-menu ul li.current-menu-item > a,
                nav#main-menu ul li.current-menu-ancestor > a,
                nav#main-menu ul li.current_page_parent > a,
                nav#main-menu ul li.current-page-ancestor > a {
                    color: #93C01E;
                }

        /* 2nd Level */
        nav#main-menu ul li ul {
            position: absolute;
            top: 100px;
            height: auto;
            width: auto;
            display: none;
            background: #fff;
            padding: 10px 0 10px 0;
            border: 1px solid #EEE;
        }

            nav#main-menu ul li ul li {
                width: 100%;
            }

                nav#main-menu ul li ul li a {
                    margin: 0;
                    height: auto;
                    padding: 10px 20px 10px 20px;
                }


/* ----- MAIN CONTENT ----- */

main {
    position: relative;

    animation-name: starting;
    animation-duration: 1.2s;
    animation-iteration-count: 1;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes starting {
    0% {opacity: 0;}
    100% {opacity: 1;}
}


/* ----- FOOTER ----- */

footer {
    position: relative;
}


/* ----- BLOCK ADJUSTMENTS ----- */

/* General */
.alignfull.has-global-padding {
    padding-left: var(--wp--style--root--padding-left);
    padding-right: var(--wp--style--root--padding-right);
}

/* Media/Text Block */
.wp-block-media-text .wp-block-media-text__content > :first-child {
    margin-block-start: 0;
}

.wp-block-media-text .wp-block-media-text__content > :last-child {
    margin-block-end: 0;
}

.wp-block-media-text .wp-block-media-text__content {
    padding: 0 10% 0 10%;
}

/* Optional:
.wp-block-media-text .wp-block-media-text__content {
    padding: 0 0 0 10%;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    padding: 0 10% 0 0;
}
*/

/* Cover Block */
.wp-block-cover {
    padding: 0;
}

    .wp-block-cover.alignfull .wp-block-cover__inner-container {
        padding-left: var(--wp--style--root--padding-left);
        padding-right: var(--wp--style--root--padding-right);
    }

/* Buttons Block */
.wp-block-button {
    transition: all ease 0.2s;
}

.wp-block-button:hover {
    transform: scale(1.05);
}

/* List Block */
.wp-block-list.is-style-check-list {
    list-style: none;
    padding: 0;
}

    .wp-block-list.is-style-check-list li {
        background: url(assets/img/icon-check.svg) no-repeat;
        background-position: left top;
        background-size: 24px 24px;
        padding: 0 0 0 32px;
    }

/* File Block */
.wp-block-file {
    display: flex;
    align-items: center;
    font-size: var(--wp--preset--font-size--m) !important;
}

.wp-block-file a:first-child:before {
    position: relative;
    float: left;
    content: "";
    width: 24px;
    height: 24px;
    display: block;
    margin-right: 6px;
    background-color: var(--wp--preset--color--black);

    mask: url(assets/img/icon-download.svg) no-repeat;
    -webkit-mask: url(assets/img/icon-download.svg) no-repeat;
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
}


/* ----- BLOCK EDITOR ADJUSTMENTS ----- */

/* Seitentitel */
.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper {
    margin: 0 !important;
    text-align: center !important;
    border-bottom: 1px solid #E0E0E0 !important;
}

    .editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper h1 {
	    font-size: 1rem;
        line-height: 1.4;
        font-weight: 700;
        color: #252525;
	    font-style: none;
        text-transform: none;
        margin: 0 auto !important;
        padding: 10px 0 10px 0 !important;
        font-family: var(--wp--preset--font-family--system-font) !important;
    }


/* ----- FORMS ----- */

main form {
    margin: 0;
    padding: 0;    
}

    main fieldset {
        margin: 0;
        padding: 0;
        border: none;
    }

        main form p {
            font-size: var(--wp--preset--font-size--xs);
        }
    
        main legend {display: none;}
        
        main label  {
            display: block;
            font-weight: 600;
            color: var(--wp--preset--color--black);
            font-size: var(--wp--preset--font-size--xs)
        }
        
        main input,
        main select,
        main textarea {
            border: none;
            padding: 8px 20px;
            border-radius: 6px;
            width: calc(100% - 40px);
            background: var(--wp--preset--color--middle-grey);
            outline: 2px solid var(--wp--preset--color--middle-grey);

            color: var(--wp--preset--color--black);
            font-size: var(--wp--preset--font-size--xs);
            font-family: var(--wp--preset--font-family--open-sans);
        }
        
        main select {
            width: 100%;
        }
        
        main textarea {
            height: 150px;
            overflow: auto;
        }

        main input[type=radio],
        main input[type=checkbox] {
            width: auto;
        }  
        
        main input[type="radio"],
        main input[type="checkbox"] {
            position: relative;
            width: auto;
            height: auto;
            outline: none;
            appearance: none;
            margin-right: 6px;
            padding: 8px; /* instead of width and height */
            border: 1px solid var(--wp--preset--color--middle-grey);
            -webkit-appearance: none; /* for Safari */
        }

        main input[type="radio"] {
            border-radius: 100%;
        }

        main input[type="radio"]:checked,
        main input[type="checkbox"]:checked {
            background: var(--wp--preset--color--yellow) no-repeat;
        }

        main input[type="checkbox"]:checked::after {
            position: absolute;
            top: -3px;
            left: 3px;
            content: "X";
            font-size: 16px;
            color: var(--wp--preset--color--black);
        }
        
        main input:focus,
        main select:focus,
        main textarea:focus {
            outline: 2px solid var(--wp--preset--color--yellow)
        }

        main input::placeholder,
        main select::placeholder,
        main textarea::placeholder {
            color: var(--wp--preset--color--dark-grey);
        }
        
        /* Buttons */
        main input[type=submit],
        main button[type=submit] {
            width: auto;
            border: none;
            cursor: pointer;
            background: var(--wp--preset--color--yellow);
            outline: 2px solid var(--wp--preset--color--yellow);

            font-weight: 600;
        }
        
        main input[type=submit]:hover,
        main button[type=submit]:hover {
            opacity: 0.75;
        }

        main input[type=submit]:focus,
        main button[type=submit]:focus {
            outline: 2px solid var(--wp--preset--color--black);
        }
        
        main input[type=submit]:active,
        main button[type=submit]:active {
            outline: none;
        }

/* Plugin adjustments: Contact Form 7 */

.wpcf7-list-item {
    display: flex;
    align-items: center;
    margin-left: 0 !important;
}  

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

img.ajax-loader {
    width: 16px !important;
    height: auto !important;
}

.wpcf7 form .wpcf7-response-output {
    border: none !important;
    width: 95%;
    border-radius: 10px;
    margin: 0 !important;
    padding: 10px 2.5% 10px 2.5% !important;

    color: #fff !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: green;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background: red;
}

.wpcf7-not-valid-tip {
    color: red !important;
}


/*============================================================================*/
/* ----- BREAKPOINT @ 1280 Pixel ----- */
/*============================================================================*/

@media only screen and (max-width: 1280px) { 

    .header-call,
    .header-mail {
        display: none;
    }
    
} /* <--- END OF BREAKPOINT */


/*============================================================================*/
/* ----- BREAKPOINT @ 1024 Pixel ----- */
/*============================================================================*/

@media only screen and (max-width: 1024px) { 
    
/* ----- HEADER ----- */

header .wp-block-site-logo img {
    width: 120px !important;
}

header .wp-block-navigation {
    display: none !important;
}
    
} /* <--- END OF BREAKPOINT */


/*============================================================================*/
/* ----- BREAKPOINT @ 780 Pixel ----- */
/*============================================================================*/

@media only screen and (max-width: 780px) { 
 
/* Columns Block */
/*
.wp-block-columns.alignfull > .wp-block-column {
    padding-left: 5%;
    padding-right: 5%;
}
*/

} /* <--- END OF BREAKPOINT */


/*============================================================================*/
/* ----- BREAKPOINT @ 600 Pixel ----- */
/*============================================================================*/

@media only screen and (max-width: 600px) { 

/* Media/Text Block */
.wp-block-media-text .wp-block-media-text__content,
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    padding: 1.25rem 0 0 0;
} 

.wp-block-media-text.alignfull .wp-block-media-text__content,
.wp-block-media-text.has-background .wp-block-media-text__content {
    padding: 0 5% 0 5%;
}
    
} /* <--- END OF BREAKPOINT */