/* 
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.0.0
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
*/

/* =====================================================================
   Fliesen Möhren GmbH (143661) – Ergänzungen zu Elementor
   Präfix fm-. Breakpoints wie Kit: 1180 / 1024 / 900 / 640 (max-width).
   Quelle: export/README.md + components/*.dc.html. Gebaut von _build/build-chrome.php.
   ===================================================================== */

/* ---------- Global ---------- */

/* Kontur-Icons (Feather, stroke=currentColor): Elementor setzt `fill` aufs svg → Linien würden gefüllt. */
.elementor svg[stroke="currentColor"] {
	fill: none !important;
}

:focus-visible {
	outline: 2px solid #E3000F;
	outline-offset: 3px;
}

.fm-glass .elementor-icon,
.fm-glass .elementor-button {
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

/* Icon-Widget ohne Zeilenhöhen-Zuschlag (Kreis = Widgethöhe) */
.fm-hdr-phone .elementor-icon-wrapper,
.fm-icon-circle .elementor-icon-wrapper {
	display: flex;
}

/* Button mit Pfeil im weißen Kreis (Header-CTA, Startseite …) */
.fm-btn-arrow .elementor-button-content-wrapper {
	align-items: center;
}
.fm-btn-arrow .elementor-button-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #FFFFFF;
	color: #E3000F;
	font-size: var(--fm-ic-font, 13px);
}
.fm-btn-arrow .elementor-button-icon svg {
	width: 1em;
	height: 1em;
}
/* Button-Widget ohne Zeilen-Strut (sonst wird ein 26-px-Textlink-Button 28 px hoch) */
.elementor-widget-button,
.elementor-widget-button .elementor-button-wrapper {
	line-height: 0; /* optimiertes Markup (4.3): Link sitzt direkt im Widget */
}
/* Varianten: Icongröße 14 · Kreis 24 · Glas-Kreis (auf Rot) · Ring (Textlink) */
.fm-ic-14 {
	--fm-ic-font: 14px;
}
.fm-ic-24 .elementor-button-icon {
	width: 24px;
	height: 24px;
}
.fm-ic-glass .elementor-button-icon {
	background: rgba(255, 255, 255, 0.2);
	color: #FFFFFF;
}
.fm-ic-ring .elementor-button-icon {
	box-sizing: content-box; /* Design: 24 px + 1,5-px-Rand */
	width: 24px;
	height: 24px;
	border: 1.5px solid currentColor;
	background: transparent;
	color: inherit;
	--fm-ic-font: 12px;
}

/* ---------- Header (absolut über dem Hero, nicht sticky) ---------- */

.elementor-location-header {
	position: relative; /* Bezug für den absoluten Header (auch mit WP-Adminleiste) */
}
.fm-hdr.e-con {
	position: absolute;
	top: 16px;
	left: 16px;
	right: 16px;
	z-index: 30;
	width: auto;
	max-width: none;
}
@media (max-width: 640px) {
	.fm-hdr.e-con {
		top: 12px;
		left: 12px;
		right: 12px;
	}
}

/* Logo-Pill: Bild nur über die Höhe skalieren, kein Unterlängen-Abstand */
.fm-logo-pill a {
	display: block;
	line-height: 0;
}
.fm-logo-pill img {
	display: block;
	height: 34px;
	width: auto !important;
}
@media (max-width: 640px) {
	.fm-logo-pill img {
		height: 28px;
	}
}

