
section.m10_contact	.m10_allgemeine_daten_container {
	margin-top: 30px;
}

section.m10_contact	.m10_contact_container {
	margin-top: 20px;
}

section.m10_contact	.m10_contact_container svg {
	width:20px;
}

section.m10_contact	.m10_offnungszeiten_container {
	margin-top: 40px;
}

section.m10_contact	.m10_offnungszeiten_item {
	display:flex;
	margin-bottom: 20px;
}

section.m10_contact	.m10_offnungszeiten_item:last-child {
	margin-bottom: 0;
}

section.m10_contact	.m10_offnungszeiten_tage_container {
	width: 200px;
	margin-right: 30px;
}

section.m10_contact	.m10_social_links_container {
	margin-top:10px;
}

section.m10_contact	.m10_social_links_container_inner {
	display: flex;
	gap: 20px;
}

section.m10_contact	.m10_social_link svg {
	width:50px;
}

section.m10_contact	.m10_shortcode_karte_container {
	margin-top: 30px;
	width: 100%;
	display: inline-block;
}

@media screen and (max-width: 991px) {
	section.m10_contact .m10_allgemeine_daten_formular_container {
		flex-direction: column-reverse;
	}
	
	section.m10_contact .m10_shortcode_formular_container {
		margin-top: 50px;
	}
}
/* =========================================================
   hone Formular (Wrapper-Klasse "hone_formular")
   Figma: 05_Kontakt "Interesse geweckt?" — dunkle Sektion mit
   abgedunkeltem Hintergrundbild (rgba(48,48,48,.9)-Overlay),
   Titel zentriert (Gold-span), CF7-Formular max 1166px:
   Felder #222 mit 1px #595959, Labels/Placeholder 15px
   uppercase 50% weiss, Checkbox + dunkler Absenden-Button.
   Nur additiv. Hintergrundbild liegt in den Uploads
   (formular-bg-kontakt.jpg, Attachment 1928).
   ========================================================= */

section.m10_contact.hone_formular {
	position: relative;
	background-color: #303030;
	/* Hintergrundbild liegt auf ::before (Grayscale), damit der Filter NICHT
	   den Inhalt (Formular/Text) betrifft. Vertikal-Abstand aus dem Abstand-Klonfeld. */
}

section.m10_contact.hone_formular::before {
	content: '';
	position: absolute;
	inset: 0;
	/* Dunkle Toenung (oben) ueber dem Bild (unten) in EINEM Background-Stack.
	   grayscale trifft beide, aber die Toenung ist bereits grau -> nur das Bild
	   wird schwarz-weiss. */
	background-image:
		linear-gradient(rgba(48, 48, 48, 0.9), rgba(48, 48, 48, 0.9)),
		url("/wp-content/uploads/2026/07/formular-bg-kontakt.jpg");
	background-size: cover;
	background-position: center;
	filter: grayscale(100%);
}

section.m10_contact.hone_formular .mM_container {
	position: relative; /* ueber dem Overlay */
}

/* Titel (per JS injiziert) ueber das Formular stellen */
section.m10_contact.hone_formular .m10_allgemeine_daten_formular_container {
	flex-direction: column-reverse;
}

section.m10_contact.hone_formular .m10_titel_container {
	margin-bottom: 81px;
}

section.m10_contact.hone_formular .m10_titel {
	margin: 0;
	line-height: 1;
	font-weight: 500;
	letter-spacing: 0.875px;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
}

section.m10_contact.hone_formular .m10_titel span {
	color: #a5936f;
}

/* ---------- Formular-Layout ---------- */
section.m10_contact.hone_formular .m10_shortcode_formular_container {
	max-width: 1166px;
	margin: 0 auto;
}

/* Alte style.css begrenzt div.wpcf7 auf 680px — hier volle Breite */
section.m10_contact.hone_formular div.wpcf7 {
	max-width: none;
}

section.m10_contact.hone_formular .hone_form_grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

section.m10_contact.hone_formular .hone_form_grid p,
section.m10_contact.hone_formular .hone_form_feld p,
section.m10_contact.hone_formular .hone_form_message p {
	margin: 0;
}

/* Grid-/Feld-Kinder duerfen unter ihre Content-Mindestbreite schrumpfen.
   Inputs mit size-Attribut haben eine intrinsische Mindestbreite (~360px),
   die den Container auf schmalen Screens (bis 280px) sonst sprengt. */
section.m10_contact.hone_formular .hone_form_grid > *,
section.m10_contact.hone_formular .hone_form_feld,
section.m10_contact.hone_formular input[type="text"],
section.m10_contact.hone_formular input[type="email"],
section.m10_contact.hone_formular select,
section.m10_contact.hone_formular textarea,
section.m10_contact.hone_formular .hone_select,
section.m10_contact.hone_formular .hone_select_trigger {
	min-width: 0;
}

