/* 
================================================================================

Theme Name:     Seitz Zahnarztpraxis
Theme URI:      http://www.seitz-zahnarztpraxis.de

Description:    Die Zahnarztpraxis Isabell Seitz und Team.

Author:         creativdrei Werbeagentur GmbH
Author URI:     http://www.creativdrei.de

Version:        1.0

Date created:	25/11/2025
Last modified:	27/11/2025

================================================================================
*/




/*============================================================================*/
/* ----- 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;}

    /* Figures */
    figure {line-height: 1;}

    /* Bold Font */
    b,strong {font-weight: 700;}

    /* Lists */
    main ul {list-style: square;}
    main ul li::marker {color: var(--wp--preset--color--gold-brown);}

    /* Headlines */
    /*
    h1, h2, h3 {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto; 
    }
    */

    /* Skip Link */
    #wp-skip-link {
        visibility: hidden;
    }

    /* Full Height Elements */
    .full-height {
        min-height: 90vh;
    }


/*============================================================================*/
/* ----- TEMPLATE & THEME ----- */
/*============================================================================*/

/* ----- HEADER ----- */

header {
    position: sticky;
    top: 0;
    height: auto;
    width: 100%;
    z-index: 10;
}

    .header-inner-container {
        height: 100px;
    }

        .classic-menu-wrapper {
            position: relative;
            top: 0;
            height: 100%;
        }

            .classic-menu-wrapper p {
                margin: 0 !important;
            }

            #menu-button {
                display: none;
            }

            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;
                        width: auto;
                        height: 100%;
                        padding: 0 1.25rem;
                        
                        display: flex;
                        align-items: center;
                    }

                        nav#main-menu ul li a {
                            margin: 0;
                            width: auto;
                            display: block;
                            padding: 10px 0 0 0;
                            transition: all ease 0.4s;
                            
                            font-weight: 300;
                            text-decoration: none;
                            text-transform: uppercase;
                            color: var(--wp--preset--color--black);
                            font-size: var(--wp--preset--font-size--s);
                            font-family: var(--wp--preset--font-family--sora);
                        }

                        nav#main-menu ul li a:hover {
                            color: var(--wp--preset--color--gold-brown);
                        }

                        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 {
                            font-weight: 600;
                            color: var(--wp--preset--color--gold-brown);
                        }

                        nav#main-menu ul li a:after {
                            position: relative;
                            content: "";
                            width: 0;
                            height: 2px;
                            display: block;
                            margin: 2px auto 0 auto;
                            background: transparent;
                            transition: all ease 0.4s;
                        }

                        nav#main-menu ul li a:hover:after {
                            width: 75%;
                            background: var(--wp--preset--color--gold-brown);
                        }

                        nav#main-menu ul li.current-menu-item > a:after,
                        nav#main-menu ul li.current-menu-ancestor > a:after,
                        nav#main-menu ul li.current_page_parent > a:after,
                        nav#main-menu ul li.current-page-ancestor > a:after {
                            width: 75%;
                            background: var(--wp--preset--color--gold-brown); 
                        }

                        nav#main-menu ul li button {
                            border: none;
                            background: none;
                            width: 12px;
                            height: 12px;
                            display: block;
                            font-size: 0;
                            cursor: pointer;
                            margin: 4px 0 0 6px;
                        }

                            nav#main-menu ul li button span {
                                width: 100%;
                                height: 100%;
                                display: block;
                                transition: all ease 0.4s;
                                background: var(--wp--preset--color--black);
                                mask: url(assets/img/icon-arrow.svg) no-repeat;
                                mask-size: 100% 100%;
                                -webkit-mask: url(assets/img/icon-arrow.svg) no-repeat;
                                -webkit-mask-size: 100% 100%;
                            }

                            nav#main-menu ul li.opened button span {
                                transform: rotate(-90deg);
                            }

                /* 2nd Level */
                nav#main-menu ul li ul {
                    position: absolute;
                    top: 99px;
                    height: auto;
                    width: auto;
                    display: none;
                    margin-left: -1.25rem;
                    background: var(--wp--preset--color--white);
                    padding: 10px 0 10px 0;
                    border: 1px solid var(--wp--preset--color--light-grey);
                }

                    nav#main-menu ul li ul li {
                        width: 100%;
                        height: auto;
                        padding: 0.313rem 1.25rem;
                    }

                        nav#main-menu ul li ul li a {
                            margin: 0;
                            padding: 0;
                            height: auto;
                        }

                        nav#main-menu ul li ul li a:after {
                            display: none !important;
                        }


