/*
Theme Name: Simone Becker
Theme URI: https://creativethemes.com/blocksy/
Author: Website-Team
Template: blocksy
Version: 1.0.0
Text Domain: sbecker
*/

/* gelasio-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: 'Gelasio';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/gelasio-v14-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* gelasio-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: 'Gelasio';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/gelasio-v14-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* gelasio-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: 'Gelasio';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/gelasio-v14-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* gelasio-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: 'Gelasio';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/gelasio-v14-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-sans-3-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: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-sans-3-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-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: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/source-sans-3-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-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: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/source-sans-3-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


* {
  font-family: 'Source Sans 3';
}
.wp-block-paragraph {
  margin-bottom: 1rem;
}
h1, h2, h3, h4 {
   font-family: 'Gelasio';
}
h2.has-text-align-center {
  margin-top: 0;
  max-width: 1000px;
}
h1 + h2{
  font-family: 'Source Sans 3';
  font-weight: normal;
  font-size: 1.5rem;
  margin-top: 0 !important;
}
h2::after {
  content: '';
  height: 3px;
  background: var(--theme-palette-color-5);
  width: 60px;
  display: block;
  margin: .5rem 0;
}
h2.has-text-align-center::after {
  margin: .5rem auto;
  margin-top: 0 !important;
}
h1 + h2:after{
  content: none;
}
.wp-block-media-text__content > p:first-child, p.subline {
  margin-bottom: 0 !important;
  color: var(--theme-palette-color-5);
  font-weight: 600;
}
@media (max-width: 1500px) {
	h3 {
    hyphens: auto !important;
  }
}
@media (max-width: 767.9px) {
	h1 + h2{
    font-weight: 600;
    font-size: 1.3rem;
  }
}

.home .wp-block-cover h1, .home .wp-block-cover h2, .home .wp-block-cover p {
  text-shadow: 0 0 4px rgba(246, 240, 227, 1), 0 0 100px rgba(246, 240, 227, 0.9), 0 0 200px rgba(246, 240, 227, 0.5);
}
.home .ct-container-full {
  padding-top: 0;
}
.has-text-align-center.wp-block-paragraph {
  max-width: 700px;
  margin-bottom: 2rem;
}
.wp-block-buttons {
  margin-top: 2rem;
}
a > img{
  transition: all .25s;
}
a:hover > img{
  opacity: .7;
}
a:hover > .wp-block-image{
  transition: all .25s;
}
:root :where(.wp-block-group.has-background) {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
:root :where(p.has-background, .wp-block-group.has-background){
  padding-top: 2rem;
  padding-bottom: 2rem;
}
/* Teaser */
.teaser .wp-block-image {
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}
.teaser .has-large-font-size.wp-block-paragraph {
  margin-bottom: .25em;
}

/* Media-Text */
.wp-block-media-text.has-media-on-the-right > .wp-block-media-text__content {
  padding-left: 0;
}
.wp-block-media-text:not(.has-media-on-the-right) > .wp-block-media-text__content {
  padding-right: 0;
}
.wp-block-media-text > .wp-block-media-text__media img {
  border-radius: 20px;
}


/* AKKORDEON */

.simone-accordion {
  --acc-green: #173C2B;
  --acc-accent: #397C2F;
  --acc-cream: #F2EDE3;
  --acc-border: #E2DCCE;

  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1000px;
}

/* Einzelne Akkordeon-Karten */
.simone-accordion .wp-block-accordion-item {
  margin: 0;
  padding: 0;
  background: var(--acc-cream);
  border: 1px solid var(--acc-border);
  border-radius: 12px;
  overflow: hidden;
  transition: background .2s ease,
              border-color .2s ease;
}

/* Geöffnete Karte */
.simone-accordion .wp-block-accordion-item.is-open {
  background: #FFFFFF;
  border-color: #A3B59C;
}

/* Überschrift zurücksetzen */
.simone-accordion .wp-block-accordion-heading {
  margin: 0;
  padding: 0;
  font-size: inherit;
}

/* Klickbare Überschrift */
.simone-accordion
.wp-block-accordion-heading__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--acc-green);
  font-family: "Source Sans 3", sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

/* Überschrift beim Hover */
.simone-accordion
.wp-block-accordion-heading__toggle:hover {
  background: rgba(57, 124, 47, .045);
}

