/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* ==========================================================================
   Bellen Corporate Design — Contact Form 7 styling
   Farben s. CLAUDE.md: Brand-Gruen #00884a, Akzent-Gelb #e8b200,
   Text-auf-Gelb #1c2600, Hover-Gelb #c99a00, Mint #F2F9F6
   ========================================================================== */

.wpcf7-form {
	max-width: 100%;
}

.wpcf7-form label {
	display: block;
	font-family: inherit;
	font-weight: 600;
	color: #1c2600;
	margin-bottom: 6px;
	margin-top: 18px;
}

.wpcf7-form label:first-of-type {
	margin-top: 0;
}

.wpcf7-form label small {
	font-weight: 400;
	color: #767676;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	font-family: inherit;
	font-size: 16px;
	color: #1c2600;
	background: #ffffff;
	border: 1px solid #d6ddd9;
	border-radius: 8px;
	padding: 12px 14px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	box-sizing: border-box;
}

.wpcf7-form input[type="file"] {
	width: 100%;
	font-family: inherit;
	color: #1c2600;
	padding: 8px 0;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
	outline: none;
	border-color: #00884a;
	box-shadow: 0 0 0 3px rgba(0, 136, 74, 0.15);
}

.wpcf7-form textarea {
	resize: vertical;
	min-height: 120px;
}

/* Datenschutz-Checkbox (acceptance) */
.wpcf7-form .wpcf7-acceptance {
	display: block;
	margin: 20px 0;
}

.wpcf7-form .wpcf7-list-item {
	margin: 0;
}

.wpcf7-form .wpcf7-list-item-label {
	font-weight: 400;
	color: #1c2600;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-right: 10px;
	vertical-align: middle;
	accent-color: #00884a;
}

/* Absende-Button */
.wpcf7-form button[type="submit"],
.wpcf7-form .button {
	display: inline-block;
	font-family: inherit;
	font-weight: 700;
	font-size: 16px;
	color: #1c2600;
	background: #e8b200;
	border: none;
	border-radius: 8px;
	padding: 14px 32px;
	margin-top: 20px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.wpcf7-form button[type="submit"]:hover,
.wpcf7-form .button:hover {
	background: #c99a00;
}

.wpcf7-form button[type="submit"]:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Validierungsfehler */
.wpcf7-form .wpcf7-not-valid-tip {
	display: block;
	color: #c0392b;
	font-size: 14px;
	margin-top: 4px;
}

.wpcf7-form .wpcf7-not-valid {
	border-color: #c0392b !important;
}

/* Erfolg-/Fehlermeldung nach Absenden */
.wpcf7-form .wpcf7-response-output {
	border-radius: 8px;
	padding: 14px 18px;
	margin-top: 20px;
	font-size: 15px;
}

.wpcf7-form.sent .wpcf7-response-output {
	background: #F2F9F6;
	border: 1px solid #00884a;
	color: #1c2600;
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
	background: #fdeceb;
	border: 1px solid #c0392b;
	color: #7a241a;
}

.wpcf7-form.invalid .wpcf7-response-output {
	background: #fdf3e3;
	border: 1px solid #e8b200;
	color: #6b4e00;
}

/* Zwei-Spalten-Layout (Kontaktformular fieldset.col / fieldset.col.m-6) */
.wpcf7-form .row {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
}

.wpcf7-form fieldset {
	flex: 1 1 260px;
	min-width: 0;
	border: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 767px) {
	.wpcf7-form .row {
		gap: 0;
	}
}

/* ==========================================================================
   Mobile-Navigation ueber dem Complianz-Cookiebanner
   Komplianz-Banner nutzt z-index 99999 (fest im Plugin). Das aufgeklappte
   mobile Menue liegt inhaltlich im Header (Sticky-Section mit z-index 100),
   der dadurch vom Banner verdeckt/unklickbar wurde (unterer Bereich, z. B.
   "Kontakt"-Link). Fix: den Header selbst ueber den Banner heben, NICHT
   .bricks-mobile-menu-overlay (das ist nur der Hintergrund-Scrim hinter dem
   Menue und wuerde sonst umgekehrt die Menue-Links selbst verdecken).
   ========================================================================== */

#brx-header {
	z-index: 999999 !important;
}

/* ==========================================================================
   Bricks "Secondary"-Buttonfarbe auf Marken-Gruen korrigiert
   Bricks' interne Klasse .bricks-background-secondary rendert per Default
   pink/rot (rgb(252,87,120)), nicht die Bellen-Corporate-Palette. Betrifft
   alle Telefon-/Sekundaer-CTAs sitewide (Button-Element style="secondary").
   ========================================================================== */

.bricks-background-secondary {
	background-color: var(--brand-gruen) !important;
}

.bricks-color-secondary {
	color: var(--brand-gruen) !important;
}

/* ==========================================================================
   FAQ-Akkordeon im Corporate Design
   Bricks' natives Akkordeon-Element (funktional korrekt, s. footer.php-Fix-
   Historie) hatte keinerlei Kartenoptik - wirkte wie reiner Fliesstext ohne
   erkennbare Klickbarkeit. Card-Look + Plus/Minus-Marker in Akzent-Gelb
   ergaenzt (vgl. CLAUDE.md: FAQ-Pfeile in Gelb auf bellen.de/bellen2026).
   ========================================================================== */

.brxe-accordion {
	list-style: none;
}

