/*
Theme Name: Tischlerei Bohne
Template: dt-the7
*/

/* league-spartan-regular - latin */
/* league-spartan-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/league-spartan-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* league-spartan-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/league-spartan-v15-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* league-spartan-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/league-spartan-v15-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* league-spartan-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/league-spartan-v15-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* league-spartan-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/league-spartan-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fanwood-text-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fanwood Text';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/fanwood-text-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fanwood-text-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fanwood Text';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/fanwood-text-v17-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* nunito-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/nunito-sans-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/nunito-sans-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* public-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/public-sans-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* public-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/public-sans-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

#the7-body, input, textarea {
  font-family: 'League Spartan' !important
}
.wp-block-heading.has-text-align-center + p.has-text-align-center {
  font-family: 'Fanwood Text';
  line-height: 1.3em;
}
h1.wp-block-heading.has-text-align-center + p.has-text-align-center {
  font-size: 1.8rem !important;
}
h2.wp-block-heading.has-text-align-center + p.has-text-align-center {
  font-size: 1.4rem !important;
}
h1{
  font-family: 'League Spartan' !important;
  font-weight: 500 !important;
}
h2, figcaption, .wp-block-button .wp-block-button__link, .main-nav a .menu-text, #mobile-menu a .menu-text{
  font-family: 'League Spartan' !important;
  font-weight: 600 !important;
}
.has-large-font-size {
  font-size: var(--wp--preset--font-size--large) !important;
  line-height: 1.2em;
}
.same-logo, .sticky-mobile-logo-second-switch {
  width: 300px;
}
.has-text-align-center {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.wp-block-columns:not(.teaser) {
  max-width: 1800px;
  margin: auto;
  padding: 0 50px;
}
@media screen and (max-width: 778px) {
  .wp-block-heading {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
  }
  .has-large-font-size {
    font-size: 1.75rem !important;
  }
  .wp-block-quote p {
    font-size: 1.1rem;
  }
  h1.wp-block-heading.has-text-align-center + p.has-text-align-center,  h1.wp-block-heading.has-text-align-center + p.has-text-align-center {
    font-size: 1.3rem !important;
  }
  .same-logo, .sticky-mobile-logo-second-switch {
    width: 190px;
  }
  .wp-block-columns:not(.teaser) {
    padding:20px;
  }
}
/* Navigation */
.mobile-main-nav > li.has-children > a::after, .mobile-main-nav .next-level-button svg, .mobile-main-nav > li.menu-item-language > a::after {
  fill: #c4830f;
}

/* Groups */
#content > .wp-block-group {
  padding: 60px 0;
  margin-bottom: 0;
}
#content > .wp-block-group:not(.has-background){
  background: url(https://tischlerei-bohne.de/wp-content/uploads/2025/11/bg-wood-2.png);
}
#content > .testimonial {
  padding: 60px 0;
  margin-bottom: 15px;
  margin-top: 15px;
}
.testimonial .has-large-font-size {
  font-family: 'Fanwood Text';
  font-style: italic;
}
body:not(.home) #content > .testimonial {
  /*background-image: none;*/
}
.testimonial .has-text-align-center {
  max-width: 800px;
  margin: auto;
  padding: 0 20px;
}
#content > #leistungen{
    padding-right: 20px;
    padding-left: 20px;
  }
@media screen and (max-width: 778px) {
  #content > .wp-block-group{
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
  }
  #content > .wp-block-group:nth-child(2) {
    padding-top: 0;
  }
}
/* Buttons */
.wp-block-buttons.is-content-justification-center {
  margin-top: 1em;
}
.wp-block-button .wp-block-button__link, .wpcf7-form input[type="submit"] {
  background: #e49e1a;
  border-radius: 15px !important;
  transition: all .25s;
  font-size: 1.15rem;
  padding:calc(.5em + 2px) calc(.6em + 2px) calc(.4em + 2px) calc(.6em + 2px) !important;
}

.wp-block-button__link:hover, .wpcf7-form input[type="submit"]:hover {
  opacity: 1;
  background: #c37d04;
  color: white;
}
@media screen and (max-width: 778px) {
  .wp-block-buttons{
    justify-content: center;
  }
}

/* Media-Text-Element */
.wp-block-group > .wp-block-heading {
  /*max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 50px;
  padding-right: 50px;*/
  padding-left: 40px;
  padding-right: 40px;
}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
  padding-left: 0;
  max-width: calc(1380px / 2);
  margin-left: auto;
  padding:0 40px;
}
.wp-block-media-text > .wp-block-media-text__media {
   background:#faf9f5;
  padding: 15px;
  margin-right: 40px;
}
.wp-block-media-text > .wp-block-media-text__media img {
 border-radius: 7px;
}
.wp-block-media-text blockquote:not(.shortcode-blockquote):not(.elementor-blockquote) {
  background-color: #faf9f5;
  line-height: 1.5;
}
@media screen and (max-width: 778px) {
  .wp-block-group > .wp-block-heading {
    padding-left: 20px;
    padding-right: 20px;
  }
  .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .wp-block-media-text > .wp-block-media-text__media img {
    border-radius: 0;
  }
  .wp-block-media-text > .wp-block-media-text__media {
    padding: 20px;
    background: none;
    margin-right: 0;
  }
  .wp-block-heading + .wp-block-media-text.is-stacked-on-mobile {
    margin-top: 0;
  }

}

