/* Übergangsseite vg-meissen.de – Farben aus der Design-Dokumentation 1.3 der neuen Website.
   Source Sans 3 lokal ausgeliefert (SIL OFL 1.1, fonts/OFL.txt), keine Verbindung zu Google. */

@font-face { font-family: 'Source Sans 3'; font-weight: 400; font-display: swap; src: url('fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 600; font-display: swap; src: url('fonts/source-sans-3-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 700; font-display: swap; src: url('fonts/source-sans-3-latin-700-normal.woff2') format('woff2'); }

:root {
	--gruen: #00713A;
	--gruen-akzent: #009B48;
	--gruen-hell: #E9F6EE;
	--gruen-dunkel: #132E20;
	--orange-flaeche: #FDEEDC;
	--orange-rand: #F08A24;
	--text: #1F2A24;
	--nebentext: #5A6B60;
	--rand: #DCE8DF;
	--grund: #FAFCFA;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--grund);
	color: var(--text);
	font: 400 1.0625rem/1.55 'Source Sans 3', Arial, Helvetica, sans-serif;
}

a { color: var(--gruen); text-underline-offset: 2px; }
a:hover { color: var(--gruen-dunkel); }
a:focus-visible { outline: 3px solid var(--orange-rand); outline-offset: 2px; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* Kopf */
.kopf { background: #fff; border-bottom: 4px solid var(--gruen-akzent); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo img { display: block; width: 168px; height: auto; }
.kopf-service { margin: 0; text-align: right; font-size: .95rem; color: var(--nebentext); line-height: 1.3; }
.kopf-service a { font-size: 1.25rem; font-weight: 700; text-decoration: none; }

/* Inhalt */
main.wrap { padding-top: 28px; padding-bottom: 40px; }
h1, h2 { line-height: 1.2; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem); font-weight: 700; margin: 0 0 .5em; }
h2 { font-size: 1.35rem; font-weight: 700; color: var(--gruen); margin: 2rem 0 .8rem; }

.hinweis {
	background: var(--orange-flaeche);
	border-left: 6px solid var(--orange-rand);
	border-radius: 8px;
	padding: 20px 24px;
}
.hinweis p { margin: .4em 0 0; }

.kacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.kachel {
	display: block; height: 100%;
	background: #fff; border: 1px solid var(--rand); border-top: 4px solid var(--gruen-akzent); border-radius: 8px;
	padding: 16px 18px; text-decoration: none; color: var(--text);
}
.kachel strong { display: block; color: var(--gruen); font-size: 1.15rem; margin-bottom: 4px; }
.kachel span { color: var(--nebentext); }
.kachel strong::after { content: " →"; }
.kachel:hover { background: var(--gruen-hell); }

.spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; }

.liste { margin: 0; }
.liste dt { font-weight: 600; margin-top: .7em; }
.liste dd { margin: 0; }
.liste dd a[href^="tel:"] { font-size: 1.2rem; font-weight: 700; text-decoration: none; }

.adresse { background: #fff; border: 1px solid var(--rand); border-radius: 8px; padding: 14px 18px; margin: 0 0 14px; }

.zeiten { border-collapse: collapse; width: 100%; max-width: 560px; background: #fff; border: 1px solid var(--rand); border-radius: 8px; }
.zeiten caption { text-align: left; font-weight: 600; padding-bottom: 6px; }
.zeiten th, .zeiten td { text-align: left; padding: 8px 14px; border-top: 1px solid var(--rand); vertical-align: top; }
.zeiten th { font-weight: 600; white-space: nowrap; }

/* Textseiten (Impressum, Datenschutz) */
.text { max-width: 760px; }
.text p { margin: 0 0 .9em; }
.text p strong:only-child { display: block; margin-top: 1.4em; font-size: 1.1rem; }
.text ul { padding-left: 1.3em; margin: 0 0 1em; }
.text li { margin: .2em 0; }
.text a { overflow-wrap: anywhere; }
.zurueck { margin-top: 2em; }

/* Fuß */
.fuss { background: var(--gruen-hell); border-top: 1px solid var(--rand); font-size: .95rem; }
.fuss-innen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; }
.fuss p { margin: 0; }
.fuss nav a { margin-right: 18px; font-weight: 600; }

@media (max-width: 520px) {
	.logo img { width: 128px; }
	.kopf-service a { font-size: 1.1rem; }
	.hinweis { padding: 16px 18px; }
}
