/*
 Theme Name:   Mopedsitz Theme
 Description:  Mopedsitz Theme
 Author:       Internetagentur SEO Lausitz
 Author URI:   https://www.seo-lausitz.de
 Template:     twentytwentythree
 Version:      1.0
 Text Domain:  twentytwentythree-child
*/


@font-face {
    font-family: 'ssp_r';
    src: url('fonts/SourceSansPro-Regular.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;

}


@font-face {
    font-family: 'ssp_b';
    src: url('fonts/SourceSansPro-Bold.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;

}


@font-face {
    font-family: 'ssp_l';
    src: url('fonts/SourceSansPro-Light.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;

}


@font-face {
    font-family: 'racing';
    src: url('fonts/RacingSansOne-Regular.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;

}


html {
		max-width: 100vw;
		overflow-x: hidden;
		scroll-behavior: smooth;
	}


	

body {	
    			


font-size: 16px;
padding: 0 !important;
		max-width: 100vw;
		
        
}



/*ALLGEMEIN*/

h1,h2,h3,h4 {
font-family: 'racing';
}





body > .wp-site-blocks {
    padding:0;
}


a.wp-block-button__link {background: linear-gradient(135deg,  rgba(201,20,20,1) 0%,rgba(170,3,3,1) 100%); margin:0; color:white; border-radius:10px;}

.entry-content a:not(.wp-block-button__link) { color: rgba(201,20,20,1) }


/* TOP ICONS */

.top_icons {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#c91414+0,aa0303+100 */
background: linear-gradient(135deg,  rgba(201,20,20,1) 0%,rgba(170,3,3,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
width:100%;
padding:0.2em 3em;
display: flex;
justify-content: flex-end;
}

.top_icons a {
    color: white;
    font-size:18px;
}


/* HEADER */
header {position: fixed; top:0; left:0; width:100%; background-color: white; z-index:100;}


/*HEADLINE*/

.headline {border-bottom: 8px solid rgba(170,3,3,1); box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;}
.headline > div {padding:0em 3em; padding-bottom:0 !important}
header .wp-block-site-title {font-family: 'racing'; font-size:3em; color:rgba(170,3,3,1); }



/*Hero*/

.hero .wp-block-cover__inner-container {width:40% !important; background-color: rgba(0,0,0,0.4); padding:2em; box-sizing: border-box; border-radius: 10px;}
.hero_pre {font-size:14px; margin:0; font-style: italic;}
.hero_headline {font-size:3em; font-family: 'racing'; margin:0; line-height:1em; margin-bottom: 0.5em;}
.hero_text {font-size:18px; margin:0; margin-bottom: 2em;}
.hero_button a {background: linear-gradient(135deg,  rgba(201,20,20,1) 0%,rgba(170,3,3,1) 100%); margin:0; color:white; border-radius:10px;}




/* MAIN */


/* SHOP */
.wc-block-grid__product .wc-block-grid__product-image {position: unset;}

.wp-block-button.wc-block-components-product-button {display: none;}

.wc-block-components-product-image .wc-block-components-product-sale-badge--align-right {
    left: auto;
    margin: 0;
    position: absolute;
    right: -20px;
    top: -20px;
    transition: revert;
    transform: rotate(10deg);
    font-size: 18px;
    color: red;
}

.add_to_cart_button { background: linear-gradient(135deg,  rgba(201,20,20,1) 0%,rgba(170,3,3,1) 100%); margin:0; color:white; border-radius:10px; }

.product_wrapper .wp-block-woocommerce-product-price {
    font-size: 2.5em;
  /* color: rgba(170,3,3,1); */
   font-weight: bold;
}

.wapf--rounded { border: 1px solid black; }
select.wapf-input, input.wapf-input, textarea.wapf-input {padding: 1em;
    background: white;
    border: 1px solid black;
    border-radius: 5px;
    
    font-size: 16px;
    font-weight: 200;
font-family: 'ssp_r';
}

.single_add_to_cart_button {background: linear-gradient(135deg,  rgba(201,20,20,1) 0%,rgba(170,3,3,1) 100%); margin:0; color:white; border-radius:10px;}
.woocommerce-price-suffix {
  font-size: 0.3em;
  width: 100%;
  display: block;
  font-weight: bold;
}
.wc-block-components-product-title a, .wc-block-components-product-title a:visited {
    color:rgba(170,3,3,1) !important;
    text-decoration:none;
}



.wp-block-button__link, wp-block-button__link:visited { 
        color: white !important;
}


.wp-element-button:visited, .wp-block-button__link:visited {
    color: white !important;
}


.wc-block-grid__products .wc-block-grid__product-image img {
    height: 200px;
    max-width: 100%;
    width: auto;
    margin-top:2em;
  }

  .wc-block-grid__product {
    border: 1px solid red;
    border-radius: 5px;
    margin:1em;
  }


  .wc-block-grid.has-3-columns .wc-block-grid__product {
    flex: 1 0 33.3333333333%;
    max-width: calc(33.3333333333% - 2em) !important;
  }




.zoomImg {
    background-color: white;
}




/* ----------------------------------
   Popups
---------------------------------- */

.popup-container {
	display: none;
	position: fixed;
	top: 0; left: 0;
	width: 100vw; height: 100vh;
	background: rgba(0, 0, 0, 0.7);
	z-index: 9999;
    max-width: 100vw;
}

.popup-container h2 {margin-top: 0; margin-bottom:0em;}

.popup-content {
	position: absolute;
	top: 30%; left: 50%;
	transform: translate(-50%, -30%);
	background: white;
	padding: 1em 3em ;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
	width: 90%;
	max-width: 500px;
}

.close-popup {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 24px;
	cursor: pointer;
}

#open-inquiry-popup {
	margin: auto;
	border: 1px solid white;
	width: fit-content;
	padding: 0.5em 1em;
	border-radius: 5px;
}



#open-inquiry-popup {
background: linear-gradient(135deg, rgba(201,20,20,1) 0%,rgba(170,3,3,1) 100%);
  margin: auto;
    margin-top: 1em;
    margin-bottom: 0px;
  color: white;
  border-radius: 10px;
  cursor:grab;
}



.design_wrapper {border:1px solid grey; border-radius: 10px; margin-bottom:1em; background-color: rgb(253, 253, 253); padding:0.5em 1em;}

.radio-flex .wapf-radios {display: flex; gap:2em;}

.hidden {display: none;}

.cf7-home-btn {display: none;}


/* ANFRAGE FORMULAR */


/* ----------------------------------
   Anfrage Formular Styling
---------------------------------- */

.angebot_formular {
    width: 100%;
    margin-top: 2em;
}

.angebot_formular .cf {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.angebot_formular .row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.angebot_formular .row > div:first-child {
    width: 40%;
    font-size: 0.9em;
    color: #333;
}

.angebot_formular .row > div:last-child {
    width: 60%;
}

/* Inputs */
.angebot_formular input,
.angebot_formular textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 0.95em;
    transition: border 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.angebot_formular input:focus,
.angebot_formular textarea:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74,144,226,0.15);
}

/* Datenschutz */
.angebot_formular .ds {
    display: flex;
    align-items: flex-start;
    font-size: 0.8em;
    line-height: 1.4;
}

.angebot_formular .ds input {
    margin-top: 3px;
    width: 30px;
}

/* Submit Button */
.angebot_formular input[type="submit"] {
    background: linear-gradient(135deg, rgba(201,20,20,1) 0%,rgba(170,3,3,1) 100%);
    
    color: #fff;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.angebot_formular input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Kleine Hinweise */
.angebot_formular .row div[style*="font-size"] {
    color: #666;
}

/* ----------------------------------
   Mobile Optimierung
---------------------------------- */

@media (max-width: 600px) {

    .popup-content {
        top: 50%;
        width: 95%;
        padding: 15px;
    }

    .angebot_formular .row {
        flex-direction: column;
        align-items: flex-start;
    }

    .angebot_formular .row > div:first-child,
    .angebot_formular .row > div:last-child {
        width: 100%;
    }

    .angebot_formular input,
    .angebot_formular textarea {
        font-size: 1em;
    }

    .angebot_formular input[type="submit"] {
        width: 100%;
    }
}



.wp-block-woocommerce-product-image-gallery  {position: sticky !important; top: 8em;}
.woocommerce-product-gallery__image img {
    aspect-ratio: 1 / 1 !important;
    width: 100%;
    object-fit: contain; /* oder cover */
}



/* FOOTER */
footer {
background: linear-gradient(135deg,  rgba(201,20,20,1) 0%,rgba(170,3,3,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
width:100%;
padding:2em 3em;
color:white;
font-size:0.9em;
box-sizing: border-box;
}

footer figure.wp-block-image {width: fit-content; margin:0 !important}
.footer_heading {font-size:1.5em; font-family:'racing';}
footer .wp-block-group {display:flex;}
footer div .wp-block-columns {align-items: center !important;}
footer img {filter: invert(1); margin:1em;}
footer a, footer i {
    color:white;
    text-decoration: none;
}





.wc-block-grid__product .wc-block-components-product-title {min-height: 3em;}

.product p.wc-gzd-additional-info {
display: none;
}





.wc-block-product .wp-block-post-title {min-height: 3em;}

.wc-block-product .woocommerce-Price-amount {font-size: 2em;}
.wc-block-product .woocommerce-price-suffix {font-size: 0.8em;}




body.farbe-aktiv .flex-control-nav.flex-control-thumbs {
    display: none !important;
}


.woocommerce-checkout .shop_table{padding:10px !important; box-sizing: border-box; display: block; font-size:0.9em;}

.wp-element-button {background: linear-gradient(135deg, rgba(201,20,20,1) 0%,rgba(170,3,3,1) 100%);
  margin: 0;
  color: white;
  border-radius: 10px;}



  .woocommerce-info, .woocommerce-message {
  background-color: rgba(176,176,176,.6);
  color: #222;
  border-top-color: rgba(201,20,20,1);
  }








@media (max-width: 1300px) {
  .hero .wp-block-cover__inner-container {
width: 60% !important;
  }
}




@media (max-width: 1100px) {
  .hero .wp-block-cover__inner-container {
width: 70% !important;
  }

  .headline > div {padding:0 1em;}
}




@media (max-width: 900px) {


    .headline > div {padding:0 3em;}

    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: block;
    }
  
  .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    display: block !important;
  }

  /* Optional: Desktop-Menü ausblenden */
  .wp-block-navigation__container {
    flex-direction: column;
  }



  	#modal-1 {
		/*background-image: url('.png');*/
		background-size: cover;
		background-position: center;
	}
	

	#modal-1-content {width:100%;
		justify-content: center;
		align-items: center;
		align-content: center;
		flex-direction: column;
		padding-top: 1em;
	}


	.wp-block-navigation__responsive-container-close svg {fill: #197222 !important; transform: scale(1.5);}


#modal-1-content > ul {justify-content: center !important; align-items: center; background-color: rgba(255, 255, 255, 0.9) !important; padding: 10px;}
	#modal-1-content li {text-align: center; align-items: center !important; justify-content: center;}

}




@media (max-width: 780px) {
footer > div {display: flex; justify-content: space-around; }
footer .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column  {width: fit-content; flex-basis: 45% !important;}

.hero_headline {font-size: 2em;}

}



@media (max-width: 720px) {

.wc-block-grid__products {display: block;}
.wc-block-grid.has-3-columns .wc-block-grid__product { width: 80%;margin: 1em auto; max-width: 450px !important; padding:1em 0em;}
.wc-block-grid__products .wc-block-grid__product-image img {margin-top:0; width:100%; height:auto;}
}


@media (max-width: 600px) {
    .wc-block-grid.has-3-columns .wc-block-grid__product { width: 80%;margin: 1em auto; max-width: 450px !important; padding:0em 0em 1em 0 !important;}

}

@media (max-width: 650px) {

footer .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column  {width: fit-content; flex-basis: 100% !important; text-align: center;}
footer ul {width: fit-content; text-align: left; margin: auto;}
}




@media (max-width: 550px) {
.hero .wp-block-cover__inner-container {
width: 90% !important;
margin: auto;
left:5%;
text-align: center;
  }

}


.checkout-button {color: white !important;}

.widerruf-btn a.wp-block-button__link,  {

  color: rgb(201, 20, 20) !important;
  margin: 0px;
  background: white;
  border-radius: 10px;
  font-weight:bold;
}






.cf_wrapper {

    width: min(900px, 100%);
    margin: auto;
    padding: 2rem;

    box-sizing: border-box;

    border-radius: 20px;

background: linear-gradient(
    360deg,
    rgba(180, 0, 0, 0.9) 0%,
    rgba(210, 20, 20, 0.9) 50%,
    rgba(140, 0, 0, 0.9) 100%
);

    color: #fff;

    box-shadow:
        0 15px 40px rgba(0,0,0,.15);

}

.cf {
    width: 100%;
}

.row {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 1.2rem;
}

.row > div:first-child {
    font-weight: 600;
    font-size: .95rem;
}

.cf input,
.cf textarea {

    width: 100%;

    padding: 14px 16px;

    border: none;
    border-radius: 10px;

    font-size: 16px;
    font-family: inherit;

    box-sizing: border-box;

    background: rgba(255,255,255,.95);

    transition: .2s ease;
}

.cf input:focus,
.cf textarea:focus {

    outline: none;

    background: #fff;

    box-shadow:
        0 0 0 4px rgba(255,255,255,.25);
}

.cf textarea {
    min-height: 180px;
    resize: vertical;
}

.cf a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.ds {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cf input[type="checkbox"] {

    width: 24px;
    height: 24px;
    min-width: 24px;

    accent-color: #2c8a3f;

    margin-top: 2px;
}

.cf_hint {
    font-size: .85rem;
    opacity: .9;
    margin-bottom: 1rem;
}

input[type="submit"] {

    width: 100% !important;

    padding: 16px !important;

    border: none;

    border-radius: 10px;

    background: #2f7d36;

    color: #fff;

    font-size: 1rem;
    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}

input[type="submit"]:hover {

    transform: translateY(-2px);

    background: #27682d;
}

.wpcf7-submit:disabled {

    background: #7b7b7b;
    cursor: not-allowed;
}

.wpcf7-not-valid-tip {

    color: #fff;

    background: rgba(255,0,0,.25);

    padding: .5rem;

    border-radius: 8px;

    margin-top: .5rem;
}

@media (max-width: 768px) {

    .cf_wrapper {

        padding: 1.25rem;

        border-radius: 15px;
    }

    .cf textarea {
        min-height: 140px;
    }

}


.cf a  {color:white !important}




.widerruf-btn a.wp-block-button__link {
  color: rgb(201, 20, 20) !important;
  margin: 0px;
  background: white;
  border-radius: 10px;
  font-weight: bold;
}
