:root {
	--max-content-width: 1200px;
	--farbe-leistungen: #2c5b78;
	--farbe-kontakt: #f1f2f3;
	--farbe-text: #333333;
	--farbe-link-hover: #2c5b78;
	--farbe-link-visited: #444444;
	--farbe-textfeld-rahmen: #cccccc;
	--farbe-textfeld-rahmen-fokus: #4a90d9;
	--farbe-textfeld-hintergrund: #ffffff;
	--farbe-button-schrift: #ffffff;
	--farbe-button: #0d6efd;
	--farbe-button-border: #0d6efd;
	--farbe-button-hover: #3a78bd;
	--farbe-cookie-banner: #bfe1f7;
	--farbe-cookie-rand: #2c5b78;
	--padding-fuer-content: 15px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
	line-height: 1.6;
	hyphens: auto;
	color: var(--farbe-text);
	margin: 0;
}

.redbox {
	border: 2px solid red;
}

.greenbox {
	border: 2px solid green;
}

.bluebox {
	border: 2px solid blue;
}

.mt0 {
	margin-top: 0;
}

.mt10 {
	margin-top: 10px;
}

.mt20 {
	margin-top: 20px;
}

.mt30 {
	margin-top: 30px;
}

.mb10 {
	margin-bottom: 10px;
}

.mb20 {
	margin-bottom: 20px;
}

.mb30 {
	margin-bottom: 30px;
}

.ml10 {
	margin-left: 10px;
}

.ml20 {
	margin-left: 20px;
}

.ml30 {
	margin-left: 30px;
}

.ml50 {
	margin-left: 50px;
}

.pad10 {
	padding: 10px;
}

.uppercase {
	text-transform: uppercase;
}

.wrap {
	flex-wrap: wrap;
}

.unsichtbar {
	/* display: none; */
	position: absolute;
	left: -9999px
}

.fliesstext {
	margin-top: 5px;
	font-size: 1.15rem;
	line-height: 1.5rem;
	margin-bottom: 10px;
}

li {
	font-size: 1.15rem;
	line-height: 125%;
	margin-bottom: 10px;
}

/**************** Fonts ****************/

/* source-sans-3-regular - latin */
@font-face {
	font-display: swap;
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 400;
	src:
		url("/assets/fonts/source-sans-3-v19-latin-regular.woff2") format("woff2"),
		url("/assets/fonts/source-sans-3-v19-latin-regular.ttf") format("truetype");
}

/* source-sans-3-700 - latin */
@font-face {
	font-display: swap;
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 700;
	src:
		url("/assets/fonts/source-sans-3-v19-latin-700.woff2") format("woff2"),
		url("/assets/fonts/source-sans-3-v19-latin-700.ttf") format("truetype");
}

/* patua-one-regular - latin */
@font-face {
	font-display: swap;
	font-family: "Patua One";
	font-style: normal;
	font-weight: 400;
	src:
		url("/assets/fonts/patua-one-v22-latin-regular.woff2") format("woff2"),
		url("/assets/fonts/patua-one-v22-latin-regular.ttf") format("truetype");
}

h1,
h2 {
	font-family: "Patua One", Georgia, 'Times New Roman', Times, serif;
	font-weight: 400;
	margin-bottom: 5px;
}

h1 {
	font-size: 1.8rem;
}

h2 {
	font-size: 1.2rem;
}

.nobreak {
	hyphens: none;
}

/**************** Grid-Struktur ****************/

.container {
	display: flex;
	/* flex-direction: row; */
	max-width: var(--max-content-width);
	margin: 0 auto;
}

.column {
	flex-direction: column;
}

.row {
	flex-direction: row;
}


.row-container {
	display: flex;
	flex-direction: row;
}

.col-left {
	display: flex;
	flex-grow: 1;
}

.col-content {
	display: flex;
	flex-grow: 2;
	width: 100%;
	max-width: var(--max-content-width);
}

.col-right {
	display: flex;
	flex-grow: 1;
}

.flex-row-mit-bild {
	display: flex;
	gap: 2rem;
}

.flex-text {
	flex: 1 1 0;
}

.flex-bild {
	flex: 0 1 29%;
}

.flex-bild img {
	width: 100%;
	height: auto;
	max-width: 350px;
}

.bild-ra-mettlach {
	flex: 0 1 25%;
}