/* Desktop-Navigation */
.fm-nav .elementor-nav-menu--main > .elementor-nav-menu::after {
	display: none; /* Clearfix wäre Flex-Item */
}
/* Design: Hauptpunkt nur bei eigenem Hover gedimmt, nicht solange sein Untermenü offen ist */
.fm-nav .elementor-nav-menu--main .elementor-item.highlighted:not(:hover):not(:focus) {
	color: #FFFFFF !important;
}
.fm-nav .elementor-item .sub-arrow {
	margin: 0 0 0 6px;
	padding: 0;
}
.fm-nav .elementor-item .sub-arrow svg {
	display: none;
}
.fm-nav .elementor-item .sub-arrow::before {
	content: "";
	width: 9px;
	height: 9px;
	background: currentColor;
	opacity: 0.8;
	-webkit-mask: url(assets/icons/caret-down.svg) center / contain no-repeat;
	mask: url(assets/icons/caret-down.svg) center / contain no-repeat;
}
.fm-nav .elementor-nav-menu--main .sub-menu {
	box-sizing: border-box;
	width: auto !important;
	min-width: 280px !important; /* 260 Inhalt + 2 × 10 Padding; SmartMenus setzt inline 10em */
	padding: 10px;
	translate: -22px 0;
}
.fm-nav .sub-menu li + li {
	margin-top: 2px;
}
.fm-nav .sub-menu .elementor-sub-item {
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	border-inline-start: 0 !important;
	border-radius: 14px !important;
	white-space: nowrap;
}
.fm-nav .fm-sub {
	color: #696969;
	font-size: 13px;
	font-weight: 500;
	line-height: normal;
}

