/*
Theme Name: LG-Bau TESTTEST
Description: Professionelles WordPress-Theme für Bauunternehmen mit dunklem Design und Gold-Akzenten
Version: 1.0
Author: Ihr Name
Text Domain: lg-bau
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a;
    color: #e5e5e5;
}

@media screen and (min-width: 1024px){
    .test{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media screen and (min-width: 1240px){
    .test{
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

.menu-item-39{
	white-space: nowrap !important;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(203, 161, 53, 0.1);
    border-color: #cba135;
}

.faq-item {
    border-bottom: 1px solid #333;
}

.faq-question {
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #cba135;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.open {
    max-height: 500px;
}

.faq-toggle {
    transition: transform 0.3s ease;
}

.faq-toggle.open {
    transform: rotate(180deg);
}

.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(203, 161, 53, 0.1);
}

.gold-hover:hover {
    color: #cba135;
}

/* Navigation ohne Aufzählungspunkte */
header nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 2rem; /* Abstand zwischen den Menüpunkten */
}

header nav li {
	margin: 0;
}

header nav ul li a {
	color: #e5e5e5;
	transition: color 0.3s ease;
}

header nav ul li a:hover {
	color: #cba135;
}

/* Navigation (Dropdown + Bulletfix) */
.menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-item-has-children {
	position: relative;
}

.menu-item-has-children > ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background-color: #1a1a1a;
	padding: 0.5rem 0;
	min-width: 12rem;
	z-index: 50;
	border: 1px solid #444;
	border-radius: 0.5rem;
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
	animation: fadeIn 0.3s ease-in-out forwards;
}

.menu-item-has-children:hover > ul {
	display: block;
}

.menu-item-has-children > ul > li > a {
	display: block;
	padding: 0.5rem 1rem;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.menu-item-has-children > ul > li > a:hover {
	background-color: #333;
	color: #cba135;
}
/* Basis Layout */
.referenzen {
	background-color: #131313;
	color: #f8f8f8;
	padding: 4rem 1rem;
	min-height: 100vh;
	font-family: sans-serif;
}

.referenzen h1 {
	font-size: 2.5rem;
	text-align: center;
	margin-bottom: 2rem;
}

/* Filter */
.referenz-filter {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 3rem;
	flex-wrap: wrap;
}

.filter-btn {
	padding: 0.5rem 1rem;
	border: 1px solid #cba135;
	background: transparent;
	color: #f8f8f8;
	cursor: pointer;
	border-radius: 9999px;
	transition: background 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
	background: #cba135;
	color: #131313;
}

/* Grid */
.referenz-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.referenz-card {
	background: #1a1a1a;
	border-radius: 0.5rem;
	overflow: hidden;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	transition: transform 0.3s;
}

.referenz-card:hover {
	transform: scale(1.02);
}

.referenz-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.referenz-card h2 {
	font-size: 1.25rem;
	margin: 1rem;
}

.referenz-card p {
	font-size: 0.95rem;
	margin: 0 1rem 1rem;
	color: #d1d1d1;
}

/* Einleitungstext */
.referenz-einleitung {
	max-width: 800px;
	margin: 0 auto 2rem;
	text-align: center;
	color: #ccc;
	font-size: 1.1rem;
}

/* Partner-Karussell */
.partner-carousel-wrapper {
	overflow: hidden;
	width: 100%;
	max-width: 960px;
	margin: 2rem auto;
}

.partner-carousel {
	display: flex;
	gap: 2rem;
	width: max-content;
}

.partner-carousel img {
	height: 140px;
	object-fit: contain;
	flex-shrink: 0;
	filter: grayscale(1) brightness(0.8);
	transition: filter 0.3s, transform 0.3s;
}

.partner-carousel img:hover {
	filter: grayscale(0) brightness(1);
	transform: scale(1.1);
}

/* Testimonials */
.testimonials {
	max-width: 800px;
	margin: 4rem auto 2rem;
	text-align: center;
}

.testimonials h2 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
	color: #fff;
}

