/* EFC Kursplan & Probetraining – Frontend
 * Farben über CSS-Variablen anpassbar (z. B. im Theme: .efc-kp { --efc-bg: #fff; }).
 */
.efc-kp {
	--efc-red: #E30613;
	--efc-red-dark: #B5000B;
	--efc-red-text: #FF4D57;
	--efc-bg: #0B0B0C;
	--efc-panel: #121214;
	--efc-card: #1C1C1F;
	--efc-card-hover: #262629;
	--efc-line: #2A2A2D;
	--efc-text: #FFFFFF;
	--efc-muted: #A8A8A8;
	--efc-faint: #8C8C8C;
	--efc-kids: #F5C400;
	--efc-jugend: #FF8A3D;
	--efc-fit: #3A3A3D;
	--efc-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--efc-pad: clamp(16px, 3vw, 32px);
	background: var(--efc-bg);
	color: var(--efc-text);
	padding: var(--efc-pad);
	font-size: 16px;
	line-height: 1.5;
	box-sizing: border-box;
}
.efc-kp *, .efc-kp *::before, .efc-kp *::after { box-sizing: inherit; }
.efc-kp [hidden] { display: none !important; }
.efc-ic { flex-shrink: 0; vertical-align: middle; }
.efc-flip { transform: rotate(180deg); }
.efc-kp .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Tags */
.efc-tag { display: inline-block; align-self: flex-start; font-family: var(--efc-display); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 800; padding: 4px 9px; line-height: 1.3; }
.efc-tag--kids { background: var(--efc-kids); color: #0B0B0C; }
.efc-tag--jugend { background: var(--efc-jugend); color: #0B0B0C; }
.efc-tag--adult { background: var(--efc-red); color: #FFFFFF; }
.efc-tag--frauen { background: #FFFFFF; color: #0B0B0C; }
.efc-tag--fit { background: var(--efc-fit); color: #FFFFFF; }

/* Buttons */
.efc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border: 0; cursor: pointer; text-decoration: none; background: #FFFFFF; color: #0B0B0C; font-family: var(--efc-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 19px; letter-spacing: .05em; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.efc-btn:hover, .efc-btn:focus-visible { background: #D9D9D9; color: #0B0B0C; }
.efc-btn--red { background: var(--efc-red); color: #FFFFFF; }
.efc-btn--red:hover, .efc-btn--red:focus-visible { background: var(--efc-red-dark); color: #FFFFFF; }
.efc-btn[disabled] { opacity: .6; cursor: wait; }
.efc-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; background: none; border: 0; cursor: pointer; color: var(--efc-text); font-family: var(--efc-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 16px; text-decoration: none; }
.efc-link:hover { color: var(--efc-red-text); }
.efc-kp :focus-visible { outline: 2px solid var(--efc-red); outline-offset: 2px; }

/* ---------- Kursplan ---------- */
.efc-kp-filters { display: flex; flex-direction: column; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--efc-line); margin-bottom: 18px; }
.efc-kp-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.efc-kp-filter-label { width: 90px; font-family: var(--efc-display); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; font-weight: 700; color: var(--efc-faint); }
.efc-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #3A3A3D; background: #161618; color: #E8E8E8; font-family: var(--efc-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 16px; cursor: pointer; }
.efc-chip:hover { border-color: var(--efc-faint); }
.efc-chip.is-on { background: #FFFFFF; color: #0B0B0C; border-color: #FFFFFF; }
.efc-kp-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.efc-kp-count { margin: 0; font-size: 15px; color: var(--efc-muted); }
.efc-kp-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.efc-kp-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 10px; }
.efc-kp-day { background: var(--efc-panel); display: flex; flex-direction: column; min-width: 0; }
.efc-kp-day.is-today { box-shadow: inset 0 0 0 2px var(--efc-red); }
.efc-kp-day-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 16px 16px 14px; border-bottom: 1px solid #242427; }
.efc-kp-day-head h3 { margin: 0; font-family: var(--efc-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); line-height: .9; color: var(--efc-text); overflow-wrap: anywhere; }
.efc-kp-list { padding: 10px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.efc-kp-card { display: flex; flex-direction: column; gap: 7px; padding: 14px; background: var(--efc-card); color: var(--efc-text); text-decoration: none; }
a.efc-kp-card:hover { background: var(--efc-card-hover); color: var(--efc-text); }
.efc-kp-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.efc-kp-time { font-family: var(--efc-display); font-style: italic; font-weight: 900; font-size: 24px; line-height: 1; }
.efc-kp-time small { font-size: 16px; font-weight: 700; color: var(--efc-faint); }
.efc-kp-sport { color: var(--efc-red); display: inline-flex; }
.efc-kp-title { font-weight: 600; font-size: 16px; line-height: 1.25; }
.efc-kp-info { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--efc-muted); }
.efc-kp-book { display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; font-family: var(--efc-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: 13px; color: var(--efc-faint); }
a.efc-kp-card:hover .efc-kp-book { color: var(--efc-red-text); }
.efc-kp-empty { margin: 0; padding: 18px 8px; text-align: center; font-size: 14px; color: var(--efc-faint); }
.efc-kp-today-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.efc-kp-today .efc-kp-card { background: #161618; padding: 20px; min-height: 180px; }
.efc-kp-today .efc-kp-time { font-size: 34px; }
.efc-kp-today .efc-kp-book { margin-top: auto; }

/* ---------- Probetraining ---------- */
.efc-pt { max-width: 1040px; }
.efc-pt-steps { list-style: none; margin: 0 0 28px; padding: 0 0 22px; display: flex; flex-wrap: wrap; gap: 14px 30px; border-bottom: 1px solid #242427; }
.efc-pt-steps li { display: flex; gap: 10px; align-items: center; margin: 0; font-family: var(--efc-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: 16px; color: var(--efc-faint); }
.efc-pt-steps li span { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 2px solid #3A3A3D; }
.efc-pt-steps li em { font-style: normal; }
.efc-pt-steps li.is-on { color: var(--efc-text); }
.efc-pt-steps li.is-on span { background: var(--efc-red); border-color: var(--efc-red); color: #FFFFFF; }
.efc-pt-steps li.is-done { color: #BDBDBD; }
.efc-pt-steps li.is-done span { background: #FFFFFF; border-color: #FFFFFF; color: #0B0B0C; }
.efc-pt-h { margin: 0 0 22px; font-family: var(--efc-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 40px; line-height: .95; color: var(--efc-text); }
.efc-pt-msg { margin: 0 0 20px; padding: 14px 18px; background: #2A0F11; border: 1px solid var(--efc-red); color: #FFFFFF; }
.efc-pt-group { margin-bottom: 30px; }
.efc-pt-group-head { display: flex; gap: 12px; align-items: center; margin: 0 0 12px; font-size: 14px; color: var(--efc-faint); }
.efc-pt-courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.efc-pt-course { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; background: #161618; border: 1px solid var(--efc-line); color: var(--efc-text); padding: 18px; cursor: pointer; font: inherit; }
.efc-pt-course:hover { border-color: var(--efc-red); background: var(--efc-card); }
.efc-pt-course-ic { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--efc-red); color: #FFFFFF; }
.efc-pt-course-txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.efc-pt-course-txt strong { font-size: 17px; }
.efc-pt-course-txt span { font-size: 14px; color: var(--efc-muted); }
.efc-pt-course-txt small { font-size: 13.5px; color: var(--efc-faint); }
.efc-pt-selected { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.efc-pt-selected > div { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; }
.efc-pt-selected strong { font-family: var(--efc-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 32px; line-height: .95; }
.efc-pt-selected span { font-size: 14px; color: var(--efc-muted); }
.efc-pt-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; }
.efc-pt-slot { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; min-height: 56px; text-align: left; background: #161618; border: 1px solid var(--efc-line); color: var(--efc-text); padding: 16px 18px; cursor: pointer; font: inherit; }
.efc-pt-slot:hover { border-color: var(--efc-red); background: var(--efc-card); }
.efc-pt-slot .efc-tag { white-space: nowrap; flex-shrink: 0; }
.efc-pt-slot:disabled { cursor: not-allowed; opacity: .5; }
.efc-pt-slot:disabled:hover { border-color: var(--efc-line); background: #161618; }
.efc-pt-slot-when { display: flex; gap: 14px; align-items: center; }
.efc-pt-slot-when .efc-ic { color: var(--efc-red); }
.efc-pt-slot-when b { display: block; font-size: 17px; }
.efc-pt-slot-when i { display: block; font-style: normal; font-size: 14px; color: var(--efc-muted); }
.efc-pt-note { display: flex; gap: 8px; align-items: center; margin: 18px 0 0; font-size: 14px; color: var(--efc-faint); }
.efc-pt-cols { display: flex; flex-wrap: wrap-reverse; gap: 30px; align-items: flex-end; }
.efc-pt-form { flex: 1.6 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.efc-pt-row, .efc-pt-kid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.efc-pt-kid { background: #161618; padding: 18px; }
.efc-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: #D0D0D0; }
.efc-field input, .efc-field select { width: 100%; background: #161618; border: 1px solid #333336; border-radius: 0; color: #FFFFFF; padding: 14px 16px; min-height: 50px; font: inherit; font-size: 16px; }
.efc-field input:focus, .efc-field select:focus { outline: 2px solid var(--efc-red); outline-offset: 0; border-color: var(--efc-red); }
.efc-field.has-error input, .efc-field.has-error select { border-color: var(--efc-red-text); }
.efc-field-error { font-size: 13.5px; font-weight: 500; color: var(--efc-red-text); }
.efc-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--efc-muted); }
.efc-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--efc-red); flex-shrink: 0; }
.efc-check a { color: #FFFFFF; }
.efc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.efc-pt-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.efc-pt-summary { flex: 1 1 280px; min-width: 0; background: #161618; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.efc-pt-summary p { display: flex; gap: 12px; align-items: center; margin: 0; font-size: 16px; color: #D0D0D0; }
.efc-pt-summary .efc-ic { color: var(--efc-red); }
.efc-pt-summary .efc-pt-course-ic .efc-ic { color: #FFFFFF; }
.efc-pt-summary-label { font-family: var(--efc-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: 15px; color: var(--efc-red-text) !important; }
.efc-pt-summary-course { display: flex; gap: 14px; align-items: center; }
.efc-pt-summary-course strong { font-family: var(--efc-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: .95; }
.efc-pt-summary .efc-pt-bring { display: block; border-top: 1px solid var(--efc-line); padding-top: 14px; font-size: 14.5px; color: var(--efc-muted); }
.efc-pt-done { background: #161618; padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.efc-pt-done h2 { margin: 0; font-family: var(--efc-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 52px; line-height: .95; color: var(--efc-text); }
.efc-pt-done p { margin: 0; font-size: 18px; color: #D0D0D0; max-width: 620px; }
.efc-pt-done-ic { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; background: var(--efc-red); color: #FFFFFF; }
.efc-pt-done-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; width: 100%; }
.efc-pt-done-list li { display: flex; gap: 12px; align-items: center; margin: 0; padding: 18px; background: var(--efc-bg); font-size: 15px; color: #BDBDBD; }
.efc-pt-done-list .efc-ic { color: var(--efc-red); }
.efc-pt-loading { padding: 24px; color: var(--efc-muted); }

@media (max-width: 600px) {
	.efc-kp-filter-label { width: 100%; }
	.efc-pt-h { font-size: 32px; }
	.efc-pt-done h2 { font-size: 40px; }
	.efc-pt-steps li em { display: none; }
}

.efc-kp .efc-field textarea{width:100%;min-height:84px;padding:12px 14px;border:1px solid #3A3A3D;background:#0F0F11;color:#fff;font:inherit;border-radius:0;resize:vertical}
.efc-kp .efc-field textarea:focus{outline:2px solid #E30613;border-color:#E30613}