section.m10_contact.hone_formular .hone_form_message {
	margin-top: 20px;
}

/* CF7 spritzt einen unsichtbaren Honeypot als leeres <p> zwischen Grid und
   Textarea (2px hoch + eigener Rand). Der schob die Nachricht aus dem 20px-
   Feldraster (Abstand zur Textarea wich von den restlichen Inputs ab).
   Honeypot bleibt im DOM (Spamschutz), erzeugt aber keinen Layout-Abstand mehr. */
section.m10_contact.hone_formular form > p {
	height: 0;
	margin: 0;
	overflow: hidden;
}

/* ---------- Felder ---------- */
section.m10_contact.hone_formular input[type="text"],
section.m10_contact.hone_formular input[type="email"],
section.m10_contact.hone_formular select,
section.m10_contact.hone_formular textarea {
	width: 100%;
	height: 83px;
	margin-bottom: 0;   /* globale 15px-input-margin entfernen — Abstand kommt aus dem Grid-Gap */
	box-sizing: border-box;
	padding: 0 42px;
	background-color: #222;
	border: 1px solid #595959;
	border-radius: 0;
	font-family: inherit;
	font-size: 0.75rem;        /* 15px (Basis 20px) */
	letter-spacing: 0.45px;
	font-weight: 300;
	color: #fff;
	-webkit-appearance: none;
	appearance: none;
}

section.m10_contact.hone_formular textarea {
	height: 166px;
	padding-top: 29px;
	resize: vertical;
}

section.m10_contact.hone_formular input::placeholder,
section.m10_contact.hone_formular textarea::placeholder {
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	opacity: 1;
}

section.m10_contact.hone_formular input:focus,
section.m10_contact.hone_formular select:focus,
section.m10_contact.hone_formular textarea:focus {
	outline: none;
	border-color: #a5936f;
}

/* Select: eigener Pfeil, Platzhalter-Optik wie Placeholder (nativer Fallback) */
section.m10_contact.hone_formular select {
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M0 0h12L6 7z' fill='%23ffffff'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 42px center;
	cursor: pointer;
}

/* ================= Custom Dropdown (JS, ersetzt das native Select) ================= */
section.m10_contact.hone_formular .hone_select {
	position: relative;
	width: 100%;
}

/* Trigger sieht identisch zum Feld aus */
section.m10_contact.hone_formular .hone_select_trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	height: 83px;
	box-sizing: border-box;
	padding: 0 42px;
	background-color: #222;
	border: 1px solid #595959;
	border-radius: 0;
	font-family: inherit;
	font-size: 0.75rem;        /* 15px */
	letter-spacing: 0.45px;
	font-weight: 300;
	text-transform: uppercase;
	text-align: left;
	color: #fff;
	cursor: pointer;
	transition: border-color .2s;
}

section.m10_contact.hone_formular .hone_select_trigger.is-placeholder {
	color: rgba(255, 255, 255, 0.5);
}

section.m10_contact.hone_formular .hone_select_trigger.is-invalid {
	border-color: #c0392b;
}

section.m10_contact.hone_formular .hone_select.is-open .hone_select_trigger,
section.m10_contact.hone_formular .hone_select_trigger:focus-visible {
	outline: none;
	border-color: #a5936f;
}

section.m10_contact.hone_formular .hone_select_label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Goldener Caret (CSS-Dreieck), dreht beim Oeffnen */
section.m10_contact.hone_formular .hone_select_caret {
	flex: 0 0 auto;
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 7px solid #a5936f;
	transition: transform .2s;
}

section.m10_contact.hone_formular .hone_select.is-open .hone_select_caret {
	transform: rotate(180deg);
}

/* Aufgeklappte Liste */
section.m10_contact.hone_formular .hone_select_list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 30;
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #222;
	border: 1px solid #a5936f;
	border-top: 0;
	max-height: 340px;
	overflow-y: auto;
	display: none;
}

section.m10_contact.hone_formular .hone_select.is-open .hone_select_list {
	display: block;
}

/* Platzhalter-Option nicht zur Auswahl anbieten */
section.m10_contact.hone_formular .hone_select_option.hone_select_placeholder {
	display: none;
}

