/* frei-entfalten Inhalte – Ausgabe der Shortcodes.
   Schrift und Grundfarben kommen vom Enfold-Theme. */

:root {
	--fe-akzent: #2e6b70;
	--fe-hell: #f3f6f7;
	--fe-linie: #dfe5e8;
	--fe-dunkel: #2b2b2b;
}

/* Buttons */
.fe-button,
.fe-button:visited {
	display: inline-block;
	background: var(--fe-akzent);
	color: #fff !important;
	padding: 14px 28px;
	border-radius: 6px;
	text-decoration: none !important;
	text-align: center;
	line-height: 1.3;
	border: 1.5px solid var(--fe-akzent);
	transition: opacity .2s;
}
.fe-button:hover { opacity: .88; }
.fe-button--rahmen,
.fe-button--rahmen:visited {
	background: transparent;
	color: var(--fe-akzent) !important;
}

/* Kurse */
.fe-kurse { display: grid; gap: 32px; }
.fe-kurs {
	border: 1px solid var(--fe-linie);
	border-radius: 10px;
	padding: 32px 40px 40px;
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 36px;
}
.fe-kurs .fe-kurs__titel { margin: 20px 0 12px !important; padding: 0 !important; }
.fe-kurs__motto { font-style: italic; color: var(--fe-akzent); margin: 0 0 14px; }
.fe-badge {
	display: inline-block;
	background: var(--fe-akzent);
	color: #fff;
	border: 1.5px solid var(--fe-akzent);
	font-size: 13px;
	line-height: 1.6;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 4px 14px;
	margin: 0;
	border-radius: 999px;
}
.fe-badge--rahmen {
	background: transparent;
	color: var(--fe-akzent);
}
.fe-kurs__seite {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-self: start;
}
.fe-kurs__bild { margin: 0; }
.fe-kurs__bild img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
}
.fe-kurs__box {
	background: var(--fe-hell);
	border-radius: 8px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-self: start;
}
.fe-kurs__box dl,
.fe-kontakt {
	margin: 0;
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 10px 16px;
}
.fe-kurs__box dt,
.fe-kontakt dt { color: var(--fe-dunkel); font-weight: 600; }
.fe-kurs__box dd,
.fe-kontakt dd { margin: 0; }
.fe-kurs__hinweis { margin: 0; font-size: .9em; }
.fe-kurs__storno { margin: 4px 0 0; font-size: .8em; line-height: 1.5; opacity: .85; }

@media (max-width: 767px) {
	.fe-kurs { grid-template-columns: 1fr; padding: 24px; }
}

/* Preisstufen */
.fe-preise { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fe-preise li { margin: 0; padding: 0; }
.fe-preise li::before { content: none; }
.fe-preise__stufe { display: block; font-size: .92em; }
.fe-preise__betrag { display: block; font-weight: 600; color: var(--fe-dunkel); }

/* Nächster Kurs (Teaser) */
.fe-naechster__label { font-weight: 600; color: var(--fe-dunkel); }

/* Häufige Fragen */
.fe-faq { display: grid; gap: 12px; }
.fe-faq__item {
	background: #fff;
	border: 1px solid var(--fe-linie);
	border-radius: 8px;
	padding: 18px 22px;
}
.fe-faq__item summary {
	cursor: pointer;
	color: var(--fe-dunkel);
	font-weight: 600;
	list-style: none;
	position: relative;
	padding-right: 28px;
}
.fe-faq__item summary::-webkit-details-marker { display: none; }
.fe-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: -2px;
	font-size: 1.4em;
	color: var(--fe-akzent);
}
.fe-faq__item[open] summary::after { content: "–"; }
.fe-faq__antwort { margin-top: 12px; }
.fe-faq__antwort p:last-child { margin-bottom: 0; }