/* Padding für Inhalts-Container */
.footer-container,
.menue-section-container,
.infotext-container,
.kontakt-item-container {
	padding-left: var(--padding-fuer-content);
	padding-right: var(--padding-fuer-content);
}

/**************** Aussehen der Hyperlinks ****************/
a,
a:visited {
	color: var(--farbe-link-visited);
	text-decoration: none;
}

a:hover {
	color: var(--farbe-link-hover);
	text-decoration: underline;
}

.visible-link {
	text-decoration: underline;
}

.linkhinweis {
	background-image: url("/assets/img/linkhinweis.png");
	background-position: left;
	background-repeat: no-repeat;
	padding-left: 15px;
}
/**************** Kontakt-Infozeile oben ****************/
.info-bar {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: center;
	justify-content: space-evenly;
	background-color: var(--farbe-kontakt);
	column-gap: 20px;
	max-width: 1200px;
	width: 100%;
	min-height: 30px;
}

.infobar-spacer {
	width: 350px;
	height: auto;
}

.info-element {
	font-weight: 600;
}

.email-icon,
.tel-icon,
.fax-icon {
	position: relative;
}

.email-icon {
	height: 12px;
	margin-right: 3px;
}

.tel-icon {
	top: 2px;
	height: 16px;
	margin-right: 2px;
}

.fax-icon {
	top: 2px;
	height: 16px;
	margin-right: 5px;
}

/**************** Logo und Menü ****************/
.menue-section-container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: 100%;
}

.kanzlei-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	flex-shrink: 0;
	height: 120px;
	width: 367px;
}

.kanzlei-logo img {
	width: 367px;
}

.menue-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	align-items: center;
	justify-content: flex-end;
	padding-right: 10px;
}

.menue {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	justify-content: flex-end;
	gap: 20px;
}

.menue-item {
	font-family: "Patua One", Georgia, 'Times New Roman', Times, serif;
	font-style: normal;
	font-weight: 400;
	font-size: 1.5rem;
}

.trennlinie-header {
	width: 100%;
	border-bottom: 5px solid var(--farbe-leistungen);
}

/**************** Hero-Image ****************/
.hero-image-wrapper {
	max-width: var(--max-content-width);
	margin: 0 auto;
}

.hero-image {
	display: flex;
	max-width: 100%;
	height: auto;
}

/**************** Leistungen ****************/
.leistungen-container {
	color: white;
	display: flex;
	flex-direction: row;
	width: 100%;
	align-items: stretch;
	justify-content: space-evenly;
}

.bg-leistungen {
	background: var(--farbe-leistungen);
}

.leistung-item-container {
	display: flex;
	flex-direction: column;
	width: 33%;
	align-items: center;
	padding: 30px;
}

.leistung-headline {
	font-family: "Patua One", Georgia, 'Times New Roman', Times, serif;
	font-style: normal;
	font-weight: 400;
	font-size: 1.5rem;
	margin-top: 10px;
	margin-bottom: 15px;
}

.leistung-item {
	text-align: center;
}

/**************** Info-Text ****************/

.infotext-container {
	margin-top: 20px;
	margin-bottom: 30px;
}


.link-adac {
	text-decoration: underline;
	font-weight: bold;
}

/**************** Kontakt und Anfahrt ****************/

.bg-kontakt {
	background: var(--farbe-kontakt);
}

.kontakt-container {
	display: flex;
	flex-direction: row;
	width: 100%;
	align-items: flex-start;
	justify-content: space-between;
}

.kontakt-item-container {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.kontaktformular-felder {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 10px;
}

.kontakt-item {
	padding: 10px;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.kontaktformular-container {
	width: 30%;
}

.bg-kontakt {
	background: var(--farbe-kontakt);
}

form {
	display: flex;
	flex-direction: column;
}

label {
	display: none;
}

.formularfeld {
	display: flex;
}

.form-textfeld {
	width: 100%;
	background: var(--farbe-textfeld-hintergrund);
	border: 1px solid var(--farbe-textfeld-rahmen);
	padding: 10px;
	margin-bottom: 5px;
	border-radius: 4px;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
	font-size: 1rem;
	font-family: inherit;
}

input:focus,
textarea:focus {
	outline: none;
	border-color: var(--farbe-textfeld-rahmen-fokus);
	box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.2);
}

xinput:required {
	border: 1px solid red;
}

input:valid {
	outline: 1px solid rgba(76, 168, 76, 0.9);
}

xinput:invalid:focus {
	outline: 1px solid rgba(200,76,76,0.9);
}





textarea {
	resize: vertical;
	min-height: 120px;
}

button {
	min-width: 105px;
	width: fit-content;
	height: fit-content;
	margin-top: 8px;
	padding: 8px;
	background-color: var(--farbe-button);
	color: var(--farbe-button-schrift);
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.05rem;
	font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
	cursor: pointer;
	transition: background-color 0.2s ease;
	box-shadow:
		0 4px 6px -1px rgba(0, 0, 0, 0.1),
		0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

button:hover,
button:focus {
	background-color: var(--farbe-button-hover);
}

.form-checkbox {
	width: 20px;
	height: 20px;
	vertical-align: top;
}

.flex-container-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}

.flex-container-col {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
}

/*            Footer         */
.footer {
	margin-top: 30px;
	margin-bottom: 50px;
}

.spacebetween {
	justify-content: space-between;
}

.flexend {
	align-items: flex-end;
}

.footer-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
}