/* Titel */
.simone-accordion
.wp-block-accordion-heading__toggle-title {
  flex: 1;
}
.simone-accordion
.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
  text-decoration: none;
}

/* Plus-/Minus-Symbol */
.simone-accordion
.wp-block-accordion-heading__toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--acc-green);
  color: #DFE8D9;
  font-size: 20px;
  font-weight: 400;
}

/* Icon bei geöffnetem Element */
.simone-accordion .is-open
.wp-block-accordion-heading__toggle-icon {
  background: var(--acc-green);
  color: #FFFFFF;
}

/* Inhalt */
.simone-accordion .wp-block-accordion-panel {
  padding: 0 26px 28px;
  color: #26312A;
  font-size: 17px;
  line-height: 1.7;
}

/* Absätze */
.simone-accordion .wp-block-accordion-panel p {
  margin: 0 0 16px;
}

/* Zwischenüberschriften */
.simone-accordion .wp-block-accordion-panel h3,
.simone-accordion .wp-block-accordion-panel h4 {
  color: var(--acc-green);
  margin: 24px 0 12px;
}

/* Aufzählungen */
.simone-accordion .wp-block-accordion-panel ul {
  margin: 12px 0 20px;
  padding-left: 24px;
}

.simone-accordion .wp-block-accordion-panel li::marker {
  color: var(--acc-accent);
}

/* Tastaturbedienung */
.simone-accordion
.wp-block-accordion-heading__toggle:focus-visible {
  outline: 3px solid var(--acc-accent);
  outline-offset: -3px;
}

/* Smartphones */
@media (max-width: 767px) {
  .simone-accordion {
    gap: 10px;
  }

  .simone-accordion
  .wp-block-accordion-heading__toggle {
    padding: 18px;
    font-size: 16px;
  }

  .simone-accordion .wp-block-accordion-panel {
    padding: 0 18px 22px;
    font-size: 16px;
  }
}


/* Form */

.wp-block-contact-form-7-contact-form-selector {
  max-width: 900px;
  margin: 3rem auto 0 auto;
}
.wpcf7-not-valid-tip {
  display: block !important;
  color: #ee7203;
  margin-left: 17px;
  font-style: normal !important;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
  background-color: #dae3b0;
  border-radius: 30px;
  padding: 10px 15px;
  border: 1px solid #ced285;
  transition: border-color 0.2s;
  width: 100%;
}
.wp-block-group.has-background input[type="text"], .wp-block-group.has-background input[type="email"], .wp-block-group.has-background input[type="tel"], .wp-block-group.has-background textarea   {
  background-color: #fff;
}
.textarea {
  text-align: center;
  margin-bottom: 1rem;
}
.textarea + p {
  margin-bottom: 0;
}
textarea {
  resize: none;
  max-height: 200px;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
  outline: none;
  border: 2px #94c11d solid;
}
.wpcf7 p::after {
  content: none;
}
.wpcf7-form section > p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 1rem;
}
.wpcf7-form section > p > span {
  flex: 1;
  min-width: 250px;
}
.wp-block-contact-form-7-contact-form-selector form section > p > span {
  flex: 1;
  min-width: 250px;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
  font-family: "Roboto","sans-serif";
  font-size: 1rem;
}
input[type="submit"] {
  width: 100%;
  border-radius: 40px;
  padding: 10px 20px;
  background: #94c11d;
}
input[type="submit"]:hover {
  background: #194c2b;
}
.captcha-image {
  width: 100%;
  box-sizing: border-box;
  border-radius: 25px;
  border: 1px solid #ced285;
  margin-bottom: 1rem;
}
.captcha-image .cf7ic_instructions span {
  color: #194c2b;
}
.captcha-image label > input:checked + svg, .captcha-image label > input:focus + svg {
  border: 2px solid #194c2b;
}
.wpcf7-list-item {
  margin: 0 0 1em 0;
}
.wpcf7-list-item-label, .wpcf7-list-item input {
  cursor: pointer;
}



/* Footer */
.ct-container-fluid {
  width: 100%;
}
footer a {
  
}
footer a:hover {
  color: #f1ddc4;
}
@media (max-width: 1200px) {
	#footer .wp-block-cover {
    min-height: 250px !important;
  }
}
@media (max-width: 767.9px) {
	#footer .wp-block-cover {
    min-height: 100px !important;
  }
}
