/* PC-SHOP Bad Soden */

@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/open-sans-v34-latin-300.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/open-sans-v34-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/open-sans-v34-latin-700.woff2") format("woff2"); }

:root {
	--grund:     #444460;
	--text:      #FFFFFF;
	--gedimmt:   #D8D8EE;
	--markiert:  #00FF00;
	--rahmen:    #FFFFFF;
	--breite:    1000px;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	background-color: var(--grund);
	color: var(--text);
	font-family: "Open Sans", Arial, sans-serif;
	font-weight: 300;
	font-size: 15px;
	line-height: 1.6;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

a { color: var(--text); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
img { border: 0; max-width: 100%; height: auto; }

.inner {
	width: 100%;
	max-width: var(--breite);
	margin: 0 auto;
	padding: 0 18px;
}

/* Kopf */
.kopf .inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 4px 20px;
	min-height: 70px;
}
.logo {
	font-weight: 400;
	font-variant: small-caps;
	font-size: 30px;
	white-space: nowrap;
}
.logo small { font-size: 22px; }
.telefon {
	font-weight: 400;
	font-variant: small-caps;
	font-size: 20px;
	white-space: nowrap;
}

/* Menü */
nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0 36px;
}
nav a {
	display: block;
	padding: 4px 0 2px;
	text-transform: uppercase;
	font-size: 15px;
	font-weight: 400;
	line-height: 26px;
	border-bottom: 3px solid transparent;
	text-decoration: none !important;
}
nav a:hover, nav a:focus, nav a[aria-current="page"] {
	border-bottom-color: var(--markiert);
}

/* Inhalt */
main {
	flex: 1;
	padding: 40px 0 60px;
}
h1 {
	font-weight: 400;
	font-size: 25px;
	font-variant: small-caps;
	margin: 0 0 24px;
}
h2 {
	font-weight: 300;
	font-size: 18px;
	margin: 0 0 8px;
}
p { margin: 0 0 14px; }
main p a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.45); text-underline-offset: 3px; }
main p a:hover, main p a:focus { text-decoration-color: var(--markiert); }

/* Startseite: Kacheln */
.kacheln {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 30px;
	margin: 10px 0 40px;
}
.kacheln a { display: block; text-decoration: none; }
.kacheln img, .vorschaubild {
	display: block;
	width: 100%;
	max-width: 260px;
	aspect-ratio: 20 / 13;
	object-fit: cover;
	border: 1px solid var(--rahmen);
	border-radius: 6px;
	margin-top: 10px;
	background: #FFF;
}
.kacheln a:hover img, .kacheln a:focus img { border-color: #000; }
.kacheln a:hover h2, .kacheln a:focus h2 { text-decoration: underline; }
.einleitung { font-size: 17px; max-width: 760px; }

/* Abschnitte mit Bild links */
.abschnitt {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 16px 30px;
	margin-bottom: 40px;
	scroll-margin-top: 20px;
}
.abschnitt img { border-radius: 5px; margin-top: 0; }
.abschnitt p { color: var(--gedimmt); }

/* Öffnungszeiten */
.zeiten { border-collapse: collapse; margin-bottom: 24px; }
.zeiten th, .zeiten td { text-align: left; padding: 4px 30px 4px 0; vertical-align: top; }
.zeiten th { font-weight: 400; }

/* Kontakt */
.spalten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 30px;
}

/* Rechtstexte */
.rechtstext p, .rechtstext ul { max-width: 820px; }
.rechtstext h2 { margin-top: 28px; font-weight: 400; }
.rechtstext ul { margin: 0 0 14px; padding-left: 20px; }

/* Fuß */
footer .inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 14px;
	text-transform: uppercase;
}
footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0 24px; }
footer a[aria-current="page"] { border-bottom: 3px solid var(--markiert); }

@media (max-width: 640px) {
	.logo { font-size: 26px; }
	nav ul { gap: 0 18px; }
	nav a { font-size: 14px; }
	main { padding-top: 24px; }
	.abschnitt { grid-template-columns: 1fr; }
	.abschnitt img { max-width: 100%; }
}