.footer-menu {
	display: flex;
	align-items: flex-end;
	align-self: flex-end;
	gap: 15px;
}

a#scroll-to-top {
	background: url(/assets/img/ScrollToTop.svg) no-repeat center center;
	width: 35px;
	height: 35px;
	position: fixed;
	right: 30px;
	bottom: 30px;
	text-indent: -9999px;
	font-size: 0;
	cursor: pointer;
	outline: 0;
	opacity: 0.5;
}

/* Cookie-Hinweis*/

#cookie-hinweis {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	background: var(--farbe-cookie-banner);
	border: 4px solid var(--farbe-cookie-rand);
	border-radius: 10px;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	transform: translateY(120%);
	transition: transform 0.4s ease;
}

#cookie-hinweis.sichtbar {
	transform: translateY(0);
}

#cookie-hinweis p {
	margin: 0;
	flex: 1 1 480px;
	font-size: 1rem;
	line-height: 1.5;
}

#cookie-hinweis a {
	/* color: var(--color-accent); */
	text-decoration: underline;
}

/* Seite Kanzlei: Logo-Galerie */

.logo-galerie {
	flex-wrap: wrap;
	gap: 30px;
	margin-top: 30px;
	justify-content: space-around;
}

.logo-container {
	width: 160px;
	min-width: 160px;
	flex-shrink: 0;
}

.logo-image {
	display: flex;
	justify-content: center;
}

.logo-image img {
	display: flex;
	width: 120px;
	height: 80px;
}

.logo-text {
	text-align: center;
	padding-top: 10px;
	font-size: 0.95rem;
	line-height: 1.15rem;
}

/*
#cookie-hinweis button:hover,
#cookie-hinweis button:focus {
	background: var(--color-accent-hover);
}
*/

/* Seite Verkehrsrecht */
.verkehrsrecht-adac-logo {
	float: right;
	margin-top: 8px;
	margin-left: 15px;
}

/* Seite Dokumente */
.download-icon {
	width: 32px;
	margin-right: 10px;
}

/************************************************ Breakpoints ************************************************/

@media screen and (max-width: 1220px) {
	.infobar-spacer {
		width: 0;
	}

	.kanzlei-logo {
		margin-top: 20px;
	}

	/* Umbruch Kontaktinfo */
	.infotext-container {
		padding-left: var(--padding-fuer-content);
		padding-right: var(--padding-fuer-content);
	}
}

@media screen and (max-width: 1055px) {

	/* Umbruch Kontaktinfo */
	/*
	.kontakt-container {
		flex-direction: column;
		align-items: center;
	}
		*/

	.kontakt-item-container {
		width: 100%;
	}
}

@media screen and (max-width: 870px) {
	.info-bar {
		flex-direction: column;
		justify-content: center;
		row-gap: 5px;
	}

	.kontakt-container {
		flex-direction: column;
	}
}

/******************************************/

@media screen and (max-width: 640px) {
	.menue-section-container {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		padding-left: var(--padding-fuer-content);
		padding-right: var(--padding-fuer-content);
	}

	.menue {
		flex-direction: column;
		flex-wrap: wrap;
		gap: 5px;
		justify-content: center;
		align-items: center;
	}

	.kanzlei-logo {
		align-self: center;
		margin-bottom: 20px;
	}

	.leistungen-container {
		flex-direction: column;
	}

	.leistung-item-container {
		width: 90%;
	}

	.flex-row-mit-bild {
		flex-direction: column;
		align-items: center;

	}
}