/* ######################################################### */
/* ######################################################### */
/* CONFIG (CSS VARIABLES) */
/* ######################################################### */
/* ######################################################### */

:root {
	--primary-color: #00004d;
	--accent-color: #800000;
	--accent-hover: #B40404;
	--text-dark: #202020;
	--text-light: #fafafa;
	--text-link: #203a7a; 
	--glass-bg: rgba(255, 255, 255, 0.5);
	--glass-header: rgba(255, 255, 255, 0.5);
	--glass-modal: rgba(204, 204, 204, 0.5);
}

/* ######################################################### */
/* ######################################################### */
/* HEADER */
/* ######################################################### */
/* ######################################################### */


/* Formatierung des Logos */
.tlogo {
	background: var(--glass-header);
	border-bottom-left-radius: 9px;
	border-bottom-right-radius: 9px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.2);
	backdrop-filter: blur(4px);
	cursor: pointer;
	user-select: none;
	flex: 0 1 auto;
	min-width: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Formatierung der Logoposition */
.logo img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
	margin-left: auto;
	margin-right: auto;
	display: block;
	user-select: none;
}

/* Hintergrundformatierung */
.t0 {
	opacity: 0.0;
	background: #FFFFFF;
	user-select: none;
}

/* Tableistenformatierungformatierung */
nav {
	position: fixed;
	z-index: 1;
	margin-left: auto;
	margin-right: auto;
	width: 100% !important;
	top: 0px;
	transition: transform .5s .1s ease-in-out;
}

.nav-container {
	display: flex;
	justify-content: center;
	align-items: stretch;
	width: 85%;
	border: 1.5px solid transparent;
	border-top: none;
	margin: 0 auto;
	gap: 1%;
	padding: 0;
	box-sizing: border-box;
}

/* Hintergrundformatierung beim Ausblenden */
body.down nav {
	transform: translate3d(0, -100px, 0);
}

/* Formatierung des Standarttabs */
.tablinks {
	background: var(--glass-header);
	border: 1px solid var(--primary-color);
	border-top: none;
	border-bottom-left-radius: 9px;
	border-bottom-right-radius: 9px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.2);
	backdrop-filter: blur(4px);
	cursor: pointer;
	user-select: none;
	transition: all 0.3s ease;
	flex: 1;
	padding: 1% 3%;
	display: flex;
	align-items: center;
	justify-content: center;
}

a.tablinks, a.tablinks:link, a.tablinks:visited, a.tablinks:hover, a.tablinks:active {
	text-decoration: none !important;
	color: inherit;
}

.contact-btn.tablinks {
	border: 1px solid var(--primary-color);
	border-top-left-radius: 9px;
	border-top-right-radius: 9px;
	width: 100%;
	max-width: 220px;
	padding: 2% 0;
	justify-content: center;
	cursor: pointer;
	text-decoration: none !important;
}

.tablinks:hover,
.contact-btn.tablinks:hover {
	background: var(--glass-modal);
	border-color: var(--primary-color);
	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
	transform: scale(1.05);
	z-index: 2;
}

.contact-number-display {
	width: 100%;
	max-width: 220px;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}

.revealed-link {
	text-decoration: none !important;
	color: inherit;
	cursor: pointer;
	transition: transform 0.2s ease;
	display: inline-block;
}

.revealed-link:hover {
	transform: scale(1.05);
}

.phone-reveal-trigger.is-revealed,
.phone-reveal-trigger.is-revealed:hover {
	transform: none !important;
	cursor: default;
}

.tablinks:hover .tabschrift {
	color: var(--primary-color);
}

.tablinks.active {
	background: rgba(200, 200, 200, 0.8);
	border-color: var(--primary-color);
	box-shadow: inset 1px 1px 5px rgba(0,0,0,0.2);
}

.tablinks.active .tabschrift {
	color: var(--primary-color);
	font-weight: bold;
}