/* Footer – volle Bildschirmbreite, Inhalt so breit wie Enfold */
html:has(.fe-footer) { overflow-x: clip; }
.fe-footer {
	position: relative;
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
	background: linear-gradient(180deg, #a0b6c1 0%, #b7c9d1 100%);
	color: #fff;
	padding: 48px 0 56px;
}
.fe-footer__inner {
	max-width: var(--fe-container, 1310px);
	display: grid;
	grid-template-columns: minmax(80px, 1fr) minmax(0, 2fr) minmax(0, 1.5fr);
	gap: 32px 48px;
	align-items: start;
}
.fe-footer__logo { display: flex; justify-content: center; padding-top: 8px; }
.fe-footer__logo img {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #fff;
}
.fe-footer__spalte { min-width: 0; overflow-wrap: anywhere; }
.fe-footer .fe-footer__titel {
	color: #1d3557 !important;
	font-size: 1.35em;
	font-weight: 400;
	line-height: 1.3;
	margin: 0 0 14px !important;
	padding: 0;
	letter-spacing: .02em;
}
.fe-footer p { color: #fff; margin: 0 0 18px; line-height: 1.6; }
.fe-footer p:last-child { margin-bottom: 0; }
.fe-footer a,
.fe-footer a:visited { color: #e3edf2; text-decoration: none; }
.fe-footer a:hover { color: #fff; text-decoration: underline; }

/* Tablet: Logo über der Zeile, zwei Spalten darunter */
@media (max-width: 1024px) {
	.fe-footer__inner { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
	.fe-footer__logo { grid-column: 1 / -1; justify-content: flex-start; padding-top: 0; }
}
/* Handy: alles untereinander, zentriert */
@media (max-width: 767px) {
	.fe-footer { padding: 40px 0 44px; }
	.fe-footer__inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
	.fe-footer__logo { justify-content: center; }
}

/* Seitenkopf – immer über die volle Bildschirmbreite, auch in Enfold-Containern */
html:has(.fe-kopf) { overflow-x: clip; }
.fe-kopf {
	position: relative;
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
	background-color: #e9eef1;
	background-size: cover;
	background-position: center;
	padding: 88px 0;
}
.fe-kopf::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--fe-abblenden, transparent);
	pointer-events: none;
}
.fe-kopf__inner {
	position: relative;
	z-index: 1;
	max-width: var(--fe-container, 1310px);
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 56px;
}
.fe-kopf__kreise { position: relative; flex: none; margin-top: -32px; } /* Kreise beginnen etwas über der Überschrift */
.fe-kopf__kreis {
	position: absolute;
	display: block;
	border-radius: 50%;
	overflow: hidden;
}
.fe-kopf__kreis img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fe-kopf__kreis--unten { z-index: 1; }
.fe-kopf__kreis--oben { z-index: 2; }
.fe-kopf__text { flex: 1; min-width: 0; text-align: center; }
.fe-kopf .fe-kopf__titel {
	color: #1d3557 !important;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-weight: 300;
	font-size: clamp(24px, 3vw, 40px);
	line-height: 1.25;
	margin: -0.12em 0 18px !important; /* Oberlänge ausgleichen: Schrift beginnt bündig mit dem Kreis */
	padding: 0;
}
.fe-kopf__untertitel {
	color: #1d3557;
	font-size: 1.15em;
	letter-spacing: .02em;
	margin: 0;
}

/* Tablet: Kreise etwas kleiner, weiter nebeneinander */
@media (max-width: 1024px) {
	.fe-kopf { padding: 64px 0; }
	.fe-kopf__inner { gap: 32px; }
	.fe-kopf__kreise { zoom: .75; }
}
/* Handy: Kreise über dem Text */
@media (max-width: 767px) {
	.fe-kopf { padding: 40px 0 48px; }
	.fe-kopf__inner { flex-direction: column; align-items: center; gap: 24px; }
	.fe-kopf__kreise { margin-top: 0; }
	.fe-kopf__kreise { zoom: .6; }
}

/* Inhaltsbreite wie Enfold: Containerbreite + 50px Seitenabstand, am Handy 85 % */
.fe-kopf__inner,
.fe-footer__inner {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 50px;
	padding-right: 50px;
	box-sizing: border-box;
}
@media (max-width: 767px) {
	.fe-kopf__inner,
	.fe-footer__inner {
		width: 85%;
		padding-left: 0;
		padding-right: 0;
	}
}
