/*
 Theme Name:     Schipke
 Author:         HEIMATHELD
 Template:       Divi
 Version:        1.0.0
*/
 
/*------------------------------------------------------- */

/* fauna-one-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: 'Fauna One';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/uploads/fonts/fauna-one.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --primary-color: #807B40;
  --secondary-color: #ffee00;
  --third-color: #AFBB42;
  --fourth-color: #d5c923;
  --background-color: #555339;
}

body, h1, h2, h3, h4, h5, h6, .title, p {
	hyphens: auto; 
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Fauna One', sans-serif !important;
}

h2 {
	font-size: 26px!important;
}

h3 {
	font-size: 24px !important;
	padding: 0 0 20px 0 !important;
}

.subtitle {
	font-size: 16px;
	margin: 0 0 10px 0;
	display: block;
}

html, body, p, a, .et-menu a, .et_pb_menu__link, .et_pb_button, button, input, textarea, select, .et_pb_text, .et_pb_module, .et_pb_blurb_content {
	font-family: 'Fauna One', sans-serif !important;
}

/* INTRO */

.page-id-24579 header, .page-id-24579 footer {
	display: none;
}

.bs-intro {
  padding: 80px 20px;
  text-align: center;
  background: #555339;
}

@media (max-width: 420px){
	.bs-intro {
	  padding: 20px;
	}
}

.page-id-24579 {
  background: #555339;
}

.bs-intro .intro-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.bs-intro .intro-sub {
  font-size: 1.25rem;
  margin-bottom: 60px;
  color: #fff;
}

@media (max-width: 420px){
	.bs-intro .intro-title {
		font-size: 2rem;
	}
	.bs-intro .intro-sub {
		font-size: 1rem;
		margin-bottom: 40px;
	}
}

.intro-grid {
  display: grid;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.intro-card {
  background: #fff;
  padding: 40px 35px;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all .35s ease;
  position: relative;
}

.intro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 28px rgba(0,0,0,0.12);
}

.intro-card span[class^="icon-"], .intro-card span[class*=" icon-"] {
  font-size: 80px;
  margin: 0 0 40px 0;
  display: block;
  color: var(--third-color);
}

.intro-card h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.intro-card p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 25px;
}

.card-btn {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: #2c6e3e;
  border-bottom: 2px solid transparent;
  transition: .3s;
}

.intro-card:hover .card-btn {
  border-color: #2c6e3e;
}

/* HERO */

#schipke-head section.et_pb_fullwidth_header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}
#schipke-head .et_pb_fullwidth_header .et_pb_fullwidth_header_container {
    width: 80%;
    max-width: 1600px;
}
@media (min-width: 1500px) {
	#schipke-head .et_pb_fullwidth_header .et_pb_fullwidth_header_container {
		max-width: 80%;
	}
}
#schipke-head .header-content {
    padding: 0;
	text-align: center;
	display: flex;
	flex-direction: column;
}
#schipke-head .header-content h1.et_pb_module_header {
    font-size: 115px;
    line-height: 1.2em;
    text-transform: uppercase;
	order: 2;
}
#schipke-head .header-content span.et_pb_fullwidth_header_subhead {
    font-size: 25px;
	order: 1;
	margin: 0 0 20px 0;
}
@media (max-width: 980px) {
	#schipke-head .header-content h1.et_pb_module_header {
		font-size: 80px;
	}
}
@media (max-width: 576px) {
	#schipke-head .header-content h1.et_pb_module_header {
		font-size: 40px;
	}
	#schipke-head .header-content span.et_pb_fullwidth_header_subhead {
		font-size: 20px;
	}
}
@media (max-width: 979px) {
	#schipke-head .header-content .et_pb_header_content_wrapper {
		display: none;
	}
}
#schipke-head .header-content .et_pb_header_content_wrapper {
    margin: 10px auto;
    padding: 0 30%;
	order: 3;
}
#schipke-head .header-content .et_pb_header_content_wrapper p {
	font-size: 16px;
	line-height: 2rem;
}

/* Referenz-Galerie als Grid */
.bs-ref-gallery{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.bs-ref-gallery__item{
  margin: 0;
  overflow: hidden;
  background: #f3f3f3;
  border-radius: 12px;
}

/* Einheitliche Kachelform (z.B. 4:3) */
.bs-ref-gallery__item img{
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 1024px){
  .bs-ref-gallery{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px){
  .bs-ref-gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 480px){
  .bs-ref-gallery{ grid-template-columns: 1fr; }
}

/*------------WP Forms---------------------*/
.wpforms-container input.wpforms-field-medium, .wpforms-container select.wpforms-field-medium, .wpforms-container .wpforms-field-row.wpforms-field-medium, .wp-core-ui div.wpforms-container input.wpforms-field-medium, .wp-core-ui div.wpforms-container select.wpforms-field-medium, .wp-core-ui div.wpforms-container .wpforms-field-row.wpforms-field-medium {
    max-width: 100% !important;
}

.wpforms-container .wpforms-field-label, .wp-core-ui div.wpforms-container .wpforms-field-label {
    font-weight: 500;
}

/* 1) Burger-Menü im Footer deaktivieren (unter 980px sichtbar) */
@media (max-width: 980px){
  .footer-menu .et_pb_menu__menu { 
    display: flex !important;
  }
  .footer-menu .et_mobile_nav_menu,
  .footer-menu .et_pb_menu__icon.et_pb_menu__toggle {
    display: none !important;
  }
}

/* 2) Menüeinträge im Footer vertikal stapeln */
.footer-menu .et_pb_menu__wrap{
  justify-content: flex-start;
}
.footer-menu .et_pb_menu__menu > nav > ul{
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

/* 3) Kleine Aufräumarbeiten für Divi-Defaults */
.footer-menu .et-menu > li{
  display: block;
}

/* OPTIONAL: Dropdown-Pfeile im Footer entfernen */
.footer-menu .et-menu .menu-item-has-children > a:first-child::after{
  display: none;
}

/* OPTIONAL: Submenüs im Footer einfach darunter anzeigen (statt Hover-Dropdown) */
.footer-menu .et-menu li ul{
  position: static;
  display: block;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  margin: .25rem 0 0 1rem;
  padding: 0;
}