.tablinks.anfrage {
	background: rgba(128, 0, 0, 0.6);
	border: 1px solid var(--accent-color);
	border-top: none;
	box-shadow: 0 4px 10px rgba(128, 0, 0, 0.4);
}

.contact-anfrage-btn.tablinks.anfrage {
	border-top: 1px solid var(--accent-color);
	border-top-left-radius: 9px;
	border-top-right-radius: 9px;
	width: 100%;
	max-width: 220px;
	padding: 2% 0;
	justify-content: center;
	cursor: pointer;
}

.tablinks.anfrage:hover,
.contact-anfrage-btn.tablinks.anfrage:hover {
	background: rgba(128, 0, 0, 0.8);
	box-shadow: 0 0 15px rgba(128, 0, 0, 0.7);
	transform: scale(1.05);
	border-color: #a0a0a0;
	z-index: 2;
}

.tablinks.anfrage .tabschrift {
	color: #e0e0e0 !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.tabschrift {
	font-family: "Yanone Kaffeesatz", Arial, Helvetica;
	font-size: clamp(1.17rem, 2.6vh, 1.95rem);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-dark);
	text-shadow: 1px 1px 2px rgba(255,255,255,0.4);
	text-decoration: none;
	user-select: none;
	width: 100%;
	height: 100%;
}

.tabcontent {
	animation: fadeEffect 1s;
}

/* Von Null auf volle Deckkraft */
@keyframes fadeEffect {
	from {opacity: 0;}
	to {opacity: 1;}
}

@media screen and (max-width: 768px) {
	.nav-container {
		width: 100%;
	}

	.tlogo {
		min-width: 60px;
	}

	.tabschrift, .mbutton {
		letter-spacing: 0px;
	}

	.tablinks {
		padding: 4% 1%;
	}

	.contact-btn.tablinks,
	.contact-anfrage-btn.tablinks.anfrage {
		padding: 8% 0;
	}
}


/* ######################################################### */
/* ######################################################### */
/* BODY */
/* ######################################################### */
/* ######################################################### */

/* --------------------------------------------------------- Scrollbalken ausblenden */

html, body {
	scrollbar-width: none !important;      /* Firefox */
	-ms-overflow-style: none !important;   /* IE und Edge */
	overflow-x: hidden;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	background: transparent !important;
}

body.modal-open {
	overflow: hidden !important;
	overscroll-behavior: none;
}

textarea, .modal-body {
	scrollbar-width: thin !important;
	scrollbar-color: rgba(0, 0, 77, 0.5) transparent !important;
	-ms-overflow-style: auto !important;
}

textarea::-webkit-scrollbar, .modal-body::-webkit-scrollbar {
	display: block !important;
	width: 8px !important;
	height: 8px !important;
	background: transparent !important;
}

textarea::-webkit-scrollbar-thumb, .modal-body::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 77, 0.5) !important;
	border-radius: 4px;
}

/* --------------------------------------------------------- Hintergrundbild setzen */

html {
	width: 100%;
	background-color: transparent;
}

body {
	background-color: transparent !important;
	background-image: none !important;
	margin-left: 0em;
	margin-right: 0em;
}