/* ----- 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;
}

    .footer-special-icon {
        position: relative;
        z-index: 10;
        margin: 0 auto;
    }

    footer.site-footer .sidebar-menu {
        position: fixed;
        z-index: 10;
        right: clamp(0.625rem, 1.25vw + 0.25rem, 1.25rem); /* 10-20px @ 480-1280px */
        bottom: clamp(0.625rem, 1.25vw + 0.25rem, 1.25rem);
    }

        /* Social Links Block */
        .sidebar-menu .wp-block-social-links.has-large-icon-size {
            font-size: 28px;
        }

        .sidebar-menu .wp-block-social-links a:hover {
            border-radius: 100%;
            background: var(--wp--preset--color--chocolate-brown);
        }

        /* Contact Button */
        .contact-btn {
            width: 42px;
            height: 42px;
            border: none;
            cursor: pointer;
            overflow: hidden;
            border-radius: 50%;
            white-space: nowrap;
            transition: all 0.2s ease;
            background: url(assets/img/icon-phone.svg) no-repeat var(--wp--preset--color--gold-brown);
            background-size: 24px 24px;
            background-position: right 8px center;

            display: inline-flex;
            align-items: center;
            justify-content: center;

            color: var(--wp--preset--color--white);
            font-size: var(--wp--preset--font-size--xs);
            font-family: var(--wp--preset--font-family--fira-code);
        }

        .contact-btn span {
            opacity: 0;
            margin-left: 8px;
            transition: opacity 0.2s ease;
        }

        .contact-btn:hover,
        .contact-btn:focus {
            width: 300px; 
            border-radius: 25px;
            justify-content: flex-start;
            padding-left: 16px;
            text-decoration: none;
            background-color: var(--wp--preset--color--chocolate-brown);
        }

        .contact-btn:hover span,
        .contact-btn:focus span {
            opacity: 1;
        }


/* ----- BLOCK ADJUSTMENTS ----- */

/* General */
.alignfull.has-global-padding {
    padding-left: var(--wp--style--root--padding-left);
    padding-right: var(--wp--style--root--padding-right);
}

.is-layout-constrained > :first-child,
.is-layout-flow > :first-child {
    margin-block-start: 0;  
}

.is-layout-constrained > :last-child,
.is-layout-flow > :last-child {
    margin-block-end: 0;  
}

/* 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 0 0 10%;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    padding: 0 10% 0 0;
}

.wp-block-media-text.alignfull .wp-block-media-text__content {
    padding: 0 10vw 0 5vw;
}

.wp-block-media-text.alignfull.has-media-on-the-right .wp-block-media-text__content {
    padding: 0 10vw 0 5vw;
}

/* 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 .wp-block-button__link {
    transition: all ease 0.2s;
}

.wp-block-button .wp-block-button__link:hover {
    transform: scale(1.05);
    background: var(--wp--preset--color--chocolate-brown);
}

/* Buttons Block (Special) */
.wp-block-button.is-style-underlined .wp-block-button__link {
    border-radius: 0;
    padding: 0 1.25rem 0 0;
    background: transparent;
    color: var(--wp--preset--color--gold-brown) !important;
}

.wp-block-button.is-style-underlined .wp-block-button__link:hover {
    color: var(--wp--preset--color--chocolate-brown) !important;
}

.wp-block-button.is-style-underlined .wp-block-button__link:after {
    position: relative;
    content: "";
    display: block;
    width: 40%;
    height: 2px;
    margin-top: 8px;
    transition: all ease 0.4s;
    background: var(--wp--preset--color--gold-brown) !important;
}

.wp-block-button.is-style-underlined .wp-block-button__link:hover:after {
    width: 100%;
    background: var(--wp--preset--color--chocolate-brown) !important;
}


