/* Basisdatei fuer Service-Seite. Weitere Styles folgen. */

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-wght.ttf") format("truetype");
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: "Rubik", sans-serif;
	color: #FFFFFF;
	background-image: url("../img/oitbg.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

h1 {
	font-size: 2.25rem;
	line-height: 2.75rem;
	margin: 0 0 1.5rem 0;
}

h2 {
	font-size: 1.75rem;
	line-height: 2.25rem;
	margin: 0 0 1.25rem 0;
}

p {
	font-size: 1rem;
	line-height: 1.625rem;
	margin: 0 0 1rem 0;
}

a,
a:visited {
	color: #FFFFFF;
	background-color: #EA4A26;
	text-decoration: none;
	padding: 0.125rem 0.375rem;
	border-radius: 0.125rem;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
}

.bg {
	width: 100%;
	height: 120px;
	background-color: #EA4A26;
	position: relative;
}

.bg::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 40px;
	transform: translateY(-50%);
	width: 300px;
	height: 75%;
	background-image: url("../img/oesterling-it_weiss.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: none;
}

.curve {
	width: 100%;
	height: 120px;
	background-image: url("../img/oitcurve.webp");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: auto 100%;
}

section {
	width: 100%;
	max-width: 80%;
	margin: 0 auto;
}

.rate-table {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	margin: 0 0 1.5rem 0;
	background-color: rgba(255, 255, 255, 0.08);
	padding: 0.125rem;
}

.rate-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	background-color: rgba(0, 0, 0, 0.2);
}

.rate-row--head {
	background-color: #EA4A26;
	font-weight: 600;
}

.rate-cell {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	line-height: 1.375rem;
	min-height: 3rem;
}

.rate-cell--day {
	flex: 1 1 16rem;
}

.rate-cell--time {
	flex: 1 1 14rem;
}

.rate-cell--value {
	flex: 1 1 18rem;
}

@media (max-width: 768px) {
	.bg {
		height: 120px;
	}

	.rate-cell {
		padding: 0.625rem 0.75rem;
	}

	.rate-row--head {
		flex-wrap: nowrap;
	}

	.rate-row--head .rate-cell {
		flex: 1 1 0;
		font-size: 0.875rem;
		line-height: 1.125rem;
		padding: 0.5rem 0.625rem;
	}

	.rate-row:not(.rate-row--head) {
		flex-direction: column;
	}

	.rate-row:not(.rate-row--head) .rate-cell {
		flex: 1 1 100%;
		width: 100%;
		min-height: 0;
	}
	}

@media (min-width: 1600px) {
	.bg {
		height: 120px;
	}
}