.testimonial-container {
	position: relative;
	overflow: hidden;
}

.testimonial-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	transform: scale(0.98);
}

.testimonial-slide.active {
	opacity: 1;
	position: relative;
	transform: scale(1);
}

.testimonial-slide blockquote {
	background: linear-gradient(145deg, #1a1a1a, #1f1f1f);
	padding: 2rem;
	border-radius: 1rem;
	box-shadow: 0 0 10px rgba(203, 161, 53, 0.2);
	color: #ddd;
	font-style: italic;
}

.testimonial-slide footer {
	margin-top: 1rem;
	font-weight: bold;
	color: #cba135;
}


/* Carousel Animation */
@keyframes scroll-left {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%);
	}
}

/* Globale Typografie-Anpassungen */
body {
	font-family: 'Inter', sans-serif;
	font-size: 1.125rem;      /* 18px – etwas größer als Standard */
	line-height: 1.8;         /* für gute Lesbarkeit */
	color: #e5e5e5;
	background-color: #1a1a1a;
}

h1 {
	font-size: 3rem;          /* 48px */
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 1.5rem;
	color: #ffffff;
}

h2 {
	font-size: 2.25rem;  /* entspricht Tailwind text-4xl */
	font-weight: 700;    /* entspricht font-bold */
	margin-bottom: 1rem; /* entspricht mb-4 */
	color: #cba135;      /* entspricht text-gold-500 */
}

h3 {
	font-size: 1.5rem;        /* 24px */
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 1rem;
	color: #f5f5f5;
}

p {
	font-size: 1.125rem;   /* entspricht text-base */
	line-height: 1.75;     /* entspricht leading-relaxed */
	color: #ccc;           /* entspricht text-light-200 */
}

button,
a.button,
a.inline-block {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
	padding: 0.75rem 1.5rem;
}

/* Beispielweise: */
li.has-submenu > a::after {
  content: '';
  display: inline-block;
  margin-left: 0.4rem;
  vertical-align: middle;
  border-top: 5px solid currentColor;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  transition: transform 0.3s, color 0.3s;
}

li.has-submenu:hover > a::after {
  color: #cba135;
  transform: rotate(180deg);
}

/* Contact Form 7 - Custom Styling */
.wpcf7-form {
  display: grid;
  gap: 1.5rem;
}

.wpcf7-form label {
  color: #f5f5f5;
  font-weight: 500;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background-color: #1a1a1a;
  color: #ffffff;
  border: 1px solid #333333;
  transition: border-color 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #cba135;
}

.wpcf7-submit {
  background-color: #cba135;
  color: #000;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7-submit:hover {
  background-color: #e0b647;
}

.fade-init {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Chart responsive fix */
canvas {
  width: 100% !important;
  height: auto !important;
}

/* =========================================================
   ✨ Einheitliche, ausgewogene Abstände zwischen Sections
   ========================================================= */

main > section {
  padding-top: 80px !important;   /* gibt Luft, aber bleibt harmonisch */
  padding-bottom: 80px !important;
  margin-top: 50px !important;
  margin-bottom: 50px !important;
}

/* Entfernt den oberen Abstand beim ersten Section im Main */
main > section:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 🟡 Goldener Glow Effekt (universell nutzbar) */
.gold-glow::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 30%;
  background: rgba(203, 161, 53, 0.5); /* #cba135 in weich */
  filter: blur(120px);
  opacity: 0.15;
  border-radius: 9999px;
  z-index: 0;
  pointer-events: none;


}
/* Aktiver Menüpunkt im Header hervorheben */
.current-menu-item > a,
.current_page_item > a,
.current_page_parent > a {
  color: #cba135 !important; /* Goldfarbe */
  font-weight: 600;
  position: relative;
}

.current-menu-item > a::after,
.current_page_item > a::after,
.current_page_parent > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: #cba135;
  border-radius: 2px;
}