/* Menü-Button + Dropdown-Panel (≤ 1180 px) */
.fm-mnav {
	--menu-height: 75vh;
	position: relative;
}
.fm-mnav .elementor-menu-toggle {
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-weight: 600;
	line-height: normal;
}
.fm-mnav .elementor-menu-toggle::before {
	content: "Menü";
}
.fm-mnav .elementor-menu-toggle svg {
	width: 1em;
	height: 1em;
}
.fm-mnav .elementor-nav-menu__container.elementor-nav-menu--dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 60;
	box-sizing: border-box;
	width: min(86vw, 360px);
	padding: 22px;
	transition: none;
}
.fm-mnav .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container {
	max-height: 75vh !important; /* Pro-JS setzt --menu-height inline auf die volle Höhe */
}
.fm-mnav .elementor-nav-menu--dropdown .elementor-item {
	justify-content: flex-start;
	border-inline-start: 0 !important;
	border-radius: 0 !important;
}
/* Dropdown-Typografie hat in Pro keine Zeilenhöhe; Pro setzt fest 20px, Design = normal */
.fm-nav .elementor-nav-menu--dropdown .elementor-item,
.fm-nav .elementor-nav-menu--dropdown .elementor-sub-item,
.fm-mnav .elementor-nav-menu--dropdown .elementor-item {
	line-height: normal !important;
}
.fm-mnav .elementor-nav-menu--dropdown li + li {
	margin-top: 2px;
}
.fm-mnav .elementor-nav-menu--dropdown li.fm-mm-label:not(:first-child) {
	margin-top: 18px;
}
.fm-mm-label-text {
	display: block;
	padding: 0 0 4px;
	color: #696969;
	font-size: 12px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ---------- Footer ---------- */

.fm-ft-logo img {
	display: block;
	height: 42px;
	width: auto !important;
}
.fm-ft-address p,
.fm-ft-copy p {
	margin: 0;
}
.fm-ft-address p + p {
	margin-top: 6px;
}
.fm-ft-address strong {
	color: #FFFFFF;
	font-weight: 600;
}
.fm-ft-address a {
	color: rgba(255, 255, 255, 0.68);
}
.fm-ft-address a:hover,
.fm-ft-address a:focus {
	color: #FFFFFF;
}
@media (max-width: 640px) {
	.fm-ft-grid > .fm-ft-firm,
	.fm-ft-grid > .fm-ft-areas {
		grid-column: 1 / -1;
	}
}

/* Schnellkontakt-Leiste (nur ≤ 640 px sichtbar, Sichtbarkeit über Elementor) */
.fm-mbar.e-con {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	width: auto;
	max-width: none;
	padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
/* Design: <a style="flex:1 | 1.5"> mit Padding 12 (+ Rand 1,5) → Basis = Padding + Rand */
.fm-mbar > .fm-mbar-call {
	flex: 1 1 27px !important;
}
.fm-mbar > .fm-mbar-cta {
	flex: 1.5 1 24px !important;
}
.fm-mbar .elementor-button-wrapper,
.fm-mbar .elementor-button {
	height: 100%;
}
.fm-mbar .elementor-button {
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}

/* =====================================================================
   Seiten-Bausteine (Startseite, später Unterseiten) – _build/build-home.php
   ===================================================================== */

.elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}
.fm-red {
	color: #E3000F;
}
.fm-lines p {
	margin: 0;
}
.fm-lines p + p {
	margin-top: var(--fm-lines-gap, 5px);
}
.fm-lines strong {
	color: #000000;
	font-weight: 600;
}

/* Desktop ohne Umbruch (Design: white-space:nowrap über 1100 px) */
@media (min-width: 1101px) {
	.fm-nowrap-d .elementor-heading-title {
		white-space: nowrap;
	}
}
/* Kennzahl ohne Umbruch bis Mobil */
@media (min-width: 641px) {
	.fm-nowrap .elementor-heading-title {
		white-space: nowrap;
	}
}

/* Bewegung: Hero beim Laden, Abschnitte beim Hineinscrollen (README → Motion) */
@keyframes fm-rise {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}
.fm-rise {
	animation: fm-rise 0.8s ease both;
}
.fm-reveal {
	transition: opacity 0.7s ease, transform 0.7s ease;
}
html.fm-js .fm-reveal:not(.is-in) {
	opacity: 0;
	transform: translateY(24px);
}
.fm-lift {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fm-lift:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
}
a.fm-lift,
a.fm-lift:hover,
a.fm-lift:focus {
	color: #000000;
}
@media (prefers-reduced-motion: reduce) {
	.fm-rise { animation: none; }
	.fm-reveal { transition: none; }
	html.fm-js .fm-reveal:not(.is-in) { opacity: 1; transform: none; }
	.fm-lift, .fm-lift:hover { transition: none; transform: none; }
}

/* Glas-Pills (Hero) */
.fm-glass-pill {
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

/* „Mehr erfahren“ in verlinkten Karten (kein eigener Link: die Karte ist der Link) */
.fm-more .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: 8px;
}
.fm-more .elementor-heading-title::after {
	content: "";
	box-sizing: content-box; /* Design: 24 px + 1,5-px-Rand */
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border: 1.5px solid #E3000F;
	border-radius: 50%;
	background: url(assets/icons/arrow-right-red.svg) center / 12px no-repeat;
}

/* Bilder, die ihre Rasterzelle füllen */
.fm-img-fill img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.elementor-widget-image.fm-img img {
	display: block;
}
/* Text/Bild-Split: Bild so hoch wie der Text, mindestens …; ab 900 px gestapelt im Bildformat */
.fm-img-split img {
	min-height: var(--fm-minh, 420px);
}
.fm-minh-360 {
	--fm-minh: 360px;
}
@media (max-width: 900px) {
	.fm-img-split img {
		height: auto;
		min-height: 340px;
	}
}
@media (max-width: 640px) {
	.fm-img-split img {
		min-height: 240px;
	}
}
/* Galerie Startseite mobil: Aufmacher 220, kleine Bilder 150 */
@media (max-width: 640px) {
	.fm-gal-big img { height: 220px; }
	.fm-gal-small img { height: 150px; }
}

/* Ablauf-Nummer im roten Kreis */
.fm-step-no .elementor-heading-title {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #E3000F;
}

/* Kundenstimmen: Sterne (Feather-Stern füllt mit currentColor) */
.fm-stars .e-icon-wrapper {
	color: #E3000F;
}

/* Kontaktzeilen (Icon im weißen Kreis, Label + Wert) */
a.fm-contact-row:hover .fm-cv .elementor-heading-title,
a.fm-contact-row:focus .fm-cv .elementor-heading-title {
	color: #E3000F;
}

/* FAQ (Nested Accordion) als Karten */
.fm-faq .e-n-accordion-item {
	overflow: hidden;
	border-radius: 20px;
	background: #F5F5F5;
}
.fm-faq .e-n-accordion-item-title-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #FFFFFF;
}
.fm-faq .e-n-accordion-item-title-icon span {
	display: flex;
}
.fm-faq .e-n-accordion-item-title-icon {
	color: #E3000F; /* Feather-Icons zeichnen mit currentColor (Elementor setzt nur fill) */
}