body::before {
	content: "";
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: -1;
	background-image: url("../image/bg.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

/* --------------------------------------------------------- Handy: Halfcontent */

@media only screen and (min-width: 900px) {
	.halfcontent {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}

/* --------------------------------------------------------- Handy: Trennsymbol */

@media only screen and (max-width: 900px) {
	#home::after, #leistung::after, #kontakt::after {
		content: "";
		display: block;
		width: 77%;
		height: 1px;
		background-color: var(--primary-color);
		margin: 55px auto;
	}
}

/* --------------------------------------------------------- */
/* Main */
/* --------------------------------------------------------- */

/* Textinhaltskaestchen formatieren */
main {
	margin: 7em auto 2em auto;
	padding: 20px 20px 20px 20px;
	width: 85%;
	border: 1.5px solid var(--primary-color);
	border-radius: 9px;
	background: var(--glass-bg);
	backdrop-filter: blur(4px);
	box-shadow: 10px 10px 15px rgba(0,0,0,0.2);
	box-sizing: border-box;
}

section {
	margin-bottom: 40px;
	width: 100%;
}

p {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

/* Textlink formatieren */
a, a:link {
	text-align: left;
	margin: 0px;
	padding: 0px;
	color: var(--text-link);
	text-decoration: underline; 
	font-weight: bold;
	cursor: pointer;
	user-select: none;
}

/* besuchten Textlink formatieren */
a:visited {
	text-align: left;
	margin: 0px;
	padding: 0px;
	color: var(--text-link);
	text-decoration: underline;
}

/* aktiven Textlink formatieren */
a:active {
	text-align: left;
	margin: 0px;
	padding: 0px;
	color: #505050;
	text-decoration: underline;
}

/* Textlink bei Maus darueber formatieren */
a:hover {
	text-align: left;
	margin: 0px;
	padding: 0px;
	color: var(--primary-color);
	text-decoration: underline;
}

h3 {
	margin-bottom: 0.5em;
}

h4 {
	margin-bottom: 0.2em;
}

.ueberschrift {
	font-size: 1.5em; /* Entspricht oft h2 */
	font-weight: bold;
	margin-top: 8px;
	margin-bottom: 5px;
}

.unterueberschrift {
	font-size: 1.17em; /* Entspricht oft h3 */
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 3px;
}

.agb-container .unterueberschrift {
	margin-top: 13px;
	margin-bottom: 10px;
}

.agb-container ul {
	list-style: none !important;
	list-style-type: none !important;
	padding-left: 20px;
	margin: 0;
}

.agb-container li {
	list-style: none !important;
	margin-bottom: 10px;
	text-align: justify;
}

/* Textinhalt formatieren */
.tabcontent {
	font-family: Nunito, Arial, Helvetica;
	font-size: clamp(0.9rem, 2vh, 1.5rem);
	color: var(--text-dark);
	text-decoration: none;
}

.hschrift {
	margin-top: 0em;
	margin-bottom: 0.5em;
	line-height: 0em;
	padding-left: 0em;
	line-height: 1;
}

.headline-custom {
	font-size: clamp(1.45rem, 3.2vh, 2.42rem);
	position: relative;
	color: #222222;
	background: none;
	font-size: 1.5em;
	font-weight: 800;
	text-align: center;
}

.home-header {
	position: relative;
	text-align: center;
	overflow: hidden;
	margin: 0 -20px;
	padding: 0 20px;
}

.grid {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0 10px;
	align-items: center;
	width: 100%;
}


.home-content-wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.home-text-col {
	width: 50%;
	text-align: left;
	padding-right: 15px;
	box-sizing: border-box;
}

.home-img-col {
	width: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.home-action-bar {
	display: flex;
	width: 100%;
	margin: 20px 0;
	gap: 5px;
}

.home-action-col {
	width: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.home-action-col-right {
	width: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 1;
}

@media screen and (max-width: 768px) {
	.responsive-col
	{
	width: 100% !important;
	padding-right: 0 !important;
	display: block;
	}

	.responsive-col img
	{
	margin-bottom: 2em;
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
}


/* --------------------------------------------------------- */
/* Modal Header */
/* --------------------------------------------------------- */

/* Das Modal (background) */
.modal-header, .modal-admin {
	font-family: Nunito, Arial, Helvetica;
	font-size: clamp(0.9rem, 2vh, 1.5rem);
	display: none;
	position: fixed;
	z-index: 2;
	padding-top: 100px;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	width: 100% !important;
	height: 100% !important;
	overflow: hidden;
	backdrop-filter: blur(5px);
	box-shadow: 10px 10px 15px rgba(0,0,0,0.2);
}

/* Modal Inhalt */
.modal-content-B, .modal-content-C, .modal-content-admin {
	position: relative;
	margin: auto;
	border: 1.5px solid var(--accent-color);
	border-radius: 9px;
	width: 80%;
	animation: fadeIn 0.4s;
}

.modal-content-B {
	background: var(--glass-modal);
	backdrop-filter: blur(10px);
}

.modal-content-C {
	background: var(--glass-modal);
	backdrop-filter: blur(10px);
	width: 60%;
}

.modal-content-admin {
	width: 60%;
}

.xcontainer {
	margin: 0 0 12px 0;
	position: relative;
	text-align: right;
	padding: 10px 20px 0 0;
}

.container {
	padding: 1.5em;
}

/* --------------------------------------------------------- Handy: Trennsymbol */

@media screen and (max-width: 768px) {
	section {
		margin-bottom: 55px;
		width: 100%;
	}

	.modal-content-B, .modal-content-C {
		width: 96%;
		margin: 3% auto;
	}

	.modal-header, .modal-admin {
		padding-top: 0px;
	}

	.container {
		padding: 0.8em;
	}
}

/* --------------------------------------------------------- */
/* Modal Login */
/* --------------------------------------------------------- */

.header-btn-wrapper {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.pos-left { left: 1%; }
.pos-right { right: 1%; }

.header-btn {
	width: auto !important;
	margin: 0 !important;
	padding: 8px 16px !important;
	font-size: 1rem !important;
	display: inline-block;
}

.error-box { color: #dc3545; background: #ffe6e6; padding: 10px; border-radius: 4px; text-align: center; margin-bottom: 10px; font-weight: bold;}
.success-box { color: #155724; background: #d4edda; padding: 10px; border-radius: 4px; text-align: center; margin-bottom: 10px;}

/* Textarea Positionierung */
#nachricht2 {
	height: 400px;
	display: block;
	width: 94%;
	margin: 3% auto;
}

/* Date/Time Picker Row */
.picker-row {
	display: flex;
	width: 94%;
	margin: 0 auto 3% auto;
	justify-content: space-between;
	gap: 2%;
}

.picker-half {
	flex: 1;
	display: flex;
	justify-content: center;
}

.picker-input {
	width: 80%;
	height: 3em;
	padding: 12px 6px;
	border: 1.5px solid var(--primary-color);
	border-radius: 5px;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15);
	background: var(--text-light);
	color: var(--text-dark);
	font-family: Nunito, Arial, Helvetica;
	font-size: 1em;
	text-align: center;
	box-sizing: border-box;
}

.picker-input:focus {
	border-color: rgb(128, 0, 0);
	box-shadow: 0 0 8px rgba(128, 0, 0, 0.3);
	outline: none;
	background-color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------- */
/* Modal Footer */
/* --------------------------------------------------------- */

.modal-footer {
	font-family: Nunito, Arial, Helvetica;
	font-size: clamp(0.9rem, 2vh, 1.5rem);
	display: none;
	position: fixed;
	z-index: 3;
	padding-top: 100px;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	width: 100% !important;
	height: 100%!important;
	overflow: hidden;
	backdrop-filter: blur(5px);
	box-shadow: 10px 10px 15px rgba(0,0,0,0.2);
}

#M00.modal-footer {
	backdrop-filter: none;
}

.modal-content {
	position: relative;
	background: var(--glass-modal);
	margin: auto;
	border: 1.5px solid var(--primary-color);
	border-radius: 9px;
	width: 80%;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	overflow-y: initial !important;
	animation-name: slideIn;
	animation-duration: 0.4s;
}

#M00 .modal-content {
	width: 40%;
	backdrop-filter: blur(5px) !important;
	border: 1.5px solid var(--accent-color);
}

.modal-head {
	padding: 2px 16px;
	text-align: center;
	background: rgba(0, 0, 77, 0.6);
	box-shadow: 0 4px 10px rgba(0, 0, 77, 0.4);
	color: white;
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
}

#M00 .modal-head {
	background: rgba(128, 0, 0, 0.6);
	box-shadow: 0 4px 10px rgba(128, 0, 0, 0.4);
}

#M02 .modal-head {
	background: rgba(128, 0, 0, 0.6);
	box-shadow: 0 4px 10px rgba(128, 0, 0, 0.4);
	position: relative;
}

#M02 .modal-head button {
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.4);
	box-shadow: none;
}

#M02 .modal-head button:hover {
	background: rgba(255, 255, 255, 0.3);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
	border-color: #fff;
}

.modal-body {
	padding: 2px 16px;
	background: var(--glass-modal);
	height: 60vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
}

#M00 .modal-body {
	padding: 20px 16px;
	height: auto;
	max-height: 80vh;
	max-height: none;
	overflow: visible;
}