section.m10_contact.hone_formular .hone_select_option {
	padding: 18px 42px;
	font-size: 0.75rem;        /* 15px */
	letter-spacing: 0.45px;
	font-weight: 300;
	color: #fff;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}

section.m10_contact.hone_formular .hone_select_option:hover,
section.m10_contact.hone_formular .hone_select_option.is-active {
	background-color: rgba(165, 147, 111, 0.15);
	color: #a5936f;
}

section.m10_contact.hone_formular .hone_select_option.is-selected {
	color: #a5936f;
}

/* ---------- Fussbereich: Pflichthinweis + Checkbox + Button ---------- */
section.m10_contact.hone_formular .hone_form_footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 30px;
	margin-top: 46px;
}

section.m10_contact.hone_formular .hone_form_hinweis {
	display: block;
	margin-bottom: 9px;
	font-size: 0.75rem;        /* 15px (Basis 20px) */
	letter-spacing: 0.45px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
}

section.m10_contact.hone_formular .wpcf7-acceptance {
	background: none;   /* style.css setzt hier rgba(229,229,229,.05) */
	/* Acceptance traegt die Klasse .wpcf7-form-control und erbt deren
	   Input-Padding (10px 35px 10px 15px). Da das Feld display:inline ist,
	   greift width:100% nicht und die Breite = list-item + Padding sprengt
	   den Container -> Seiten-Overflow. Padding hier nullen. */
	padding: 0;
}

section.m10_contact.hone_formular .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
	/* feste 350px-Breite (aus globaler CSS) kappen, damit das Feld nie
	   breiter als der Container wird */
	width: auto;
	max-width: 100%;
}

section.m10_contact.hone_formular .wpcf7-acceptance label {
	font-size: 0.75rem;        /* 15px (Basis 20px) */
	letter-spacing: 0.45px;
	font-weight: 300;
	color: #fff;
}

section.m10_contact.hone_formular .wpcf7-acceptance a {
	color: #fff;
	text-decoration: underline;
}

/* Checkbox: das Modulsystem zeichnet sie als label::before (project.css,
   Haken-SVG via :has(input.checked)) — hier nur nach Figma umfaerben.
   Die aeltere Checkbox der style.css (span::before/::after mit x)
   wird deaktiviert, sonst erscheinen zwei Kaestchen. */
section.m10_contact.hone_formular .wpcf7-acceptance label::before {
	box-sizing: border-box;
	background-color: #222;
	border: 1px solid #595959;
}

section.m10_contact.hone_formular .wpcf7-acceptance label:has(input.checked)::before {
	background-color: #a5936f;
	border-color: #a5936f;
}

section.m10_contact.hone_formular .wpcf7-acceptance .wpcf7-list-item-label {
	padding-left: 0;
}

section.m10_contact.hone_formular .wpcf7-acceptance input[type="checkbox"] + span::before,
section.m10_contact.hone_formular .wpcf7-acceptance input[type="checkbox"] + span::after {
	content: none;
	display: none;
}

/* Absenden: dunkler Button wie m37 (Figma) */
section.m10_contact.hone_formular input[type="submit"],
section.m10_contact.hone_formular .wpcf7-submit {
	height: 41px;
	padding: 0 33px;
	background-color: #2b2b2b;
	border: 1px solid #fff;
	border-radius: 0;
	font-family: inherit;
	font-size: 0.75rem;        /* 15px (Basis 20px) */
	font-weight: 700;
	letter-spacing: 0.375px;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
	transition: background-color .3s, border-color .3s;
	-webkit-appearance: none;
	appearance: none;
	width: auto;
}

section.m10_contact.hone_formular input[type="submit"]:hover,
section.m10_contact.hone_formular .wpcf7-submit:hover {
	background-color: #a5936f;
	border-color: #a5936f;
}

/* CF7-Meldungen */
section.m10_contact.hone_formular .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 0.7rem;
	color: #e2b8b8;
}

section.m10_contact.hone_formular .wpcf7 form .wpcf7-response-output {
	margin: 30px 0 0 0;
	padding: 14px 20px;
	border: 1px solid #a5936f;
	font-size: 0.75rem;
	color: #fff;
}

section.m10_contact.hone_formular .wpcf7-spinner {
	position: absolute;
	margin: 0;
	transform: translateX(-100%); /* neben dem Submit halten statt rechts rauszuragen (18px H-Scroll bei ~1200px) */
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	section.m10_contact.hone_formular .hone_form_grid {
		grid-template-columns: 1fr;
	}

	section.m10_contact.hone_formular .hone_form_footer {
		flex-direction: column;
		align-items: flex-start;
	}

	section.m10_contact.hone_formular .m10_titel_container {
		margin-bottom: 50px;
	}

	section.m10_contact.hone_formular input[type="text"],
	section.m10_contact.hone_formular input[type="email"],
	section.m10_contact.hone_formular select,
	section.m10_contact.hone_formular .hone_select_trigger {
		height: 64px;
		padding: 0 24px;
	}

	/* Textarea auf das gleiche Feld-Padding wie die Inputs bringen:
	   Basis war 42px seitlich + 29px oben (fuer die 83px-Desktop-Felder).
	   Mobil sitzt der Input-Text ~21px von oben zentriert -> Placeholder buendig. */
	section.m10_contact.hone_formular textarea {
		padding: 21px 24px;
	}

	section.m10_contact.hone_formular select {
		background-position: right 24px center;
	}

	/* Custom-Dropdown-Optionen an das schmalere Feld-Padding angleichen */
	section.m10_contact.hone_formular .hone_select_option {
		padding: 14px 24px;
	}
}