/* Anfrageformular (Pro Form) */
.fm-form .elementor-field-group .elementor-field-textual {
	min-height: 0;
	padding: 13px 16px;
	line-height: normal;
}
.fm-form .elementor-field-group textarea.elementor-field-textual {
	resize: vertical;
}
.fm-form .elementor-field-group select.elementor-field-textual {
	line-height: 18px; /* Design: natives Select 46 px hoch */
}
@media (max-width: 640px) {
	.fm-form .elementor-field-group select.elementor-field-textual {
		line-height: 21px;
	}
}
.fm-form .elementor-field-type-submit {
	margin-top: 4px; /* Design: Button margin-top 4 */
}
.fm-form .elementor-field-type-acceptance > .elementor-field-label {
	display: none; /* leeres Gruppen-Label */
}
@media (max-width: 900px) {
	/* Design ≤900: Name/Telefon untereinander (Pro-Feldbreiten kennen nur Tablet/Mobil, nicht Mobil Extra) */
	.fm-form .elementor-field-group-name,
	.fm-form .elementor-field-group-phone {
		width: 100% !important;
		max-width: 100% !important;
		flex-basis: 100% !important;
	}
	/* Abstand wie Design-Raster (14) statt Formularabstand (16) */
	.fm-form .elementor-field-group-name {
		margin-bottom: 14px !important;
	}
}
.fm-form .select-caret-down-wrapper {
	display: none; /* Design: appearance none, ohne Pfeil */
}
/* Design „Name*“: Pro rendert Zeilenumbruch im Label → Leerzeichen vor dem *; Flex verwirft es */
.fm-form .elementor-field-group > .elementor-field-label {
	display: flex;
	flex-wrap: wrap;
}
.fm-form .elementor-mark-required .elementor-field-label::after {
	padding-inline-start: 0 !important;
	color: inherit !important;
	font-weight: inherit;
}
.fm-form .elementor-field-type-acceptance .elementor-field-subgroup .elementor-field-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.fm-form .elementor-field-type-acceptance input[type="checkbox"] {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	accent-color: #E3000F;
}
.fm-form .elementor-field-type-acceptance .elementor-field-option label {
	color: #696969 !important; /* Widget-Feldtypografie gilt sonst auch hier */
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	cursor: pointer;
}
.fm-form .elementor-field-type-acceptance a {
	color: #000000;
	text-decoration: underline;
}
.fm-form .elementor-error .elementor-field,
.fm-form .elementor-error .fm-upload {
	border-color: #E3000F;
}
.fm-form .elementor-help-inline {
	margin-top: 6px;
	color: #E3000F;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}
/* Upload-Feld als Design-Box (JS baut die Hülle, siehe fm-site.js) */
.fm-upload {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	width: 100%;
	padding: 16px;
	border: 1.5px dashed #C9C9C9;
	border-radius: 12px;
	background: #FAFAFA;
	cursor: pointer;
}
.fm-upload input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	cursor: pointer;
}
.fm-upload-ic {
	flex: 0 0 36px;
	height: 36px;
	border-radius: 50%;
	background: #F0F0F0 url(assets/icons/arrow-up-red.svg) center / 16px no-repeat;
}
.fm-upload-label {
	color: #696969;
	font-size: 14px;
	line-height: 1.4;
}
/* Erfolgszustand: Formular weg, Dankeskarte da */
.fm-form-success {
	display: none !important;
}
.fm-form-card.is-sent .fm-form {
	display: none;
}
.fm-form-card.is-sent .fm-form-success {
	display: flex !important;
}