/* --------------------------------------------------------- Handy */

@media screen and (max-width: 768px) {
	.modal-footer {
		padding-top: 0;
	}

	.modal-content {
		width: 96%;
		height: calc(100% - 40px);
		margin: 3% auto;
		position: relative;
		top: 0;
		transform: none;
		display: flex;
		flex-direction: column;
	}

	#M00 .modal-content,
	#M02 .modal-content-C {
		width: 96% !important;
		height: auto !important;
	}

	#M02 .modal-content-admin {
		width: 96% !important;
		height: auto !important;
		margin: 3% auto 3% auto;
	}

	.modal-body {
		flex: 1;
		height: auto;
		overflow-y: auto;
	}

	#M00 .modal-body {
		height: auto !important;
		min-height: unset !important;
		max-height: none !important;
		overflow: visible;
	}
}

/* --------------------------------------------------------- */

/* Animationen */
@keyframes slideIn {
	from { bottom: -300px; opacity: 0; }
	to { bottom: 0; opacity: 1; }
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-20px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes animatetop {
	from { top: -300px; opacity: 0; }
	to { top: 0; opacity: 1; }
}

/* --------------------------------------------------------- */

.close {
	position: absolute;
	font-weight: bold;
	border: 1px solid #303030;
	top: -12px;
	right: -12px;
	font-size: 34px;
	line-height: 40px;
	width: 40px;
	text-align: center;
	border-radius: 25px;
	color: #000000;
	background: #bbbbbb;
	box-shadow: 0 6px 6px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
}

.close:hover,
.close:focus {
	color: var(--accent-hover);
	text-decoration: none;
	border: 1px solid var(--accent-color);
	cursor: pointer;
	user-select: none;
	box-shadow: 0 6px 15px rgba(128, 0, 0, 0.6);
	transform: scale(1.2);
}



/* --------------------------------------------------------- */
/* Input */
/* --------------------------------------------------------- */

/* Eingabefelder in voller Breite */
input[type=text], input[type=password], input[type=email], input[type=tel], select {
	font-family: Nunito, Arial, Helvetica;
	font-size: 1em;
	width: 100%;
	height: 3em;
	padding: 12px 6px;
	margin: 0.5em 0;
	display: inline-block;
	border: 1.5px solid var(--primary-color);
	border-radius: 5px;
	box-sizing: border-box;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15);
	background: var(--text-light);
	color: var(--text-dark);
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300004d' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px;
	padding-right: 35px !important;
	cursor: pointer;
}