/* Teaser */
.teaser {
  padding-right: 40px;
  padding-left: 40px;
}
.teaser:last-of-type {
  margin-bottom: 0;
}
.teaser .wp-block-column {
  background: #f5f2eb;
  border-radius: 10px;
  padding: 20px;
}
.teaser .wp-block-column > .wp-block-image {
  margin: -20px -20px 10px -20px !important;
  position: relative;
  overflow: hidden;
}
.teaser .wp-block-column > .wp-block-image img {
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  transition: all 0.35s;
  max-height: 370px;
  object-fit: cover;
}
.teaser .wp-block-column > .wp-block-image img:hover {
  transform: scale(1.05);
}
.teaser .wp-element-caption {
  position: absolute;
  bottom: 30px;
  left: 20px;
  background: rgba(255,255,255,.7);
  padding: 3px 15px 3px 20px;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
  margin-left: -20px;
  color: #000000;
  font-weight: 700;
}
.teaser .wp-block-image a {
  display: inline;
}
@media screen and (max-width: 778px) {
  .teaser {
    padding-right: 20px;
    padding-left: 20px;
  }
}
/* Cover */
.wp-block-cover .wp-block-group{
  padding:20px; 
  max-width: 800px;
  margin: 0 auto 10px auto; 
}
.wp-block-cover.alignfull:first-of-type {
  margin-top: 0;
  margin-bottom: 15px;
}
.home .wp-block-cover.alignfull:first-of-type {
  min-height: calc(80vh - 80px) !important;
}
.wp-block-cover.alignfull:first-of-type .wp-block-buttons{

}
.wp-block-cover.alignfull:first-of-type .wp-block-image{
  margin-bottom: 0;
}
.wp-block-cover.alignfull:first-of-type + .wp-block-group {
  margin-top: 0;
}
.wp-block-cover__inner-container > * {
  margin-left: auto;
  margin-right: auto;
}
.wp-block-cover.alignfull.has-parallax {
  margin-bottom: 5px;
  margin-top: 15px;
}
.wp-block-cover__image-background.has-parallax {
  filter: contrast(200%); 
}
.wp-block-cover h2 {
  font: var(--the7-h2-font);
}
#content > .wp-block-cover > .wp-block-cover__image-background {
 /* filter: blur(10px);*/
}
.wp-block-cover .wp-block-cover {
  max-width: 1500px;
}
@media screen and (max-width: 778px) {
  .wp-block-cover.alignfull:first-of-type{
    margin-bottom: 10px;
  }
  .wp-block-cover.alignfull.has-parallax {
    margin-bottom: 0px;
    margin-top: 10px;
  }
}

/* Quote */
.wp-block-quote:not(.is-large):not(.is-style-large) {
  padding: 1em;
}
blockquote:not(.elementor-blockquote), blockquote:not(.elementor-blockquote) *, .shortcode-pullquote, .wp-block-quote cite {
  color: #c4830f;
}
.wp-block-quote p {
  font-size: 1.4rem;
  line-height: inherit;
  font-weight: 700;
  font-family: 'Fanwood Text';
}
@media screen and (max-width: 778px) {
  .wp-block-quote p {
    font-size: 1.3rem;
  }
}

/* Footer */
#footer .wp-block-columns {
  gap: 1em;
  font-family: 'League Spartan';
}

/* Contact Form */
.content textarea, .content input {
  font-size: 1.2rem !important;
}
.wpcf7-form section > p {
  display: flex;
  gap: 0 20px;
  flex-wrap: wrap;
}
form section span {
  width: calc(50% - 10px);
}
form section.full span {
  width: 100%;
  text-align: center;
}
.captcha-image {
  width: 100%;
  box-sizing: border-box;
}
.captcha-image .cf7ic_instructions span {
  color: #c4830f;
}
.captcha-image label > input + svg, .captcha-image label > input + svg {
  padding: 5px !important;
}
.captcha-image label > input:checked + svg, .captcha-image label > input:focus + svg {
  border: 2px solid transparent;
  color: #c4830f;
}
form label {
  color: #353436;
  transition: all .25s;
}
form label:hover{
  color: #f28f00;
}
.wpcf7-form-control.wpcf7-checkbox label {
  color: black;
}
input:focus, textarea:focus {
  border: 2px solid #999;
}
input:focus::placeholder, textarea:focus::placeholder {
  color: white;
}

input[type="checkbox"], input[type="radio"] {
  cursor: pointer;
}
small {
  font-size: 85%;
  line-height: 1.4em;
}
form small {
  display: block;
  margin: .5rem auto 2rem auto;
}
form {
  max-width: 1000px;
  margin: auto;
}
.wpcf7-form-control.wpcf7-checkbox {
  display: block;
  margin-bottom: 2em;
  margin-top: 2em;
}
.captcha-image {
  border: solid 2px var(--the7-input-border-color) !important;
}
.wpcf7-not-valid-tip {
  color: #f28f00;
  font-size: 1rem;
  font-weight: normal;
  display: block;
  line-height: 1;
  width: 100%;
}
.wpcf7-form-control.wpcf7-radio.wpcf7-not-valid {
  color: #f28f00 !important;
  font-weight: 700;
}
.wpcf7-list-item {
  margin: 0;
}
.wpcf7-quiz.wpcf7-not-valid, input.wpcf7-validates-as-required.wpcf7-not-valid {
  border: 2px solid #f28f00;
}
.content textarea {
  height: 150px;
}
.captcha-image label > input + svg {
  cursor: pointer;
  width: 30px;
}
.btn-submit, .wpcf7-form .btn-submit input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  font-size: 1.3rem !important;
  margin-top: 1em;
}