/* Details Block */
.wp-block-details {
    padding: 0.625rem 0;
    border-bottom: 2px solid var(--wp--preset--color--silver-green);
}

    .wp-block-details summary {
        position: relative;
        font-weight: 700;
        list-style: none;
        padding-right: 2.5rem;
        color: var(--wp--preset--color--chocolate-brown);
        font-size: var(--wp--preset--font-size--l);
    }

    .wp-block-details summary::marker {
        display: block !important;
        height: 0;
        width: 0;
        display: none !important;
        visibility: hidden !important;
    }

    .wp-block-details summary::-webkit-details-marker {
        display: none; /* für WebKit-Browser (Chrome, Safari) */
    }

    .wp-block-details summary:after {
        position: absolute;
        top: 0;
        right: 0;
        content: "+";
        display: block;
        font-weight: 400;
        line-height: 0.8;
        font-size: var(--wp--preset--font-size--xxxl);
    }

    .wp-block-details[open] summary:after {
        content: "-";
    }


/* 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%;
}


/* Carousel Slider Block (Plugin) */
.wp-block-cb-carousel-v2 .cb-pagination.swiper-pagination-horizontal {
    bottom: -2.5rem;
}

.wp-block-cb-carousel-v2 .cb-pagination .cb-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--wp--preset--color--chocolate-brown);
}

.wp-block-cb-carousel-v2 .cb-pagination.swiper-pagination-horizontal.swiper-pagination-bullets .cb-pagination-bullet {
    margin: 0 8px;
}

.wp-block-cb-carousel-v2 .cb-pagination .cb-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--wp--preset--color--chocolate-brown);
}

.wp-block-cb-carousel-v2.alignfull .cb-button-next,
 .wp-block-cb-carousel-v2.alignfull .cb-button-prev {
    color: var(--wp--preset--color--chocolate-brown);
 }


/* ----- 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 legend {display: none;}
        
        main label  {
            display: block;
            font-size: var(--wp--preset--font-size--s);
        }
        
        main input,
        main select,
        main textarea {
            border: none;
            padding: 12px 20px;
            width: calc(100% - 40px);
            outline: 2px solid var(--wp--preset--color--gold-brown);

            font-weight: 300;
            color: var(--wp--preset--color--gold-brown);
            font-size: var(--wp--preset--font-size--m);
            font-family: var(--wp--preset--font-family--sora);
        }
        
        main select {
            width: 100%;
        }
        
        main textarea {
            min-height: 150px;
            overflow: auto;
        }

        main input[type=radio],
        main input[type=checkbox] {
            width: auto;
        }  
        
        main input[type="radio"],
        main input[type="checkbox"] {
            width: auto;
            height: auto;
            outline: none;
            border: none;
            cursor: pointer;
            appearance: none;
            margin-right: 6px;
            padding: 8px; /* instead of width and height */
            outline: 2px solid var(--wp--preset--color--gold-brown);
            -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--chocolate-brown) no-repeat;
        }

        main input[type="radio"]:focus:checked,
        main input[type="checkbox"]:focus:checked {
            background: var(--wp--preset--color--silver-green) no-repeat;
        }

        main input[type="checkbox"]:checked::after,
        main input[type="radio"]:checked::after {
            position: absolute;
            top: -1px;
            left: 2px;
            content: "X";
            font-size: 18px;
            color: white;
        }
        
        main input:focus,
        main select:focus,
        main textarea:focus {
            outline: 2px solid var(--wp--preset--color--silver-green);
        }

        main input::placeholder,
        main select::placeholder,
        main textarea::placeholder {
            color: var(--wp--preset--color--gold-brown);
        }

        main input:focus::placeholder,
        main textarea:focus::placeholder {
            color: transparent;
        }
        
        /* Buttons */
        main input[type=submit],
        main button[type=submit] {
            width: auto;
            outline: none;
            cursor: pointer;
            padding: 14px 24px;
            border-radius: 50px;
            transition: all ease 0.2s;
            background: var(--wp--preset--color--gold-brown);

            color: var(--wp--preset--color--white);
            font-family: var(--wp--preset--font-family--fira-code);
        }

        main input[type=submit]:focus,
        main button[type=submit]:focus {
            transform: scale(1.05);
            background: var(--wp--preset--color--chocolate-brown);
        }
        
        main input[type=submit]:hover,
        main button[type=submit]:hover {
            transform: scale(1.05);
            background: var(--wp--preset--color--chocolate-brown);
        }
        
        main input[type=submit]:active,
        main button[type=submit]:active {
            outline: none;
        }