textarea {
	font-family: Nunito, Arial, Helvetica;
	font-size: clamp(0.9rem, 2vh, 1.5rem);
	width: 100%;
	resize: vertical;
	max-height: 450px;
	min-height: 150px;
	padding: 6px 6px;
	margin: 0.5em 0;
	box-sizing: border-box;
	border: 1.5px solid var(--primary-color);
	border-radius: 5px;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15);
	background: var(--text-light);
	color: var(--text-dark);
}

input:focus, select:focus, textarea:focus {
	border-color: rgb(128, 0, 0);
	box-shadow: 0 0 8px rgba(128, 0, 0, 0.3);
	outline: none;
	background-color: rgba(255, 255, 255, 0.9);
}

select:focus {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23800000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}


input[type=checkbox] {
	display: block;
	appearance: none;
	-webkit-appearance: none;
	width: 35px !important;
	height: 35px !important;
	flex: 0 0 35px;
	min-width: 35px;
	min-height: 35px;
	box-sizing: border-box;
	border: 1.5px solid var(--primary-color);
	border-radius: 10px;
	background: var(--text-light);
	box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	margin-left: 0;
	margin-right: 10px;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

input[type=checkbox]::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url(../image/check.png);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0;
	transition: opacity 0.5s ease;
}

input[type=checkbox]:hover {
	background: rgba(16, 142, 40, 0.05);
}

