/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.2.4
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.nb-prueflehren,
.nb-produkte,
.nb-leistungen,
.nb-unternehmen,
.nb-kontakt,
.nb-trust {
	scroll-margin-top: 96px;
}
body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.elementor-location-footer {
	margin-top: auto;
}

/* Hello Theme link #c36 — Footer/Nav explizit */
.nb-footer a,
.nb-footer .elementor-heading-title a,
.nb-footer .elementor-icon-list-text,
.elementor-location-footer a {
	color: #9db2c7;
}
.nb-footer a:hover,
.elementor-location-footer a:hover {
	color: #ffffff;
}

/* Logo shrink-wrap — class on container (Image css_classes often missing) */
.nb-logo,
.nb-logo-footer,
.nb-header .elementor-widget-image {
	width: fit-content !important;
	max-width: max-content;
	flex: 0 0 auto !important;
	align-self: center !important;
}
.nb-logo .elementor-widget-container,
.nb-logo-footer .elementor-widget-container,
.nb-header .elementor-widget-image .elementor-widget-container {
	width: fit-content;
}
.nb-logo img,
.nb-header .elementor-widget-image img {
	height: 74px !important;
	width: auto !important;
	max-width: 245px;
}
.nb-logo-footer img,
.nb-footer-brand .elementor-widget-image img {
	height: 80px !important;
	width: auto !important;
	max-width: 268px;
	filter: brightness(0) invert(1);
}

/* Header */
.nb-header {
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.nb-header-actions {
	width: auto !important;
	max-width: max-content;
	flex: 0 0 auto !important;
	flex-wrap: nowrap !important;
}
.nb-header-actions .elementor-button {
	white-space: nowrap;
}
.nb-phone .elementor-heading-title {
	line-height: 1.15;
}
.nb-phone .elementor-heading-title a {
	color: #12395F;
	text-decoration: none;
	font-weight: 600;
}

/* Chips / badges must not stretch */
.nb-chip,
.nb-hero-badge,
.nb-cert-row > .e-con,
.nb-chip-row > .elementor-element {
	width: auto !important;
	max-width: max-content;
	flex: 0 0 auto !important;
	align-self: flex-start !important;
}

/* Hero CAD grid overlay */
.nb-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 32px 32px;
}
.nb-hero > .e-con-inner,
.nb-hero > .elementor-container {
	position: relative;
	z-index: 1;
}

/* Hero photo + 40-Jahre badge */
.nb-hero-photo {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.2);
}
.nb-hero-photo .elementor-widget-image img {
	width: 100%;
	height: auto !important;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
}
.nb-hero-badge {
	position: absolute;
	left: 24px;
	bottom: 24px;
	z-index: 2;
}

/* Product / service photos */
.nb-card-photo .elementor-widget-image img {
	width: 100%;
	height: auto !important;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}