/* Plugin adjustments: Contact Form 7 */

.wpcf7-list-item {
    margin-left: 0 !important;
}        

img.ajax-loader {
    width: 16px !important;
    height: auto !important;
}

.wpcf7 form .wpcf7-response-output {
    width: 95%;
    margin: 0 !important;
    border: none !important;
    padding: 12px 2.5% 12px 2.5% !important;

    font-weight: 400;
    font-size: var(--wp--preset--font-size--s) !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: green !important;
    background: var(--wp--preset--color--silver-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 {
    color: red !important;
    background: var(--wp--preset--color--carousel-pink);
}

.wpcf7-not-valid-tip {
    color: red !important;
}


/*============================================================================*/
/* ----- BREAKPOINT @ 1024 Pixel ----- */
/*============================================================================*/

@media only screen and (max-width: 1024px) { 

/* ----- HEADER ----- */ 

.header-inner-container {
    height: 60px;
}

    header .wp-block-site-logo img {
        width: 140px;
    }

    #menu-button {
        position: relative;
        top: calc(50% - 12px);
        border: none;
        background: none;
        width: 24px;
        height: 24px;
        display: block;
        font-size: 0;
        margin: 0;
        cursor: pointer;
    }

        #menu-button span {
            width: 100%;
            height: 100%;
            display: block;
            transition: all ease 0.4s;
            background: var(--wp--preset--color--gold-brown);
            mask: url(assets/img/icon-menu.svg) no-repeat;
            mask-size: 100% 100% !important;
            -webkit-mask: url(assets/img/icon-menu.svg) no-repeat;
            -webkit-mask-size: 100% 100% !important;
        }

        #menu-button.opened span {
            transform: rotate(-90deg);
            mask: url(assets/img/icon-close.svg) no-repeat;
            -webkit-mask: url(assets/img/icon-close.svg) no-repeat;
        }

    nav#main-menu {
        position: fixed;
        left: 0;
        height: 0;
        top: 60px;
        width: 100vw;
        overflow: hidden;
        transition: all ease 0.4s;
        background: var(--wp--preset--color--forest-green);

        display: flex;
        align-items: center;
    }

    nav#main-menu.opened {
        height: calc(100vh - 60px);
    }

        /* 1st Level */
        nav#main-menu ul {
            height: auto;
            display: block;
            overflow-y: auto;
            max-height: calc(100vh - 60px);
        }

            nav#main-menu ul li {
                position: relative;
                width: 100%;
                height: auto;
                display: block;
                padding: 1rem 0;
                text-align: center;
            }

                nav#main-menu ul li a {
                    margin: 0 auto;
                    padding: 0;
                    width: auto;
                    display: inline-block;
                    color: var(--wp--preset--color--white);
                }

                nav#main-menu ul li button {
                    position: absolute;
                    top: 16px;
                    right: 5vw;
                    width: 24px;
                    height: 24px;
                    margin: 0;
                }

                    nav#main-menu ul li button span {
                        background: var(--wp--preset--color--white);
                    }

        /* 2nd Level */
        nav#main-menu ul li ul {
            position: relative;
            top: 0;
            margin: 0;
            padding: 0;
            width: 100%;
            border: none;
            background: var(--wp--preset--color--forest-green);
        }

            nav#main-menu ul li ul li {
                padding: 5px 0;
            }

} /* <--- END OF BREAKPOINT */


/*============================================================================*/
/* ----- BREAKPOINT @ 780 Pixel ----- */
/*============================================================================*/

@media only screen and (max-width: 780px) { 

.sidebar-menu .wp-block-social-links.has-large-icon-size {
    font-size: 22px;
}

.contact-btn {
    width: 32px;
    height: 32px;
    background-size: 16px 16px;
}
    
} /* <--- 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: 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% !important;
}
    
} /* <--- END OF BREAKPOINT */