/*
 * Semantik-Korrekturen ohne Optikänderung (LIN-16, Paket A „SEO und Semantik").
 * Bisher als <h1>/<span>/<input type="text"> gestaltete Elemente sind jetzt <h1 class="title">, <h2>, <div>,
 * type="email"/"tel"; die Regeln hier stellen die bisherige Darstellung wieder her.
 */

/* Nur für Screenreader/Suchmaschinen (z. B. H1 der Startseite, Formular-Labels) */
.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Seitentitel: <h1 class="title"> verhält sich wie das bisherige <span class="title"> (Schrift kommt aus .title) */
h1.title {
	display: inline;
	margin: 0;
}

/* Erfolgs-/Fehlermeldung: <div class="msg-title"> statt <h1> (Browser-Standard für h1) */
#msg-success .msg-title,
#msg-error .msg-title {
	display: block;
	font-size: 2em;
	font-weight: bold;
	margin: 0.67em 0;
}

/* Kurzkontakt-Dialog: <h2 class="diag-title"> statt <h1>; global.css setzt h2 auf color/margin-top */
#diag_smallcontact .diag-title {
	font-size: 2em;
	font-weight: bold;
	margin: 0.67em 0;
	padding-top: 0;
	color: inherit;
	text-align: left;
}

/* Footer „TÄTIGKEITSGEBIET": <h2 class="footer-area-title"> statt <h1> (Werte aus style.css/responsive.css) */
.footer-div .footer-area-title {
	position: absolute;
	right: 0;
	left: 0;
	top: 0;
	margin: 0.67em 0;
	padding-top: 0;
	text-shadow: 1px 1px 2px rgb(0, 0, 0);
	text-align: center;
	color: white;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 100;
	font-size: 50px;
}
@media only screen and (max-width: 768px) {
	.footer-div .footer-area-title {
		font-size: 24px;
	}
}
@media only screen and (min-width: 769px) and (max-width: 1199px) {
	.footer-div .footer-area-title {
		font-size: 34px;
	}
}

/* Formulare: E-Mail/Telefon-Felder wie die bisherigen Textfelder */
#coninp input[type=email], #coninp input[type=tel] {
	width: 100%;
	padding: 10px 16px;
	margin-bottom: 20px;
	border: 1px solid #ccc;
}
@media only screen and (max-width: 500px) {
	#coninp input[type=email], #coninp input[type=tel] {
		margin-bottom: 0px;
	}
}
@media only screen and (max-width: 450px) {
	#coninp input[type=email], #coninp input[type=tel] {
		width: 87%;
	}
}
#diag_smallcontact input[type=email] {
	width: 94%;
	margin-bottom: 20px;
	padding: 11px;
	color: #848484;
	border: 1px solid #ccc;
}
/* Keine browsereigene Fehlermarkierung (required/type=email) – die Prüfung macht weiterhin das Skript */
#coninp input:invalid, #coninp textarea:invalid,
#diag_smallcontact input:invalid, #diag_smallcontact textarea:invalid {
	box-shadow: none;
}

/* Kontaktseite: Labels bisher display:none (Desktop), jetzt nur visuell verborgen; mobil (≤ 500px) sichtbar wie bisher */
@media not all and (max-width: 500px) {
	#contact-area label:not(.privacy-consent) {
		display: block;
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		clip-path: inset(50%);
		white-space: nowrap;
		border: 0;
	}
}