/* Hero-Karte: Foto als Bild-Widget (Alt-Text, srcset) hinter dem Verlaufs-Overlay */
.fm-hero-box.e-con {
	isolation: isolate;
}
.fm-hero-img.elementor-element {
	position: absolute !important;
	inset: 0;
	z-index: -1;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
.fm-hero-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Buttonzeile: gleich hohe Buttons (Design: Flex-Stretch) */
.fm-btn-row > .elementor-widget-button .elementor-button-wrapper,
.fm-btn-row > .elementor-widget-button .elementor-button {
	height: 100%;
}
.fm-btn-row .elementor-button {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* =====================================================================
   Unterseiten – _build/build-pages.php (lib-sections.php)
   ===================================================================== */

/* Brotkrumen im Hero */
.fm-bc .fm-bc-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.fm-bc a {
	color: rgba(255, 255, 255, 0.75);
}
.fm-bc a:hover,
.fm-bc a:focus {
	color: #FFFFFF;
}
.fm-bc .fm-bc-sep {
	color: rgba(255, 255, 255, 0.45);
}
.fm-bc .fm-bc-cur {
	color: #FFFFFF;
}
/* H1 Unterseiten: ausgeglichene Zeilen, max. 920 px; lange Wörter mobil trennen (README §11) */
.fm-h1-sub .elementor-heading-title {
	max-width: 920px;
	text-wrap: balance;
	-webkit-hyphens: auto;
	hyphens: auto;
	-webkit-hyphenate-limit-before: 5;
	-webkit-hyphenate-limit-after: 5;
	hyphenate-limit-chars: 12 5 5; /* nur lange Wörter (z. B. „Datenschutzerklärung“) trennen */
}
.fm-hero-noimg.e-con {
	isolation: isolate;
}

/* Aufzählung mit roten Punkten (Intro: 2 Spalten, ≤ 640 eine) */
.fm-bul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.fm-bul li,
.fm-dots li,
.fm-rich li {
	position: relative;
	padding-left: 18px;
}
.fm-bul li::before,
.fm-dots li::before,
.fm-rich li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #E3000F;
}
@media (max-width: 640px) {
	.fm-bul {
		grid-template-columns: 1fr;
	}
}
.fm-dots {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.fm-dots li {
	padding-left: 17px;
}
.fm-dots li::before {
	top: 7px;
	width: 7px;
	height: 7px;
}

/* Ratgeber-Karten (SEO-Ergänzung): Absätze + Liste */
.fm-rich p {
	margin: 0;
}
.fm-rich p + p,
.fm-rich p + ul,
.fm-rich ul + p {
	margin-top: 12px;
}
.fm-rich ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.fm-rich li::before {
	top: 9px;
	width: 7px;
	height: 7px;
}
.fm-rich strong {
	color: #000000;
	font-weight: 600;
}
.fm-rich a,
.fm-faq-a a,
.elementor-widget-text-editor.fm-lead a {
	color: #E3000F;
	font-weight: 600;
}
.fm-rich a:hover,
.fm-faq-a a:hover {
	color: #B8000C;
}
.fm-faq-a p + p {
	margin-top: 10px;
}

/* FAQ Unterseiten: Plus dreht sich beim Öffnen (Design details[open] .faq-ic) */
.fm-faq-sub .e-n-accordion-item-title-icon {
	transition: transform 0.2s ease;
}
.fm-faq-sub .e-n-accordion-item[open] > .e-n-accordion-item-title .e-n-accordion-item-title-icon {
	transform: rotate(45deg);
}
.fm-faq-sub .e-n-accordion-item-title-icon svg {
	width: 18px;
	height: 18px;
}

/* Bild-Platzhalter (Streifen) */
.fm-ph.e-con {
	background: repeating-linear-gradient(45deg, #EDEDED, #EDEDED 10px, #F7F7F7 10px, #F7F7F7 20px);
}
.fm-ph-label .elementor-heading-title {
	font-family: monospace;
}

/* Telefon-/Pfeil-Icons in Buttons in Schriftgröße */
.fm-btn-tel .elementor-button-icon svg,
.fm-btn-small .elementor-button-icon svg {
	width: 1em;
	height: 1em;
}
.fm-btn-tel .elementor-button-content-wrapper,
.fm-btn-small .elementor-button-content-wrapper {
	align-items: center;
}

/* Galerie Ausstellung mobil 160 px */
@media (max-width: 640px) {
	.fm-gal-img img {
		height: 160px !important;
	}
}

/* Zeilen-Abstände */
.fm-lines-6 {
	--fm-lines-gap: 6px;
}
.fm-lines-14 {
	--fm-lines-gap: 14px;
}
.fm-ul ul {
	margin: 0;
	padding-left: 18px;
}
.fm-apply-mail {
	color: #FFFFFF;
	font-weight: 600;
}
.fm-apply-mail:hover {
	color: rgba(255, 255, 255, 0.75);
}

/* Rechtliches: Definitionsliste */
.fm-dl {
	display: grid;
	grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
	gap: 10px 24px;
	margin: 0;
	padding: 28px 30px;
	border-radius: 20px;
	background: #F5F5F5;
}
.fm-dl dt {
	font-weight: 600;
}
.fm-dl dd {
	margin: 0;
	color: #696969;
}
@media (max-width: 640px) {
	.fm-dl {
		grid-template-columns: 1fr;
		gap: 2px 0;
		padding: 22px;
	}
	.fm-dl dd {
		margin-bottom: 12px;
	}
}

/* Kontakt: Karte (2-Klick) */
.fm-map.e-con {
	background: repeating-linear-gradient(45deg, #EFEFEF, #EFEFEF 12px, #F6F6F6 12px, #F6F6F6 24px);
}
.fm-map.is-loaded.e-con {
	padding: 0;
	background: #F5F5F5;
}
.fm-map iframe {
	display: block;
	width: 100%;
	height: 460px;
	border: 0;
}
.fm-map-card.e-con {
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.fm-map-text a {
	color: #000000;
	text-decoration: underline;
}
.fm-form-card.is-sent .fm-form-title {
	display: none;
}

/* Referenzen: Filter */
.fm-filter .elementor-button {
	cursor: pointer;
}
.fm-filter.is-active .elementor-button {
	border-color: #000000;
	background-color: #000000;
	color: #FFFFFF;
}
.fm-filter:not(.is-active) .elementor-button:hover {
	border-color: #000000;
}
.fm-ref-item.is-hidden {
	display: none !important;
}

/* Kontaktzeile mit Link am Wert: ganze Zeile klickbar (gestreckter Link), Hover wie Design */
.fm-row-link.e-con {
	position: relative;
}
.fm-row-link .fm-cv a {
	color: inherit;
}
.fm-row-link .fm-cv a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.fm-row-link:hover .fm-cv a,
.fm-row-link:focus-within .fm-cv a {
	color: #E3000F;
}

/* Kontaktseite: zweite Feldzeile (E-Mail · Ort) ≤ 900 ebenfalls gestapelt, Abstand 14 wie Design-Raster */
@media (max-width: 900px) {
	.fm-form-k .elementor-field-group-email,
	.fm-form-k .elementor-field-group-ort {
		width: 100% !important;
		max-width: 100% !important;
		flex-basis: 100% !important;
	}
	.fm-form-k .elementor-field-group-email {
		margin-bottom: 14px !important;
	}
}

/* Kopf neben Textlink (Referenzen-Teaser): höchstens 640 px, sonst Inhaltsbreite */
.fm-max-640.e-con {
	max-width: 640px;
}