.nb-pruef-photo {
	position: relative;
	box-shadow: 0 30px 60px -30px rgba(18, 57, 95, 0.35);
	border: 1px solid #e4e9ef;
}
.nb-pruef-photo .elementor-widget-image img {
	width: 100%;
	height: auto !important;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.nb-pruef-photo::after {
	content: "⤢";
	position: absolute;
	bottom: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 9px;
	background: #1B5FAA;
	color: #fff;
	font-size: 19px;
	line-height: 40px;
	text-align: center;
	pointer-events: none;
	z-index: 2;
}

/* Produkte CAD grid */
.nb-produkte {
	background-image:
		linear-gradient(rgba(27, 95, 170, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(27, 95, 170, 0.035) 1px, transparent 1px);
	background-size: 26px 26px;
}

/* Cards hover */
.nb-card {
	box-shadow: 0 1px 3px rgba(18, 57, 95, 0.06);
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.nb-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 44px -22px rgba(18,57,95,.4);
	border-color: #1B5FAA;
}

/* Trust band grid overlay */
.nb-trust {
	position: relative;
}
.nb-trust::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 32px 32px;
}
.nb-trust > .e-con-inner {
	position: relative;
	z-index: 1;
}
.nb-trust a {
	color: #8fb6e0;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	margin-left: 8px;
	text-decoration: none;
}
.nb-trust a:hover {
	color: #fff;
}

/* Timeline: one line, dots centered ON the line (SOLL 12px disc, 2px rule) */
.nb-timeline.e-grid {
	align-items: start;
}
.nb-timeline-item {
	position: relative;
	padding-top: 5px !important;
}
.nb-timeline-item::before {
	content: "";
	display: block;
	height: 2px;
	background: #dbe2e9;
	margin: 0 0 22px;
}
.nb-timeline-item::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #1B5FAA;
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px #eaf1fa;
	z-index: 1;
	pointer-events: none;
}
.nb-timeline-item.is-gold::after {
	background: #F59E0B;
	box-shadow: 0 0 0 2px #fdeccb;
}
@media (min-width: 1025px) {
	.nb-timeline.e-grid {
		background-image: linear-gradient(#dbe2e9, #dbe2e9);
		background-size: 100% 2px;
		background-position: 0 5px;
		background-repeat: no-repeat;
	}
	.nb-timeline-item::before {
		background: transparent;
	}
}

/* FAQ cards */
.nb-faq .e-n-accordion-item {
	background: #fff;
	border: 1px solid #e4e9ef;
	border-radius: 13px;
	overflow: hidden;
	margin-bottom: 12px;
}
.nb-faq .e-n-accordion-item-title-icon {
	width: 28px !important;
	height: 28px !important;
	border-radius: 50%;
	background: #eaf1fa;
	color: #1B5FAA !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px !important;
}
.nb-faq .e-n-accordion-item-title-icon i,
.nb-faq .e-n-accordion-item-title-icon svg {
	width: 12px;
	height: 12px;
	font-size: 12px;
	color: #1B5FAA !important;
	fill: #1B5FAA;
}
.nb-faq-divider {
	min-height: 312px !important;
}

/* Footer unequal columns */
@media (min-width: 768px) {
	.nb-footer-main-grid.e-grid > .e-con-inner {
		--e-con-grid-template-columns: 1.4fr 1fr 1fr 1fr;
	}
}

/* Maps native widget */
.nb-maps {
	position: relative;
	min-height: 320px;
	aspect-ratio: 4 / 3;
}
.nb-maps .elementor-custom-embed,
.nb-maps iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	border: 0;
	display: block;
}

/* Form */
.nb-form-wrap {
	box-shadow: 0 20px 50px -30px rgba(18, 57, 95, 0.4);
}
.nb-form-wrap .elementor-field-label {
	font-weight: 600;
	color: #12395F;
	font-size: 14px;
}
.nb-form-wrap .elementor-field-group input,
.nb-form-wrap .elementor-field-group textarea,
.nb-form-wrap .elementor-field-group select {
	border: 1.5px solid #dbe2e9;
	border-radius: 10px;
	background: #fbfcfd;
}
.nb-form-wrap .elementor-field-type-upload {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1.5px dashed #c3ccd5;
	border-radius: 11px;
	padding: 16px 18px 16px 66px;
	min-height: 70px;
	margin-top: 0;
	background: #fff;
	cursor: pointer;
}
.nb-form-wrap .elementor-field-type-upload::before {
	content: "↑";
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border-radius: 9px;
	background: #eaf1fa;
	color: #1B5FAA;
	font-size: 18px;
	line-height: 38px;
	text-align: center;
	pointer-events: none;
}
.nb-form-wrap .elementor-field-type-upload .elementor-field-label {
	margin: 0;
	font-weight: 400;
	font-size: 15px;
	color: #5b6773;
	pointer-events: none;
}
.nb-form-wrap .elementor-field-type-upload input[type="file"] {
	position: absolute;
	inset: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	font-size: 0;
}
.nb-form-wrap .elementor-field-type-upload.has-file .elementor-field-label {
	color: #12395F;
}
.nb-form-wrap .elementor-field-type-acceptance {
	font-size: 14.5px;
	color: #3a4650;
	line-height: 1.45;
}
.nb-form-wrap .elementor-acceptance-field {
	accent-color: #1B5FAA;
	width: 18px;
	height: 18px;
}
@media (min-width: 768px) {
	.nb-kontakt-grid.e-grid > .e-con-inner {
		--e-con-grid-template-columns: 0.85fr 1.15fr;
	}
}

h1.elementor-heading-title,
h2.elementor-heading-title,
h3.elementor-heading-title {
	font-weight: 700 !important;
}
.elementor-button {
	font-weight: 600 !important;
}
.nb-legal .elementor-widget-text-editor p {
	margin: 0 0 1em;
}
.nb-agb p {
	margin: 0 0 0.75em;
}
