/* IGS-Ausbildungsplätze
   Schrift und Farben der Homepage, Maße wie die Kalenderblätter auf der Seite
   „Ausbildungsangebote“: blaues Blatt links, Text rechts, Linien statt Kästen. */

.iga {
	--iga-schule: #1f4798;
	--iga-text: #3d4450;
	--iga-dunkel: #161922;
	--iga-linie: #dde1e8;
	margin: 0;
	color: var(--iga-text);
	font-family: inherit;
}
.iga [hidden] { display: none !important; }
.iga { scroll-margin-top: 140px; }
.iga .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.iga .iga-ueberschrift {
	margin: 0 0 10px;
	color: var(--iga-dunkel);
}
.iga .iga-hinweis {
	max-width: 760px;
	margin: 0 0 22px;
	font-size: 17px;
	line-height: 1.5;
}
.iga .iga-admin { padding: 10px 14px; border-left: 3px solid #b32d2e; background: #fcf0f1; }

/* Suchzeile */
.iga .iga-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 16px;
	margin: 0 0 6px;
	padding: 0 0 18px;
}
.iga .iga-feld {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	font-size: 15px;
	color: var(--iga-text);
}
.iga .iga-feld-suche { flex: 1 1 300px; max-width: 480px; }
.iga .iga-feld input,
.iga .iga-feld select {
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	color: var(--iga-dunkel);
	font: inherit;
	font-size: 17px;
	background: #fff;
	border: 1px solid #b9c0cc;
	border-radius: 0;
	box-shadow: none;
}
.iga .iga-feld select {
	min-width: 150px;
	padding-right: 36px;
	-webkit-appearance: none;
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f4798' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
	cursor: pointer;
}
.iga .iga-feld input:focus,
.iga .iga-feld select:focus { outline: 2px solid var(--iga-schule); outline-offset: 0; border-color: var(--iga-schule); }
.iga .iga-los,
.iga .iga-mehr,
.iga .iga-blatt,
.iga .iga-karte-knopf {
	height: 44px;
	margin: 0;
	padding: 0 18px;
	color: var(--iga-schule);
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	background: #fff;
	border: 1px solid var(--iga-schule);
	border-radius: 0;
	cursor: pointer;
}
.iga .iga-los:hover, .iga .iga-mehr:hover, .iga a.iga-blatt:hover, .iga .iga-karte-knopf:hover,
.iga .iga-los:focus-visible, .iga .iga-mehr:focus-visible, .iga a.iga-blatt:focus-visible, .iga .iga-karte-knopf:focus-visible { color: #fff; background: var(--iga-schule); }
.iga:not(.iga-js) .iga-mehr-wrap { display: none; }

.iga .iga-anzahl {
	margin: 0 0 8px;
	font-size: 15px;
	color: var(--iga-text);
}
.iga.iga-laedt .iga-liste { opacity: .55; transition: opacity .15s; }

/* Liste */
.iga .iga-liste {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--iga-linie);
}
.iga .iga-zeile {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--iga-linie);
	list-style: none;
}
.iga .iga-zeile::before { display: none; }
.iga .iga-km {
	display: flex;
	flex: 0 0 58px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 58px;
	color: #fff;
	text-align: center;
	background: var(--iga-schule);
}
.iga .iga-km-zahl { font-size: 22px; line-height: 1.05; font-weight: 700; }
.iga .iga-km-text { font-size: 13px; line-height: 1.2; }
.iga .iga-km-zahl.iga-km-hier { font-size: 15px; font-weight: 700; }
.iga .iga-text { flex: 1; min-width: 0; }
.iga .iga-titel {
	display: inline;
	color: var(--iga-dunkel);
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	text-decoration: none;
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
}
.iga .iga-titel:hover,
.iga .iga-titel:focus-visible { color: var(--iga-schule); text-decoration: underline; }
.iga .iga-prakt {
	display: inline;
	white-space: nowrap;
	margin-left: 8px;
	padding: 0 6px;
	color: var(--iga-schule);
	border: 1px solid var(--iga-schule);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	vertical-align: 2px;
}
.iga .iga-neu {
	display: inline;
	white-space: nowrap;
	margin-left: 8px;
	padding: 0 6px;
	color: #fff;
	background: var(--iga-schule);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	vertical-align: 1px;
}
.iga .iga-z {
	display: block;
	margin-top: 3px;
	font-size: 16px;
	line-height: 1.4;
	color: var(--iga-dunkel);
	overflow-wrap: break-word;
}
.iga .iga-z.iga-leise { margin-top: 1px; color: var(--iga-text); }
.iga .iga-mehrorte, .iga .iga-nb { white-space: nowrap; }