.brxe-accordion .accordion-item {
	background: #ffffff;
	border: none;
	border-radius: 12px;
	margin-bottom: 12px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.brxe-accordion .accordion-title-wrapper {
	padding: 20px 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brxe-accordion .accordion-title-wrapper .title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #1f2937;
}

.brxe-accordion .accordion-title-wrapper::after {
	content: "+";
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	color: #1f2937;
	flex-shrink: 0;
	margin-left: 16px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.brxe-accordion .accordion-title-wrapper[aria-expanded="true"]::after {
	content: "\2212";
	background: var(--brand-gruen);
	color: #ffffff;
}

.brxe-accordion .accordion-content {
	padding: 16px 24px 20px;
	border-top: 1px solid #f3f4f6;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.6;
}

/* ==========================================================================
   Praeziser Nachbau bellen2026-Startseite (2026-07-20)
   Design-Tokens 1:1 aus bellen2026 computed styles extrahiert (Farben,
   Radien, Schatten, Icon-Klassen, Spacing) statt geschaetzt.
   ========================================================================== */

/* --- Eyebrow-Label (ueber Sektions-Headings, z.B. "Was wir fuer Sie tun") --- */
.eyebrow p {
	color: var(--brand-gruen);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	margin: 0 0 8px;
}

.section-heading-center {
	text-align: center;
	font-size: 36px;
	font-weight: 700;
	color: #111827;
}

.section-subtitle p {
	text-align: center;
	color: #6b7280;
	max-width: 640px;
	margin: 0 auto;
}

/* --- Sitewide Button-Optik: eckig->abgerundet, fett, Hover-Lift --- */
.bricks-button {
	border-radius: 6px !important;
	font-weight: 700 !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.bricks-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(15, 40, 25, 0.18);
}

/* --- Leistungen-Grid: 4 Spalten Desktop, exakte Karten-Optik --- */
.svc-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

@media (max-width: 989px) {
	.svc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 549px) {
	.svc-grid { grid-template-columns: 1fr; }
}

.svc-card {
	background: #ffffff !important;
	border-radius: 12px !important;
	border: 1px solid #f3f4f6 !important;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.svc-card:hover {
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
	transform: translateY(-6px);
	border-color: rgba(0, 136, 74, 0.2) !important;
}

.svc-icon-wrap {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(0, 136, 74, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.svc-card:hover .svc-icon-wrap {
	background: var(--brand-gruen);
	transform: scale(1.1);
}

.svc-icon-wrap i {
	color: var(--brand-gruen);
	font-size: 20px;
	transition: color 0.2s ease;
}

.svc-card:hover .svc-icon-wrap i {
	color: #ffffff;
}

.svc-title {
	font-weight: 700 !important;
	font-size: 16px !important;
	color: #111827 !important;
	margin-bottom: 6px !important;
	transition: color 0.2s ease;
}

.svc-card:hover .svc-title {
	color: var(--brand-gruen) !important;
}

.svc-desc {
	color: #6b7280 !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	flex: 1;
}

.svc-more {
	margin-top: 16px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.svc-more a, .svc-more {
	color: var(--brand-gruen) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
}

/* --- Hero-Slider Caption: unten-links, Textschatten, wie bellen2026 --- */
.hero-slider .slider-content {
	position: absolute !important;
	inset: auto 0 0 0 !important;
	top: auto !important;
	justify-content: flex-start !important;
	align-items: flex-start !important;
	text-align: left !important;
	padding: 32px 24px !important;
	transform: none !important;
}

.hero-slider .slider-content .title {
	color: #ffffff;
	font-size: 30px;
	font-weight: 700;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
	margin-bottom: 12px;
}

.hero-slider .slider-content .content p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	font-weight: 500;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
	margin-bottom: 4px;
}

@media (max-width: 549px) {
	.hero-slider .slider-content .title { font-size: 24px; }
}

/* --- Statistik-Balken: Kreis-Icons, exakte Typografie --- */
.stats-grid {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}

@media (min-width: 990px) {
	.stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-box {
	text-align: center;
}

.stat-icon-wrap {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	transition: background-color 0.2s ease;
}

.stat-icon-wrap:hover {
	background: rgba(255, 255, 255, 0.25);
}

.stat-icon-wrap i {
	color: var(--akzent-gelb);
	font-size: 24px;
}

.stat-number {
	font-size: 36px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	line-height: 1 !important;
}

.stat-label p {
	color: #ffffff;
	margin-top: 4px;
}

/* --- Erfahrungs-Badge: eckig statt rund, exakte Position --- */
.badge-experience {
	position: absolute;
	bottom: -20px;
	right: -16px;
	background: var(--akzent-gelb);
	color: #1c2600;
	border-radius: 12px;
	padding: 16px 20px;
	text-align: center;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
	line-height: 1.1;
}

.badge-experience strong {
	font-size: 28px;
	font-weight: 700;
	display: block;
}

/* --- "Unsere Leistungen im Ueberblick"-Box im Intro: Karte statt Fliesstext --- */
.overview-box {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 24px;
}

.overview-box p {
	font-weight: 600;
	color: #374151;
	font-size: 14px;
	margin: 0 0 16px;
}

.overview-box ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 24px;
	row-gap: 8px;
}

.overview-box ul li {
	font-size: 14px;
	color: #374151;
	padding: 4px 0;
	position: relative;
	padding-left: 18px;
}

.overview-box ul li::before {
	content: "\f105";
	font-family: "FontAwesome";
	color: var(--brand-gruen);
	position: absolute;
	left: 0;
	top: 4px;
	font-size: 12px;
}

@media (max-width: 549px) {
	.overview-box ul { grid-template-columns: 1fr; }
}

/* --- Slider-Pagination-Punkte im Akzent-Gelb --- */
.hero-slider .swiper-pagination-bullet {
	background: #ffffff;
	opacity: 0.6;
}

.hero-slider .swiper-pagination-bullet-active {
	background: var(--akzent-gelb);
	opacity: 1;
}
