/* Ballettschule On Point e.V. — eigenes Theme (Fork des YJAR-Basis-Themes).
   Palette: tiefes Navy, warmes Gold, sanftes Blush als dritter Akzent —
   bewusst wärmer/persönlicher als ein Corporate-Blau-Weiß-Schema. */
:root {
	--navy: #2a2146;
	--navy-2: #3a2f5e;
	--turquoise: #58b7b1;
	--turquoise-light: #8fd4cf;
	--gold: #e1b24b;
	--gold-light: #f0c364;
	--gold-ink: #8a6410;
	--blush: #f4f1e9;
	--ink: #4b4b52;
	--paper: #ffffff;
	--soft: #f4f1e9;
	--line: #d9d6cf;
	--wrap: 1120px;
	--font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-display: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
	--font-accent: "Playfair Display", Georgia, serif;
	--shadow-sm: 0 2px 10px rgba(42, 33, 70, .07);
	--shadow-md: 0 16px 40px rgba(42, 33, 70, .14);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-ink); }
img { max-width: 100%; height: auto; display: block; }

/* Preview */
.preview-bar { background: var(--gold); color: var(--navy); text-align: center; font-weight: 600; padding: 8px 12px; font-size: 14px; }

/* Header */
.site-header {
	background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
	box-shadow: var(--shadow-sm);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; flex-wrap: nowrap; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__mark { width: 52px; height: 52px; display: inline-flex; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

.menu { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; flex-wrap: nowrap; white-space: nowrap; }
.menu__item a {
	display: inline-block; padding: 8px 11px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--navy);
	transition: background .15s ease, color .15s ease;
}
.menu__item a:hover { background: var(--blush); color: var(--gold-ink); }

.btn--nav { padding: 9px 20px; font-size: 14px; background: var(--gold); color: var(--navy); box-shadow: none; flex: none; }
.btn--nav:hover { background: var(--navy); color: #fff; transform: none; }

.lang-switch { display: flex; gap: 2px; margin-left: 8px; }
.lang-switch__item { display: inline-block; padding: 6px 9px; border-radius: 6px; font-weight: 700; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--navy); border: 1px solid var(--line); }
.lang-switch__item:hover { background: var(--soft); }
.lang-switch__item.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Main */
.site-main { padding: 0 0 0; }
.page__title, .post__title { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: clamp(2rem, 4.4vw, 2.9rem); line-height: 1.15; margin: 56px 0 24px; }
.page > .page__title, .post > .post__title { margin-left: auto; margin-right: auto; }
.content { font-size: 17.5px; }
.content > p, .content > ul, .content > ol { max-width: 760px; }

/* Reine Textseiten (Über uns, Kontakt, Rechtstexte, …) ohne Hero: Lesespalte
   zentrieren statt am linken Rand entlanglaufen zu lassen. */
.page:not(:has(.hero)) > .page__title,
.page:not(:has(.hero)) > .content { max-width: 780px; margin-left: auto; margin-right: auto; }
.page:not(:has(.hero)) > .content > p,
.page:not(:has(.hero)) > .content > ul,
.page:not(:has(.hero)) > .content > ol { max-width: none; }
.content p { margin: 0 0 1.15em; }
.content h1 { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: clamp(2rem, 4.4vw, 2.9rem); margin: 0 0 .6em; }
.content h2 { font-family: var(--font-display); font-weight: 800; color: var(--navy); margin: 0 0 .6em; font-size: clamp(1.5rem, 3vw, 2rem); }
.content h3 { color: var(--navy); font-family: var(--font-display); font-weight: 700; }
.content .lead { font-size: 1.28em; color: var(--navy); }
.content a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.content ul, .content ol { padding-left: 1.3em; }
.content li { margin: .35em 0; }
.content blockquote { border-left: 3px solid var(--gold); margin: 1.2em 0; padding: .4em 0 .4em 1.2em; color: var(--navy); background: var(--soft); border-radius: 0 10px 10px 0; }
.content figure { margin: 1.4em 0; }
.content figure img { border-radius: 16px; box-shadow: var(--shadow-md); }

.btn, .content .btn {
	display: inline-block; background: var(--navy); color: #fff; text-decoration: none;
	padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
	transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
	box-shadow: 0 6px 18px rgba(20,33,61,.18);
}
.btn:hover, .content .btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(213,155,39,.35); }
.btn-outline, .content .btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; }
.btn-outline:hover, .content .btn-outline:hover { background: var(--navy); color: #fff; }

/* ── Hero (Startseite) ─────────────────────────────────────────────── */
.hero {
	position: relative; margin: 0 calc(50% - 50vw); padding: 148px 22px 110px;
	background:
		linear-gradient(180deg, rgba(20,33,61,.58) 0%, rgba(20,33,61,.72) 55%, rgba(20,33,61,.92) 100%),
		url('/media/hero-fuesse-v3.jpg') center 55% / cover no-repeat;
	color: #fff; text-align: center; overflow: hidden;
}
.hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
	background: var(--paper); border-radius: 60% 60% 0 0 / 100% 100% 0 0;
}
.hero::before {
	content: ""; position: absolute; top: -12%; right: -8%; width: 46%; padding-bottom: 46%;
	background: radial-gradient(circle, rgba(88,183,177,.35), rgba(88,183,177,0) 70%);
	border-radius: 50%; pointer-events: none;
}
.hero__eyebrow { display: inline-block; font-family: var(--font-accent); font-style: italic; font-size: 16px; letter-spacing: .02em; text-transform: none; color: var(--turquoise-light); font-weight: 600; margin-bottom: 18px; position: relative; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 6.4vw, 4.2rem); margin: 0 0 18px; color: #fff; letter-spacing: -.01em; }
.hero .lead { max-width: 620px; margin: 0 auto 34px; font-size: 1.22rem; color: #eef1f6; line-height: 1.6; }
.hero .btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ── Content sections (Startseite / Kursangebot / Events) ─────────── */
.content section { padding: 76px 0; margin: 0 calc(50% - 50vw); }
.content section > .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.content section:not(.hero):nth-of-type(odd) { background: var(--soft); }
.content section .section-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.content .eyebrow { display: block; font-family: var(--font-accent); font-style: italic; font-size: 17px; color: var(--turquoise); font-weight: 600; margin-bottom: 6px; }
.content section h2 { text-align: center; margin: 0 auto .5em; }
.content section > p.section-lead { text-align: center; max-width: 640px; margin: 0 auto 2.2em; font-size: 1.08em; }

/* Werte-Leiste (Leidenschaft / Gemeinschaft / Qualität / Vielfalt) */
.values-band { background: var(--navy) !important; padding: 40px 0 !important; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.value { display: flex; align-items: flex-start; gap: 14px; color: #fff; }
.value__icon {
	flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(225,178,75,.16);
	color: var(--gold-light); display: flex; align-items: center; justify-content: center;
}
.icon { width: 20px; height: 20px; display: block; }
.value__icon .icon, .card__icon .icon { width: 22px; height: 22px; }
.age__badge .icon { width: 32px; height: 32px; }
.value strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.02em; margin-bottom: 3px; }
.value p { margin: 0; font-size: .92em; color: #cdd6e6; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 2em; }
.card {
	background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px;
	box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin: 0 0 10px; font-family: var(--font-display); color: var(--navy); font-size: 1.2rem; }
.card p { margin: 0; font-size: .98em; }
.card__icon {
	width: 52px; height: 52px; border-radius: 50%; background: var(--blush);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 22px;
}
.cards--center { text-align: center; }
.cards--center .card { text-align: center; }
/* Icon-Badges wechseln reihum die Akzentfarbe (Turquoise/Gold/Navy) statt immer gleich zu sein */
.cards .card:nth-child(3n+1) .card__icon { background: rgba(88,183,177,.18); }
.cards .card:nth-child(3n+2) .card__icon { background: rgba(225,178,75,.2); }
.cards .card:nth-child(3n+3) .card__icon { background: rgba(42,33,70,.08); }

/* Altersgruppen-Streifen ("Für wen") */
.age-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 22px; margin-top: 2em; }
.age-strip .age { text-align: center; }
.age__badge {
	width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center;
	justify-content: center; font-size: 28px; color: #fff; box-shadow: var(--shadow-sm);
}
.age:nth-child(3n+1) .age__badge { background: linear-gradient(135deg, var(--turquoise), var(--turquoise-light)); }
.age:nth-child(3n+2) .age__badge { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); }
.age:nth-child(3n+3) .age__badge { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.age strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.age p { margin: 0; font-size: .92em; color: var(--ink); }

/* Event-Highlight-Band (dunkel, mit Blob-Akzent) */
.highlight-band {
	position: relative; overflow: hidden; border-radius: 24px; padding: 72px 40px; color: #fff; text-align: center;
	background:
		linear-gradient(135deg, rgba(42,33,70,.88), rgba(58,47,94,.82)),
		url('/media/folklore-banner.jpg') center 30% / cover no-repeat;
}
.highlight-band::before {
	content: ""; position: absolute; bottom: -20%; left: -10%; width: 50%; padding-bottom: 50%;
	background: radial-gradient(circle, rgba(225,178,75,.22), rgba(225,178,75,0) 70%); border-radius: 50%;
}
.highlight-band h2, .highlight-band p { color: #fff; position: relative; }
.highlight-band .eyebrow { color: var(--gold-light); position: relative; }
.highlight-band .btn { background: var(--gold); color: var(--navy); position: relative; }
.highlight-band .btn:hover { background: var(--gold-light); }

.cta-band {
	background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; text-align: center;
	border-radius: 24px; padding: 56px 32px; margin: 0 24px;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn { background: var(--gold); color: var(--navy); }
.cta-band .btn:hover { background: var(--gold-light); }

.content section + section { margin-top: 0; }
.page:has(.hero) > .page__title { display: none; }
.page:has(.hero) .content { font-size: 17.5px; }

.directions-card {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	background: var(--soft); border-radius: 18px; padding: 26px 30px; margin-top: 1.4em;
}
.directions-card strong { font-family: var(--font-display); color: var(--navy); }
.directions-card p { margin: 2px 0 0; }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; margin-top: 2em; }
.partner {
	display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
	background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 20px;
	box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--navy); }
.partner img { max-height: 60px; width: auto; max-width: 100%; }
.partner span { font-weight: 600; color: var(--navy); font-size: .95em; }

.job-card {
	display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start;
	background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px;
	margin: 2em 0; box-shadow: var(--shadow-sm);
}
.job-card__img { width: 100%; border-radius: 12px; }
.job-card h2 { margin-top: 0; }
@media (max-width: 620px) { .job-card { grid-template-columns: 1fr; } .job-card__img { max-width: 200px; margin: 0 auto; } }

.team-member { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; margin: 1em 0; box-shadow: var(--shadow-sm); display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.team-member img { border-radius: 50%; box-shadow: var(--shadow-sm); }
.team-member h3 { margin: 0 0 4px; font-family: var(--font-display); }
.team-member p { margin: 0; color: var(--ink); }

/* Gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 1.6em; }
.gallery-grid img { width: 100%; height: 240px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.gallery-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }

/* Post meta + list */
.post__meta, .postcard__meta { color: var(--ink); font-size: 14px; }
.postlist { display: grid; gap: 22px; margin-top: 40px; }
.postcard { border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; transition: box-shadow .18s ease, transform .18s ease; background: var(--paper); box-shadow: var(--shadow-sm); }
.postcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.postcard__title { margin: 4px 0 8px; font-size: 1.4rem; font-family: var(--font-display); }
.postcard__title a { color: var(--navy); }
.postcard__title a:hover { color: var(--gold-ink); }
.postcard__excerpt { margin: 0 0 10px; }
.postcard__more { font-weight: 600; color: var(--gold-ink); }
.postcard__thumb { display: block; margin: 0 0 14px; border-radius: 12px; overflow: hidden; }
.postcard__thumb img { display: block; width: 100%; height: 220px; object-fit: cover; }

/* Featured image (single page/post) */
.post__image, .page > .post__image {
	width: 100%; max-height: 440px; object-fit: cover; border-radius: 18px; margin: 0 0 28px; box-shadow: var(--shadow-md);
}

/* Category / tag chips */
.post__cats, .post__tags { margin: 0 0 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
	display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
	background: var(--blush); color: var(--navy); text-decoration: none;
}
.chip:hover { background: var(--gold); color: var(--navy); }
.chip--tag { background: transparent; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.chip--tag:hover { border-color: var(--gold); color: var(--gold-ink); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.pagination__status { color: var(--ink); font-size: 14px; }
.pagination__prev, .pagination__next { font-weight: 600; color: var(--navy); }
.pagination__prev:hover, .pagination__next:hover { color: var(--gold-ink); }

/* 404 */
.notfound { text-align: center; padding: 90px 0; }
.notfound__code { font-size: 4.5rem; font-weight: 800; color: var(--gold); margin: 0; font-family: var(--font-display); }
.notfound h1 { color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: #cdd6e6; margin-top: 90px; }
.site-footer a { color: #cdd6e6; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.7; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer__claim { font-family: var(--font-accent); font-style: italic; color: var(--turquoise-light); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 15px; margin-top: 14px; }
.footer-logo { height: 64px; width: auto; margin-bottom: 4px; border-radius: 8px; background: #fff; padding: 4px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1fr 1fr; gap: 28px; padding-top: 56px; padding-bottom: 40px; }
.footer-col .menu { flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-col .menu__item a { padding: 2px 0; color: #cdd6e6; font-weight: 500; }
.footer-col .menu__item a:hover { background: none; color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; font-size: 13px; opacity: .85; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 820px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
	.footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
	.site-header .wrap { flex-wrap: wrap; }
	.menu { gap: 0; font-size: 14px; flex-wrap: wrap; white-space: normal; }
	.site-nav { order: 3; flex-basis: 100%; }
	.btn--nav { order: 2; }
}
@media (max-width: 760px) {
	.hero { padding: 120px 18px 90px; }
	.content section { padding: 56px 0; }
	.cta-band { margin: 0 12px; padding: 40px 22px; }
}
@media (max-width: 620px) {
	.team-member { flex-direction: column; text-align: center; }
}

/* Comments */
.comments { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.comments__title { color: var(--navy); margin: 0 0 16px; font-family: var(--font-display); }
.comments__empty { color: var(--ink); opacity: .8; }
.comments__hint { font-size: 13px; color: var(--ink); opacity: .75; margin: 8px 0 0; }
.comments__notice { padding: 10px 14px; border-radius: 10px; font-weight: 600; margin: 0 0 18px; }
.comments__notice--ok { background: #e3f3e8; color: #1c6b3a; }
.comments__notice--err { background: #fce4e2; color: #c0392b; }
.comments__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; }
.comment { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--soft); }
.comment__meta { margin: 0 0 6px; font-size: 13px; color: var(--ink); opacity: .8; }
.comment__body { margin: 0; white-space: pre-wrap; word-wrap: break-word; }

.comment-form { max-width: 560px; }
.comment-form label { display: block; font-weight: 600; color: var(--navy); font-size: 14px; margin: 14px 0 5px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px;
	font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.comment-form textarea { resize: vertical; line-height: 1.5; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(213,155,39,.18); }
.comment-form button { margin-top: 16px; border: none; cursor: pointer; }
.comment-form__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.yjar-form .form-field { margin: 14px 0; }
.yjar-form label { display: block; font-weight: 600; color: var(--navy); font-size: 14px; margin-bottom: 5px; }
.yjar-form input[type=text], .yjar-form input[type=email], .yjar-form textarea, .yjar-form select {
	width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px;
	font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.yjar-form textarea { resize: vertical; line-height: 1.5; min-height: 100px; }
.yjar-form .form-field--checkbox label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.yjar-form button { margin-top: 10px; border: none; cursor: pointer; }
