/* AStA HHU – IT-Referat
   Farben, Schrift und Rundungen sind aus dem Quelltext von dev.astahhu.de (Divi) übernommen:
   Primärfarbe #9810fa, Textfarbe #3e006b, Arial, weißer Kopf mit feinem Schatten,
   runde Ecken (30px / 15px), dunkler Fuß. */

:root {
	--primary: #9810fa;
	--primary-dark: #7a0dc8;
	--body: #3e006b;
	--secondary: rgba(197, 174, 227, 0.6);
	--secondary-soft: rgba(197, 174, 227, 0.26);
	--menu: rgba(0, 0, 0, 0.6);
	--footer: rgba(2, 0, 0, 0.71);
	--shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.3);
	--font: Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #fff;
	color: var(--body);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.7em;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

h1, h2, h3 { color: var(--primary); font-weight: 500; line-height: 1em; padding-bottom: 10px; margin: 0; }
h1 { font-size: 30px; }
h2 { font-size: 26px; }
p { margin: 0; padding-bottom: 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem .75rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---------- Kopf: weiß, feiner Schatten ---------- */
.site-header { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; min-height: 66px; }
.brand { color: var(--body); font-size: 20px; font-weight: 700; }
.brand:hover { color: var(--primary); }
.brand span { color: var(--menu); font-weight: 400; margin-left: .35em; }

/* ---------- Inhalt ---------- */
.content { padding: 2rem 0 3.5rem; }
.content .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }

/* Einleitung wie die große Karte auf der Startseite */
.intro {
	grid-column: 1 / -1;
	background: #fff;
	border-radius: 30px;
	box-shadow: var(--shadow);
	padding: 2.25rem 2.5rem 1.5rem;
	margin-bottom: .5rem;
}
.intro p { padding-bottom: 0; max-width: 40rem; }

/* Link-Blöcke: Überschrift, ein Satz, Button „Weiter“ */
.teaser {
	background: var(--secondary-soft);
	border-radius: 30px;
	padding: 1.75rem 2rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.teaser h2 { font-size: 26px; }
.teaser h2 a { color: var(--primary); }
.teaser h2 a:hover { color: var(--primary-dark); }
.teaser p { flex: 1; }

.more {
	display: inline-block;
	margin-top: 10px;
	padding: .35em 1.1em;
	border: 2px solid var(--primary);
	border-radius: 15px;
	background: var(--secondary-soft);
	color: var(--primary);
	font-size: 16px;
	line-height: 1.7em;
}
.more:hover { background: var(--primary); color: #fff; }

/* Rechtliches */
.entry { grid-column: 1 / -1; max-width: 46rem; }

/* ---------- Fuß: dunkel ---------- */
.site-footer { background: var(--footer); color: #fff; padding: 1.25rem 0; font-size: 14px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--secondary); text-decoration: underline; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }

@media (max-width: 600px) {
	.intro, .teaser { border-radius: 20px; padding-left: 1.25rem; padding-right: 1.25rem; }
}
