/*
Theme Name: Backauf Theme
Theme URI: https://www.backauf.de
Author: Niklas Hasch
Description: Theme
Version: 3.0.1
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@import "theme.css";
/*******************
*** RESET
*******************/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: baseline;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
body {font-family: arial, helvetica, sans-serif;line-height: 1;}
ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content: '';content: none;}
table{border-collapse: collapse;border-spacing: 0;}
/**** VORGEGEBENE REGELN ****/
html{overflow-x: hidden}
.right{text-align:right;}
p{margin-bottom:1em;}
h1, h2, h3, h4, h5, h6{margin-bottom:0.5em;}
#giant404{font-size:120px;text-align:center;}
#sub404{font-size:26px;text-align:center;}
#rightside{position:fixed;clear:both;height:150px;padding-top:20px;right:-880px;width:1000px;top:66%;transition:right 2.2s ease-in-out;background-color:black;z-index:1003;-webkit-border-top-left-radius:10px;-webkit-border-bottom-left-radius:10px;-moz-border-radius-topleft:10px;-moz-border-radius-bottomleft:10px;border-top-left-radius:10px;border-bottom-left-radius:10px}
#rightside.MagicDingDong{right:-1px}
.rightside_left{height:50%;}
.rightside_right{height:50%;}
.clear{clear:both;}
strong{font-weight:bold;}
.center{text-align:center;}
#header_infos{border-bottom:none !important;padding:5px 50px;}
#header_infos a{text-decoration:none;color::#006b4b;}
#header_infos a:hover{text-decoration:underline;}
#header_infos p{margin-bottom:0px;color:#006b4b;font-size:13px}
#header_infos .fa-envelope{margin-left:15px;}
.product-category {box-sizing: border-box;}
.product-category a{text-decoration:none !important;}
.woocommerce-loop-category__title > .count{display:none;}
.woocommerce-loop-category__title{font-size:18px !important;font-weight:bold;font-family:sans-serif;text-align:center;}
.woocommerce ul.products li.product a img{margin-bottom:0px;}
.posted_in{display:none;}
/**** EIGENE CSS REGELN ****/
/* === Layout === */
header { display: none; }

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    position: relative;
    padding-top: 0 !important; /* kein Header ? kein Offset nötig */
}

/* === Footer === */
footer {
    bottom: 0;
    position: fixed;
    width: 100%;
}

footer p {
    text-align: center;
    margin-bottom: 0;
}

/* === Button === */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #004f9f;
    color: white !important;
    margin-top: 10px;
    border-radius: 6px;
    text-decoration: none;
}

.button:hover {
    background-color: #003b7a;
    text-decoration: none !important;
}

/* === Map (SiteOrigin widget mit class="map") === */
.map {
    width: 100%;
    z-index: 0;
}

/* Verhindert dass Footer-Höhe die Map überdeckt */
.map iframe {
    display: block;
}

/* === KS Autoservice – Contact Form 7 === */
.ks-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.ks-form-group label {
    font-size: 14px;
    font-weight: bold;
    color: #111111;
    margin-bottom: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    font-size: 15px;
    color: #111111;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: border-color 180ms ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #004f9f;
}

.wpcf7 textarea {
    min-height: 130px;
    resize: vertical;
}

.wpcf7 input[type="submit"] {
    display: inline-block;
    padding: 11px 24px;
    background-color: #004f9f;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 180ms ease;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #003b7a;
}

/* Fehlermeldungen */
.wpcf7-not-valid-tip {
    color: #cc0000;
    font-size: 13px;
    margin-top: 4px;
}

.wpcf7-response-output {
    margin-top: 16px !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    border: none !important;
    background-color: #e8f0fe;
    color: #004f9f;
}

/* Button linksbündig */
.wpcf7 input[type="submit"] {
    display: block;
    margin-top: 8px;
    padding: 11px 24px;
    background-color: #004f9f;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 180ms ease;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #003b7a;
}

/* Datenschutz-Checkbox */
.ks-form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #111111;
    line-height: 1.5;
}

.ks-form-check .wpcf7-form-control-wrap {
    flex-shrink: 0;
    margin-top: 2px;
}

.ks-form-check input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #004f9f;
    cursor: pointer;
}

.ks-form-check a {
    color: #004f9f;
    text-decoration: underline;
}

.ks-form-check a:hover{color:#004f9f !important;}

