:root {
 --contentbreite: 768px;
 --mehrereboxen: calc(var(--contentbreite) + 20px);
 --schriftgroesse: 16px;
 --hauptfarbe: #f8ebde;
 --textfarbe: #333;
 --lineheight: 160%;
 --abstandmittel: 10px;
 --borderfarbe: #43161b;
 --rundungen: 16px;
 --rundungenKlein: 2px;
 --headerbild: url("/assets/img/headergr.gif");
 --headerhoehe: 120px;
 --headerbildmobil: url("/assets/img/headerkl.gif");
 --headerhoehemobil: 52px;
 --linkstandard: var(--borderfarbe);
 --linkvisited: var(--borderfarbe);
 --linkhover: var(--borderfarbe);
 --linkactive: var(--borderfarbe);
 /****************** invertieren ***********************/
 --linkstandard-i: color-mix(in srgb, var(--borderfarbe), white 100%);
 --linkvisited-i: color-mix(in srgb, var(--borderfarbe), white 100%);
 --linkhover-i: color-mix(in srgb, var(--borderfarbe), white 100%);
 --linkactive-i: color-mix(in srgb, var(--borderfarbe), white 100%);
}
html, body {
	margin: 0;
	padding: 0;
	font-family: Arial;
	font-size: var(--schriftgroesse);
}
header {
	margin-top: 20px;
}
.box {
	line-height: var(--lineheight);
	max-width: 100%;
	padding: var(--abstandmittel);
	background-color: var(--hauptfarbe);
	border: 1px dotted var(--borderfarbe);
	margin-bottom: var(--abstandmittel);
}
@media only screen and (min-width: 769px) {
.box {
	margin-right: auto;
	margin-left: auto;
	max-width: var(--contentbreite);
	border-radius: var(--rundungen);
}
}
.trenner {
	width: 95%;
	border-top: 1px dotted var(--borderfarbe);
	margin: 15px auto 15px auto;
	text-align: center;
}
.centered {
	text-align: center;
}
.hgwhite {
	background-color: white;
}
.hgheader {
	background-image: var(--headerbildmobil);
	background-repeat: no-repeat;
	height: var(--headerhoehemobil);
}
@media only screen and (min-width: 769px) {
.hgheader {
	background-image: var(--headerbild);
	height: var(--headerhoehe);
}
}
.inputtext {
	height: 35px;
	border-radius: var(--rundungenKlein);
	width: 150px;
	padding: 8px 10px;
	border-radius: var(--rundungenKlein);
	box-sizing: border-box;
	font-size: var(--schriftgroesse);
	transition: border-color 0.2s;
}
h1 {
	font-size: 1.5em;
}
h2 {
	font-size: 1.3em;
}
h3 {
	font-size: 1.1em;
}
a:link {
	color: var(--linkstandard);
}
a:visited {
	color: var(--linkvisited);
}
a:hover {
	color: var(--linkhover);
}
a:active {
	color: var(--linkactive);
}
a:link.invers {
	color: var(--linkstandard-i);
	text-decoration: none;
}
a:visited.invers {
	color: var(--linkvisited-i);
}
text-decoration:none;
a:hover.invers {
	color: var(--linkhover-i);
	text-decoration: none;
}
a:active.invers {
	color: var(--linkactive-i);
	text-decoration: none;
}
/************************* Anfang Dreispaltig: Text TextInput Text*****************************/

/* --- BASIS / MOBILE VERSION (Standard) --- */

.row-3 {
	display: flex;
	flex-wrap: wrap; /* Standardmäßig umbrechen für Mobile */
	align-items: center;
	margin-bottom: 20px;
	gap: 5px;
}
/* 1. Spalte: Label (Mobile: Volle Breite) */
.column-3:nth-child(1) {
	flex: 0 0 100%;
	margin-bottom: 5px;
}
.f-column-3 {
	text-align: left;
}
/* 2. Spalte: Input (Bleibt 150px) */
.column-3:nth-child(2) {
	flex: 0 0 150px;
}
/* 3. Spalte: Einheit (Direkt daneben) */
.column-3:nth-child(3) {
	flex: 0 0 auto;
	padding-top: 2px; /* Leicht korrigiert für mobile Ausrichtung */
}
.t-column-3 {
	font-weight: 500;
	color: #555;
}