.iga .iga-mehr-wrap { margin: 18px 0 0; }
.iga .iga-quelle {
	max-width: 760px;
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--iga-text);
}
.iga .iga-quelle a { color: var(--iga-schule); }

/* Weitere Börsen: schlichte Linkliste */
.iga .iga-boersen { margin: 34px 0 0; }
.iga .iga-b-titel {
	margin: 0 0 6px;
	color: var(--iga-dunkel);
	font-size: 20px;
	line-height: 1.3;
}
.iga .iga-boersen ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 0 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.iga .iga-boersen li {
	margin: 0;
	padding: 10px 0;
	border-top: 1px solid var(--iga-linie);
	list-style: none;
}
.iga .iga-boersen li::before { display: none; }
.iga .iga-boersen a {
	color: var(--iga-schule);
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
}
.iga .iga-boersen a::after { content: " \203A"; }
.iga .iga-boersen a:hover,
.iga .iga-boersen a:focus-visible { text-decoration: underline; }
.iga .iga-boersen li span { display: block; font-size: 15px; line-height: 1.4; }


/* Berufsfelder als Register: Textzeile mit Unterstrich, keine Kästen */
.iga .iga-reiter {
	display: none;
	flex-wrap: wrap;
	gap: 2px 24px;
	margin: 0 0 22px;
	border-bottom: 1px solid var(--iga-linie);
}
.iga.iga-js .iga-reiter { display: flex; }
.iga.iga-js .iga-feld-beruf { display: none; }
.iga .iga-reiter-k {
	height: auto;
	margin: 0 0 -1px;
	padding: 6px 0 9px;
	color: var(--iga-dunkel);
	font: inherit;
	font-size: 17px;
	line-height: 1.25;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	cursor: pointer;
}
.iga .iga-r-zahl { margin-left: 2px; color: #6b7380; font-size: 15px; }
.iga .iga-reiter-k:hover { border-bottom-color: #b9c0cc; }
.iga .iga-reiter-k:focus-visible { outline: 2px solid var(--iga-schule); outline-offset: 2px; }
.iga .iga-reiter-k[aria-pressed="true"] { color: var(--iga-schule); font-weight: 700; border-bottom-color: var(--iga-schule); }
.iga .iga-reiter-k[aria-pressed="true"] .iga-r-zahl { color: var(--iga-schule); }
.iga .iga-reiter-k:disabled { color: #9aa1ad; border-bottom-color: transparent; cursor: default; }

/* Liste und Karte nebeneinander */
.iga .iga-haupt { display: block; }
.iga .iga-spalte { min-width: 0; scroll-margin-top: 140px; }
.iga .iga-ort-weg { margin-left: 10px; color: var(--iga-schule); font-weight: 700; white-space: nowrap; }
.iga .iga-alle-weg {
	display: inline-block;
	margin: 2px 0 2px 14px;
	padding: 5px 12px;
	color: var(--iga-schule);
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--iga-schule);
}
.iga .iga-alle-weg:hover, .iga .iga-alle-weg:focus-visible { color: #fff; background: var(--iga-schule); }

/* Blättern */
.iga .iga-seiten {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 16px 0 0;
}
.iga .iga-blatt {
	display: inline-flex;
	align-items: center;
	min-width: 112px;
	justify-content: center;
	line-height: 1;
	text-decoration: none;
}
.iga .iga-zurueck::before { content: "\2039"; margin-right: 8px; font-size: 22px; line-height: 0; }
.iga .iga-weiter::after { content: "\203A"; margin-left: 8px; font-size: 22px; line-height: 0; }
.iga span.iga-blatt { color: #9aa1ad; border-color: var(--iga-linie); cursor: default; }
.iga .iga-stelle { font-size: 16px; color: var(--iga-text); text-align: center; }

/* Karte */
.iga .iga-karte-box { margin: 26px 0 0; }
.iga .iga-karte-knopf { display: none; width: 100%; }
.iga .iga-karte { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; overflow: visible; }
.iga .iga-k-flaeche { fill: #f2f4f8; }
.iga .iga-k-grund { opacity: .9; }
.iga .iga-karte-quelle { max-width: 460px; margin: 6px auto 0; font-size: 13px; line-height: 1.4; color: #6b7380; }
.iga .iga-karte-quelle a { color: inherit; text-decoration: underline; }
.iga .iga-k-ring { fill: none; stroke: #c3cad6; stroke-width: 1.5; stroke-dasharray: 6 6; }
.iga .iga-k-ringtext { fill: #6b7380; font-size: 17px; }
.iga .iga-k-nord { fill: #6b7380; font-size: 16px; font-weight: 700; }
.iga .iga-k-nordpfeil { fill: #6b7380; }
.iga .iga-k-ort circle.iga-k-treffer, .iga .iga-k-ort:hover circle.iga-k-treffer, .iga .iga-k-ort.iga-k-aktiv circle.iga-k-treffer { fill: transparent; fill-opacity: 1; stroke: none; }
.iga .iga-k-ort circle:not(.iga-k-treffer) { fill: #1f4798; fill-opacity: .62; stroke: #fff; stroke-width: 2; transition: fill-opacity .15s; }
.iga .iga-k-ort:hover circle:not(.iga-k-treffer), .iga .iga-k-ort:focus-visible circle:not(.iga-k-treffer) { fill-opacity: .95; }
.iga .iga-k-ort:focus-visible { outline: none; }
.iga .iga-k-ort:focus-visible circle:not(.iga-k-treffer) { stroke: #161922; stroke-width: 3; }
.iga .iga-k-ort.iga-k-aktiv circle:not(.iga-k-treffer) { fill: #161922; fill-opacity: 1; }
/* Fährt man über ein Angebot in der Liste, leuchten seine Orte auf der Karte auf, die übrigen treten zurück. */
.iga .iga-karte.iga-k-zeigt .iga-k-ort circle:not(.iga-k-treffer) { fill-opacity: .22; }
.iga .iga-karte.iga-k-zeigt .iga-k-ort.iga-k-hell circle:not(.iga-k-treffer) { fill: #1f4798; fill-opacity: 1; stroke: #161922; stroke-width: 3; }
.iga .iga-karte.iga-k-zeigt .iga-k-name { opacity: .45; }
.iga .iga-k-name { fill: var(--iga-dunkel); font-size: 19px; paint-order: stroke; stroke: #f2f4f8; stroke-width: 5px; stroke-linejoin: round; pointer-events: none; }
.iga .iga-k-name.iga-k-aktiv { font-weight: 700; }
/* Zeigt man auf einen Ort (Punkt oder Zeile der Liste), treten sein Punkt und sein Name hervor, alles andere wird blass. */
.iga .iga-karte.iga-k-fokus .iga-k-name { opacity: .3; }
.iga .iga-karte.iga-k-fokus .iga-k-ort circle:not(.iga-k-treffer) { fill-opacity: .22; }
.iga .iga-karte.iga-k-fokus .iga-k-name.iga-k-hervor { opacity: 1; font-weight: 700; fill: #1f4798; stroke-width: 6px; }
.iga .iga-karte.iga-k-fokus .iga-k-ort.iga-k-hervor circle:not(.iga-k-treffer) { fill: #1f4798; fill-opacity: 1; stroke: #161922; stroke-width: 3; }
.iga .iga-karte.iga-k-fokus .iga-k-tipp .iga-k-name { opacity: 1; }
.iga .iga-k-zahl { fill: var(--iga-schule); font-weight: 700; }
.iga .iga-k-kasten { fill: #fff; stroke: #c3cad6; stroke-width: 1; pointer-events: none; }
.iga .iga-k-tipp { pointer-events: none; }
.iga .iga-k-tipp .iga-k-name { stroke: #fff; }
.iga .iga-karte .iga-k-ringtext.iga-k-verdeckt, .iga .iga-karte .iga-k-name.iga-k-verdeckt, .iga .iga-karte.iga-k-fokus .iga-k-name.iga-k-verdeckt { opacity: 0; }
.iga .iga-k-schule { fill: #b32d2e; stroke: #fff; stroke-width: 2; pointer-events: none; } /* Klicks gehen an den Punkt Guxhagen darunter */
.iga .iga-karte-text { max-width: 460px; margin: 10px auto 0; font-size: 15px; line-height: 1.45; color: var(--iga-text); }

@media (min-width: 900px) {
	.iga.iga-mit-karte .iga-haupt {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(300px, 42%);
		gap: 0 48px;
		align-items: start;
	}
	.iga .iga-karte-box { margin: 0; }
}
/* PC: Die Karte bleibt beim Scrollen durch die Liste stehen, direkt unter der festen Kopfleiste
   (deren Höhe misst das Skript, auch mit der Admin-Leiste). Auf niedrigen Bildschirmen wird sie dafür kleiner. */
@media (min-width: 900px) {
	/* Die Spalte der Karte reicht bis zum Ende der Liste; Erklärung und Quellenangabe stehen über der Karte,
	   damit die Karte selbst bis zur letzten Zeile mitwandern kann. */
	.iga .iga-karte-box { align-self: stretch; display: flex; flex-direction: column; }
	.iga .iga-karte-text { order: -2; margin: 0 auto 4px; }
	.iga .iga-karte-quelle { order: -1; margin: 0 auto 14px; }
}
@media (min-width: 900px) and (min-height: 480px) {
	.iga .iga-karte-rahmen { position: sticky; top: var(--iga-oben, 140px); }
	.iga .iga-karte { max-height: calc(100vh - var(--iga-oben, 140px) - 16px); }
}
@media (max-width: 899px) {
	.iga.iga-js .iga-reiter { display: none; }
	.iga.iga-js .iga-feld-beruf { display: flex; }
	.iga.iga-js .iga-karte-knopf { display: block; }
	.iga.iga-js .iga-karte-box:not(.iga-karte-auf) .iga-karte-rahmen,
	.iga.iga-js .iga-karte-box:not(.iga-karte-auf) .iga-karte-text { display: none; }
	.iga .iga-karte-rahmen { margin-top: 16px; }
	.iga .iga-feld-suche { flex-basis: 100%; max-width: none; }
	.iga .iga-feld:not(.iga-feld-suche) { flex: 1 1 140px; }
	.iga .iga-feld select { min-width: 0; }
}

@media (max-width: 600px) {
	.iga .iga-filter { gap: 10px 12px; }
	.iga .iga-km { flex-basis: 50px; height: 50px; }
	.iga .iga-km-zahl { font-size: 19px; }
	.iga .iga-titel { font-size: 17px; }
	.iga .iga-z { font-size: 15px; }
	.iga .iga-mehr { width: 100%; }
	.iga .iga-blatt { min-width: 0; padding: 0 14px; }
	.iga .iga-stelle { font-size: 15px; }
	.iga .iga-karte-knopf { font-size: 16px; }
	.iga .iga-k-name { font-size: 22px; }
	.iga .iga-k-ringtext { font-size: 20px; }
}
