/* Handyansicht, der Desktop bleibt unverändert */
@media (max-width: 840px) {
	img { max-width: 100%; height: auto; box-sizing: border-box; }
	.ausrichtung img[style*="padding-left"] { padding-left: 0 !important; }

	/* Kopf */
	.ausrichtung { min-width: 0; padding-top: 12px; padding-left: 15px; padding-right: 15px; box-sizing: border-box; }
	.lang { position: static; text-align: right; margin-bottom: 6px; }
	.lang a { font-size: 12px; }
	.logo .pic img { width: 40px; }
	.logo .name { width: auto; float: left; padding-top: 2px; padding-left: 10px; text-align: left; }
	.logo .name span[style*="font-size:32px"] { font-size: 24px !important; }
	.logo .name span, .logo .name br + span { font-size: 11px; }
	.menu { float: none; clear: both; padding: 12px 0 0; margin-top: 0; }
	#sddm { display: flex; flex-wrap: wrap; gap: 4px 16px; border-top: 1px solid #ddd; padding-top: 10px; }
	#sddm li { float: none; }
	#sddm li a { margin: 0; font-size: 13px; padding: 4px 0; }
	#sddm div { display: none; }

	/* Inhalt ohne feste Breiten */
	.ausrichtung > .content, .content[style*="padding-left"], .content2 { padding-left: 0 !important; max-width: none !important; }
	.ausrichtung div[style*="float"] { float: none !important; width: auto !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
	.ausrichtung div[style*="width"] { max-width: 100% !important; }
	.ausrichtung table { max-width: 100%; }
	.ausrichtung > table > tbody > tr > td { display: block; width: auto; text-align: center; }
	.ausrichtung > table > tbody > tr > td table { margin: 0 auto; text-align: left; }
	.ausrichtung td[width="100"] { white-space: nowrap; }
	.point2 { float: none; width: auto; }
	.box1 { position: static; width: auto; max-width: none; }
	.kontakt1, .kontakt2 { width: 100%; box-sizing: border-box; }
	iframe { max-width: 100%; }

	/* Fuß */
	#footer, #footer2 { min-height: 0; padding: 40px 15px; }
	.footer-inner { width: auto; }
	.footer1, .footer2 { float: none; width: auto; margin: 0 auto 35px; max-width: 300px; }
	.footermenu { width: auto; text-align: center; padding: 0 12px; line-height: 2; }
	.footermenu div { right: 0 !important; }
}

/* Tablet */
@media (max-width: 980px) {
	.footermenu { width: auto; padding: 0 10px; }
	iframe { max-width: 100%; }
}

@media (max-width: 840px), (max-height: 640px) {
	/* Begrüßungsseite, damit sie auf den Bildschirm passt */
	#divstart { width: 100%; padding: 0 15px; box-sizing: border-box; }
	#divstart img { width: 110px; }
	#divstart br { display: none; }
	#divstart .kreis-con { margin-top: 20px; }
	#divstart .kreis { width: 80px; height: 80px; font-size: 13px; }
	#divstart .strich { margin-top: 15px; padding-bottom: 20px; }
	#divstart span[style*="font-size:108px"] { font-size: 52px !important; }
	#divstart div[style*="font-size:32px"] { font-size: 18px !important; margin-top: 6px; }
	#divstart .dreieck { margin-top: 25px; }
}