input[type=checkbox]:checked {
	border-style: solid;
}

input[type=checkbox]:checked::after {
	opacity: 1;
}


/* --------------------------------------------------------- Button */

button[type=submit] {
	padding: 14px 20px;
	margin: 0.5em 0;
	width: 100%;
	background: rgba(128, 0, 0, 0.6);
	border: 1px solid var(--accent-color);
	border-radius: 6px;
	font-family: "Yanone Kaffeesatz", Arial, Helvetica;
	font-size: 1.4em;
	font-weight: bold;
	color: var(--text-light);
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
	box-shadow: 0 4px 10px rgba(128, 0, 0, 0.4);
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
}

button[type=submit]:hover {
	background: rgba(128, 0, 0, 0.8);
	box-shadow: 0 6px 15px rgba(128, 0, 0, 0.7);
	transform: scale(1.02);
	border-color: #a0a0a0;
}


/* --------------------------------------------------------- Fancy-Input */

.fancy-input {
	margin: 0.2em 0 0.2em 0;
	position: relative;
	user-select: none;
}

.fancy-input label {
	position: absolute;
	color: #000000;
	background: none;
	padding: 0 .5em;
	font-size: .8em;
	top: -.7em;
	left: 0em;
	transition: all .3s ease;
	user-select: none;
	pointer-events: none;
}

.fancy-input label.like-placeholder {
	color: #666666;
	background: none;
	font-size: 1em;
	top: 1.0em;
	left: 0em;
	user-select: none;
}



/* --------------------------------------------------------- */
/* Image */
/* --------------------------------------------------------- */

.ZZ {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 100%;
	width: auto;
	z-index: -1;
	opacity: 0.45;
	pointer-events: none;
}

.symbol {
	height: clamp(0.6em, 2vw, 1.1em);
	padding-left: 1em;
}

.list-row, .list-row2 {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	margin-bottom: 8px;
	align-items: center;
}

.list-row2 {
	margin-bottom: 3px;
}

.pfeil-r, .kontrollkreis {
	height: clamp(0.6em, 2vw, 1.1em);
	padding-left: 1em;
	width: auto;
	display: block;
	margin-top: 0;
}

.kontrollkreis {
	padding-left: 1em;
	margin-left: 1.5em;
}

.umkreis {
	display: block;
	margin-left: auto;
	margin-right: auto;
	object-fit: contain;
	width: clamp(18em, 60vw, 28em);
	height: clamp(18em, 60vw, 28em);
}

.profilbild {
	display: block;
	margin-left: auto;
	margin-right: auto;
	object-fit: cover;
	object-position: 50% 0%;
	width: clamp(9em, 30vw, 16em);
	height: clamp(9em, 30vw, 16em);
	border: 2px solid #303030;
	border-radius: 50%;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}



/* --------------------------------------------------------- Grid */

.grid-form {
	display: grid;
	grid-template-columns: 24.7% 0.4% 24.7% 0.4% 24.7% 0.4% 24.7%;
	width: 100%;
}