/* --- DESKTOP VERSION (Ab 770px) --- */

@media (min-width: 768px) {
.row-3 {
	flex-wrap: nowrap; /* Nebeneinander erzwingen */
	margin-bottom: 15px;
	gap: 10px;
}
/* 1. Spalte: Jetzt feste Breite statt 100% */
.column-3:nth-child(1) {
	flex: 0 0 200px;
	margin-bottom: 0;
}
/* 3. Spalte: Padding für Desktop zurücksetzen */
.column-3:nth-child(3) {
	padding-top: 0;
}
}
/************************* Ende Dreispaltig: Text TextInput Text *****************************/

.submit {
	color: #fff;
	padding: 15px 25px;
	background-color: var(--borderfarbe);
	box-shadow: inset -3px -3px 9px rgba(255, 255, 255, 0.25), inset 0px 3px 9px rgba(255, 255, 255, 0.3), inset 0px 1px 1px rgba(255, 255, 255, 0.6), inset 0px -8px 36px rgba(0, 0, 0, 0.3), inset 0px 1px 5px rgba(255, 255, 255, 0.6), 2px 19px 31px rgba(0, 0, 0, 0.2);
	border-radius: var(--rundungen);
	font-size: var(--schriftgroesse);
	border: 0;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	cursor: pointer;
	margin: 20px 0px 20px 0px;
}

/************************ Button nach oben ************************/
.back-to-top {
	width: 32px;
	position: fixed;
	bottom: 20px;
	right: 14px;
	background: var(--borderfarbe);     /* Hintergrundfarbe */
	padding: 5px 10px 5px 10px;
	border-radius: var(--rundungenKlein);
	text-decoration: none;
	font-size: var(--schriftgroesse);
	z-index: 2000;
	transition: background 0.3s ease, transform 0.2s ease;
	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
	border: 1px solid var(--hauptfarbe);
}
/************************ Text neben bild rechts ************************/
.tnbr {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	padding: 15px;
	border-radius: var(--rundungenKlein, 8px);
	text-align: center;
}
.tnbr img {
	max-width: 120px;
	height: auto;
	display: block;
}
.tnbr p {
	margin: 0;
}
.tnbr a {
	color: var(--borderfarbe);
	text-decoration: underline;
}
 @media (min-width: 769px) {
.tnbr {
	flex-direction: row;
	align-items: flex-start;
	text-align: left;
}
.tnbr img {
	max-width: 150px;
}
}
/************************ 3 boxen nebeneinander ************************/
.boxb {
	display: flex;
	flex-wrap: wrap; /* Erlaubt das "Floaten" in die nächste Zeile */
	gap: 20px;
	width: 100%;
	background-color: white;
	margin-bottom: var(--abstandmittel);
}
.boxb .container {
	flex: 1 1 300px;
	background: #f5f5f5;
	border: 1px solid #ccc;
	border-radius: 12px;
	padding: 15px;
	box-sizing: border-box;
	text-align: center;
	line-height: var(--lineheight);
}
.boxb .container img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 10px auto;
}
 @media only screen and (min-width: 769px) {
.boxb {
	margin-right: auto;
	margin-left: auto;
	max-width: var(--mehrereboxen);
}
}
 @media only screen and (min-width: 769px) {
.boxb {
	margin-right: auto;
	margin-left: auto;
	max-width: var(--mehrereboxen);
	justify-content: space-between;
}
.boxb .container {
	flex: 1 1 calc(33.333% - 20px);
}
}