/* ================= Custom Upload (JS-Enhancement des CF7 [file]) =================
   Dropzone + Vorschau. Natives File-Input liegt versteckt im <label>, bleibt
   aber klickbar (Fallback ohne JS: normaler Datei-Dialog ueber das Label). */
section.m10_contact.hone_formular .hone_form_upload {
	margin-top: 20px;
}

section.m10_contact.hone_formular .hone_form_upload .wpcf7-form-control-wrap,
section.m10_contact.hone_formular .hone_form_upload input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

section.m10_contact.hone_formular .hone_upload_drop {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 83px;
	box-sizing: border-box;
	padding: 22px 42px;
	background-color: #222;
	border: 1px dashed #595959;
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}

section.m10_contact.hone_formular .hone_upload_drop:hover,
section.m10_contact.hone_formular .hone_upload_drop.is-drag {
	border-color: #a5936f;
	background-color: #262626;
}

section.m10_contact.hone_formular .hone_upload_inner {
	display: flex;
	align-items: center;
	gap: 18px;
	pointer-events: none;   /* Klick geht ans Label -> oeffnet Datei-Dialog */
}

section.m10_contact.hone_formular .hone_upload_icon {
	display: flex;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	border: 1px solid #595959;
	color: #a5936f;
	transition: border-color .2s;
}

section.m10_contact.hone_formular .hone_upload_drop:hover .hone_upload_icon,
section.m10_contact.hone_formular .hone_upload_drop.is-drag .hone_upload_icon {
	border-color: #a5936f;
}

section.m10_contact.hone_formular .hone_upload_text {
	display: block;
	font-size: 0.75rem;        /* 15px */
	line-height: 1.4;
	letter-spacing: 0.45px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
}

section.m10_contact.hone_formular .hone_upload_text b {
	color: #fff;
	font-weight: 400;
}

section.m10_contact.hone_formular .hone_upload_text small {
	display: block;
	margin-top: 4px;
	font-size: 0.6rem;         /* 12px */
	text-transform: none;
	letter-spacing: 0.3px;
	color: rgba(255, 255, 255, 0.35);
}

/* Liste der ausgewaehlten Dateien */
section.m10_contact.hone_formular .hone_upload_list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

section.m10_contact.hone_formular .hone_form_upload.has-files .hone_upload_list {
	margin-top: 12px;
}

section.m10_contact.hone_formular .hone_upload_item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 14px;
	background-color: #222;
	border: 1px solid #595959;
}

section.m10_contact.hone_formular .hone_upload_thumb {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: #303030;
}

section.m10_contact.hone_formular .hone_upload_thumb img,
section.m10_contact.hone_formular .hone_upload_thumb video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

section.m10_contact.hone_formular .hone_upload_thumb.is-file {
	font-size: 0.6rem;         /* 12px */
	font-weight: 500;
	letter-spacing: 0.5px;
	color: #a5936f;
}

section.m10_contact.hone_formular .hone_upload_meta {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

section.m10_contact.hone_formular .hone_upload_name {
	font-size: 0.7rem;         /* 14px */
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

section.m10_contact.hone_formular .hone_upload_size {
	font-size: 0.6rem;         /* 12px */
	color: rgba(255, 255, 255, 0.4);
}

section.m10_contact.hone_formular .hone_upload_remove {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 1px solid #595959;
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: border-color .2s, color .2s;
}

section.m10_contact.hone_formular .hone_upload_remove:hover {
	border-color: #a5936f;
	color: #a5936f;
}

@media (max-width: 767px) {
	section.m10_contact.hone_formular .hone_upload_drop {
		padding: 18px 24px;
	}
}

/* E-Mail-Feld ueber volle Breite (Formulare ohne Anliegen-Dropdown) */
section.m10_contact.hone_formular .hone_form_grid .hone_form_feld_full {
	grid-column: 1 / -1;
}

/* Upload-Feld nur bei Anliegen "Schadensmeldung" sichtbar (JS-Toggle) */
section.m10_contact.hone_formular .hone_form_upload.is-collapsed {
	display: none;
}