/* Helper Klassen für Positionierung */
.g-col-1 { grid-column: 1; }
.g-col-3 { grid-column: 3; }
.g-col-5 { grid-column: 5; }
.g-col-7 { grid-column: 7; }

.g-span-3-left { grid-column: 1 / span 3; }
.g-span-3-right { grid-column: 5 / span 3; }
.g-full-width { grid-column: 1 / -1; }

.g-privacy {
	grid-column: 1 / span 5;
	align-self: center;
}

.g-upload {
	grid-column: 7;
	align-self: center;
	justify-self: center;
	text-align: center;
}



/* --------------------------------------------------------- Handy: Trennsymbol */

/* Mobile Anpassung: Vorname/Nachname in neuer Zeile */
@media screen and (max-width: 768px) {
	.fancy-input {
		margin: 0px 0;
	}

	/* Anrede (links) und Titel (rechts) teilen sich die erste Zeile */
	.g-col-1 { grid-column: 1 / span 3; }
	.g-col-3 { grid-column: 5 / span 3; }

	/* Vorname (links) und Nachname (rechts) rutschen in die zweite Zeile */
	.g-col-5 { grid-column: 1 / span 3; }
	.g-col-7 { grid-column: 5 / span 3; }
}

/* --------------------------------------------------------- Upload */

.grid-sendimage img {
	width: clamp(2.5em, 8vw, 3.5em);
	height: clamp(2.5em, 8vw, 3.5em);
	object-fit: contain;
	cursor: pointer;
	transition: transform 0.2s;
	display: block;
	box-sizing: border-box;
}

.grid-sendimage img:hover {
	transform: scale(1.1);
}

.uploaded-style {
	border-radius: 15px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	padding: 0 !important;
	object-fit: cover !important;
	border: 1px solid var(--primary-color);
}



/* ######################################################### */
/* ######################################################### */
/* FOOTER */
/* ######################################################### */
/* ######################################################### */


/* Text unten formatieren */
footer {
	position: fixed;
	z-index: 1;
	margin-left: auto;
	margin-right: auto;
	width: 100% !important;
	bottom: 0px;
	transition: transform 1.0s .1s ease-in-out;
}

body.up footer {
	transform: translate3d(0, 60px, 0);
}

.footer-container {
	display: flex;
	justify-content: center;
	width: 100%;
	gap: 0.3%;
	padding: 0 34.2%;
	box-sizing: border-box;
}

.tabfooter {
	background: var(--glass-modal);
	border: 1px solid #303030;
	border-bottom: none;
	padding: 2% 3% !important;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(3px);
	transition: all 0.3s ease;
	cursor: pointer;
	user-select: none;
	text-decoration: none !important;
	color: inherit;
}

.tabfooter:hover, .tabfooter.active {
	background: var(--glass-modal);
	box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
	transform: translateY(-4px);
	color: var(--primary-color);
}

.mbutton {
	font-family: "Yanone Kaffeesatz", Arial, Helvetica;
	font-size: clamp(0.9rem, 2vh, 1.5rem);
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-dark);
	text-shadow: 0.5px 0.5px 1px rgba(255, 255, 255, 0.4);
	text-decoration: none;
	cursor: pointer;
	user-select: none;
}

.tabfooter:hover .mbutton,
.tabfooter.active .mbutton {
	color: var(--primary-color);
	font-weight: 900;
}

.copyright {
	font-family: Nunito, Arial, Helvetica;
	font-size: clamp(0.63rem, 1.4vh, 1.05rem);
	writing-mode: vertical-lr;
	transform: rotate(180deg);
	position: fixed;
	z-index: 10;
	bottom: 0px;
	left: 0px;
	color: var(--text-light);
	user-select: none;
}


/* --------------------------------------------------------- Handy: Trennsymbol */

@media screen and (max-width: 768px) {
	.tabfooter {
		padding: 8% 4%;
	}
}

