/*
Theme Name: MAXiN
Theme URI: https://maxin.ch
Author: MAXINMUSIC
Description: Schlankes Block-Theme für MAXiN – Liveband Schweiz. Ohne Page-Builder, ohne jQuery, Schriften lokal.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: maxin
*/

/* ---------- Fonts (lokal, kein Google-Request) ---------- */
@font-face { font-family: "DM Sans"; src: url(assets/fonts/dmsans.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(assets/fonts/dmsans-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url(assets/fonts/hostgrotesk.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--bg: #000;
	--surface: #121212;
	--surface-2: #1b1b1b;
	--line: #2a2a2a;
	--text: #fff;
	--muted: #a3a3a3;
	--soft: #d9d9d9;
	--cream: #f4f0ea;
	--wrap: 1080px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 14px;
	--font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Host Grotesk", "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 650; letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 .45em; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* WordPress setzt in Block-Layouts alle Abstände auf 0 – hier gezielt zurück. */
.mx-main p, .mx-main ul, .mx-main figure, .mx-main .wp-block-buttons { margin: 0 0 1em; }
.mx-main h1, .mx-main h2, .mx-main h3 { margin: 0 0 .45em; }
.mx-main * + h2, .mx-main * + h3 { margin-top: 1.5em; }
.mx-main .mx-eyebrow { margin-bottom: 14px; }
.mx-main .mx-eyebrow + :is(h1, h2, h3) { margin-top: 0; }
.mx-main .mx-hero > * { margin-left: 0; margin-right: 0; }
.mx-main .mx-lead { margin-bottom: 0; }
.mx-main :is(.mx-grid, .mx-tiles, .mx-reels, .mx-yt-grid, .mx-chips) { margin-top: 32px; }
.mx-main .mx-card :last-child, .mx-main .wp-block-details > :last-child { margin-bottom: 0; }
.mx-main .wp-block-details p { margin-bottom: 1em; }
.mx-main .mx-grid > .mx-card { margin: 0; }
.mx-main .mx-hero .wp-block-buttons, .mx-main .mx-cta .wp-block-buttons { margin-top: 28px; }

/* ---------- Layout helpers ---------- */
.wrap, .is-layout-constrained > .alignwide { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.mx-main > .wp-block-post-content > * { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.mx-main > .wp-block-post-content > .alignfull { width: 100%; }
.mx-main > .wp-block-post-content > .mx-narrow { width: min(100% - 2 * var(--gutter), 640px); }
.mx-section { padding-block: clamp(48px, 7vw, 96px); }
.mx-section--tight { padding-block: clamp(32px, 5vw, 64px); }
.mx-eyebrow { font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.mx-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--soft); }
.mx-muted { color: var(--muted); }
.mx-upper { text-transform: uppercase; }

/* ---------- Buttons ---------- */
.wp-block-button__link, .mx-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); color: #000; border: 1px solid var(--cream); border-radius: 999px; padding: 12px 22px; font: 600 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; cursor: pointer; }
.wp-block-button__link:hover, .mx-btn:hover { background: transparent; color: var(--cream); }
.is-style-outline .wp-block-button__link, .mx-btn--ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.4); }
.is-style-outline .wp-block-button__link:hover, .mx-btn--ghost:hover { border-color: var(--text); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.mx-header { position: absolute; inset: 0 0 auto; z-index: 50; }
.mx-header__in { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.mx-header__left { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.mx-header__left a { text-decoration: none; color: var(--soft); }
.mx-logo { font-family: var(--display); font-weight: 700; letter-spacing: .32em; font-size: 18px; text-decoration: none; }
.mx-social { display: flex; gap: 12px; }
.mx-social a { display: inline-flex; color: var(--text) !important; }
.mx-social svg { width: 18px; height: 18px; }
.mx-nav ul { list-style: none; margin: 0; padding: 0; }
.mx-nav > ul { display: flex; align-items: center; gap: 28px; }
.mx-nav a { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.mx-nav a[aria-current="page"], .mx-nav a:hover { color: var(--muted); }
.mx-nav li { position: relative; }
.mx-nav .mx-has-sub > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border: solid currentColor; border-width: 0 1.2px 1.2px 0; transform: translateY(-3px) rotate(45deg); }
.mx-nav .mx-sub { position: absolute; top: 100%; left: -16px; padding: 14px 16px; min-width: 190px; background: rgba(18,18,18,.97); border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.mx-nav .mx-has-sub:hover .mx-sub, .mx-nav .mx-has-sub:focus-within .mx-sub { opacity: 1; visibility: visible; transform: none; }
.mx-nav .mx-has-sub::before { content: ""; position: absolute; inset: 100% -10px auto; height: 14px; }
.mx-header__right { display: flex; align-items: center; gap: 28px; }
.mx-lang { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-decoration: none; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; }
.mx-lang:hover { color: var(--text); border-color: var(--muted); }
@media (max-width: 960px) { .mx-header__right { gap: 14px; } }
.mx-burger { display: none; }

@media (max-width: 960px) {
	.mx-header__left .mx-mail { display: none; }
	.mx-nav-desktop { display: none; }
	.mx-burger { display: block; }
	.mx-burger > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
	.mx-burger > summary::-webkit-details-marker { display: none; }
	.mx-burger > summary span, .mx-burger > summary span::before, .mx-burger > summary span::after { display: block; width: 22px; height: 1.5px; background: var(--text); position: relative; transition: .2s; }
	.mx-burger > summary span::before, .mx-burger > summary span::after { content: ""; position: absolute; left: 0; }
	.mx-burger > summary span::before { top: -7px; } .mx-burger > summary span::after { top: 7px; }
	.mx-burger[open] > summary span { background: transparent; }
	.mx-burger[open] > summary span::before { top: 0; transform: rotate(45deg); }
	.mx-burger[open] > summary span::after { top: 0; transform: rotate(-45deg); }
	.mx-burger .mx-nav { position: fixed; inset: 72px 0 0; background: #000; padding: 24px var(--gutter) 40px; overflow-y: auto; }
	.mx-burger .mx-nav > ul { flex-direction: column; align-items: flex-start; gap: 4px; }
	.mx-burger .mx-nav a { font-family: var(--display); font-size: 28px; letter-spacing: -0.02em; text-transform: none; font-weight: 600; display: block; padding: 6px 0; }
	.mx-burger .mx-sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 0 8px 2px; gap: 0; }
	.mx-burger .mx-sub a { font-family: var(--font); font-size: 17px; color: var(--muted); font-weight: 500; }
	.mx-burger .mx-has-sub > a::after { display: none; }
	.mx-burger .mx-nav__extra { margin-top: 28px; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
}
@media (min-width: 961px) { .mx-nav__extra { display: none; } }
body.admin-bar .mx-header { top: 32px; }

/* ---------- Hero (Gruppe mit Hintergrundbild) ---------- */
.wp-block-group.mx-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 clamp(48px, 9vh, 110px); background-color: #000; background-size: cover; background-position: center 30%; isolation: isolate; }
.wp-block-group.mx-hero--page { min-height: 78vh; min-height: 78svh; padding-bottom: 0; }
.mx-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 45%, rgba(0,0,0,.72) 80%, #000 100%); }
.mx-hero--page::before { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 60%, #000 100%); }
.wp-block-group.mx-hero { padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.mx-hero h1 { max-width: 13em; font-size: clamp(38px, 4.6vw, 56px); }
.mx-hero .mx-lead { max-width: 34em; font-size: 16.5px; color: #c9c9c9; }
.mx-hero .wp-block-buttons { margin-top: 28px; }
@media (max-width: 700px) {
	.wp-block-group.mx-hero { background-position: 62% 30%; }
	.mx-hero:not(.mx-hero--page)::before { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.85) 70%, #000 100%); }
}
.mx-scroll { text-align: center; font-size: 13px; color: var(--muted); margin: 0; padding: 22px 0 0; }

/* ---------- Cards ---------- */
.mx-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.mx-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.mx-card { background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.mx-card h3 { margin-bottom: .5em; }
.mx-card p:last-child { margin-bottom: 0; }
.mx-card p { color: var(--soft); font-size: 16px; }
.wp-block-group.mx-grid, .wp-block-group.mx-grid--2 { display: grid; }

/* Anlass-Karten mit Bild */
.mx-tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.mx-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); text-decoration: none; isolation: isolate; }
.mx-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -2; }
.mx-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85)); z-index: -1; }
.mx-tile:hover img { transform: scale(1.04); }
.mx-tile__txt { position: absolute; left: 24px; right: 24px; bottom: 22px; }
.mx-tile__txt strong { display: block; font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; font-weight: 600; }
.mx-tile__txt span { font-size: 14.5px; color: var(--soft); }

/* ---------- Video-Karten (Startseite) ---------- */
.mx-reels { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .mx-reels { grid-template-columns: 1fr; } }
.mx-reel { position: relative; aspect-ratio: 9 / 13; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 0; padding: 0; color: inherit; cursor: pointer; text-align: left; width: 100%; isolation: isolate; }
@media (max-width: 760px) { .mx-reel { aspect-ratio: 4 / 3; } }
.mx-reel video, .mx-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mx-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.8)); z-index: -1; }
.mx-reel__txt { position: absolute; left: 22px; bottom: 20px; font: 600 20px/1.2 var(--display); letter-spacing: -0.02em; }
.mx-reel__txt small { display: block; font: 400 14px var(--font); color: var(--soft); letter-spacing: 0; }
.mx-play { position: absolute; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); display: grid; place-items: center; }
.mx-play::before { content: ""; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* ---------- YouTube (lädt erst beim Klick) ---------- */
.mx-yt-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.mx-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: var(--surface) center / cover no-repeat; border-radius: var(--radius); overflow: hidden; cursor: pointer; color: #fff; isolation: isolate; }
.mx-yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.7)); z-index: -1; }
.mx-yt .mx-play { right: auto; left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(0,0,0,.35); transition: background .2s; }
.mx-yt:hover .mx-play { background: rgba(0,0,0,.6); }
.mx-yt__t { position: absolute; left: 18px; right: 18px; bottom: 14px; font-size: 14.5px; font-weight: 500; text-align: left; }
.mx-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mx-yt.is-playing::after, .mx-yt.is-playing > :not(iframe) { display: none; }

/* ---------- Video-Dialog ---------- */
.mx-dialog { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); width: 100%; }
.mx-dialog::backdrop { background: rgba(0,0,0,.9); }
.mx-dialog video { width: 100%; max-height: 86vh; background: #000; border-radius: 10px; }
.mx-dialog__close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: #000; color: #fff; font-size: 22px; cursor: pointer; }

/* ---------- Text-Seiten ---------- */
.mx-text { font-size: 18px; line-height: 1.65; color: var(--soft); }
.mx-text h2, .mx-text h3 { color: var(--text); margin-top: 1.6em; }
.mx-headline-upper { text-transform: uppercase; font-size: clamp(28px, 3.4vw, 36px); }
.wp-block-image figcaption, .mx-caption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.wp-block-image img { border-radius: var(--radius); }
.alignfull.wp-block-image img { border-radius: 0; }

/* Bild + Text nebeneinander */
.mx-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: end; }
@media (max-width: 800px) { .mx-split { grid-template-columns: 1fr; } }
.wp-block-columns.mx-split { display: grid; }
.wp-block-columns.mx-split > .wp-block-column { width: auto; }

/* FAQ (core/details) */
.wp-block-details { border-top: 1px solid var(--line); padding: 4px 0; }
.wp-block-details:last-of-type { border-bottom: 1px solid var(--line); }
.wp-block-details summary { cursor: pointer; list-style: none; font: 600 clamp(18px, 1.8vw, 21px)/1.3 var(--display); letter-spacing: -0.015em; padding: 18px 40px 18px 0; position: relative; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 300 26px var(--font); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { color: var(--soft); max-width: 62ch; }

/* Referenzen als Chips */
.mx-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.mx-chips li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: 14.5px; color: var(--soft); }

/* Galerie */
.wp-block-gallery.mx-gallery { gap: 10px !important; }
.wp-block-gallery.mx-gallery .wp-block-image img { border-radius: 10px; }
.mx-gallery figure { cursor: zoom-in; }

/* Repertoire */
.mx-rep-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.mx-input, .mx-rep-tools input, .mx-rep-tools select { font: inherit; font-size: 15px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 46px; }
.mx-rep-tools input { flex: 1 1 260px; }
.mx-rep-count { font-size: 14px; color: var(--muted); align-self: center; }
.wp-block-table.mx-rep table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.wp-block-table.mx-rep thead { border: 0; }
.wp-block-table.mx-rep th { text-align: left; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); }
.wp-block-table.mx-rep td { padding: 13px 12px; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.wp-block-table.mx-rep td:first-child { color: var(--text); font-weight: 600; }
.wp-block-table.mx-rep td:not(:first-child) { color: var(--muted); }
@media (max-width: 640px) {
	.wp-block-table.mx-rep thead { display: none; }
	.wp-block-table.mx-rep tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.wp-block-table.mx-rep td { border: 0; padding: 0; }
	.wp-block-table.mx-rep td:nth-child(2) { grid-column: 1; font-size: 14px; }
	.wp-block-table.mx-rep td:nth-child(3) { grid-row: 1; grid-column: 2; font-size: 13px; }
	.wp-block-table.mx-rep td:nth-child(4) { grid-column: 2; font-size: 13px; text-align: right; }
}

/* Kontakt */
.mx-contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 48px); align-items: start; }
@media (max-width: 820px) { .mx-contact { grid-template-columns: 1fr; } }
.mx-contact img { border-radius: var(--radius); width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.mx-form { display: grid; gap: 16px; }
.mx-form label { display: grid; gap: 7px; font-size: 13px; color: var(--soft); }
.mx-form select:invalid, .mx-form select option[value=""] { color: var(--muted); }
.mx-form input, .mx-form textarea, .mx-form select { font: inherit; font-size: 15.5px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.mx-form textarea { min-height: 130px; resize: vertical; }
.mx-form input:focus, .mx-form textarea:focus, .mx-form select:focus { outline: none; border-color: #777; }
.mx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .mx-form__row { grid-template-columns: 1fr; } }
.mx-form .mx-hp { position: absolute; left: -9999px; }
.mx-form button { justify-self: start; }
.mx-notice { border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.mx-notice--ok { background: #12301e; color: #b8f0cb; }
.mx-notice--err { background: #3a1414; color: #ffc9c9; }
.mx-contact__info { margin-top: 22px; font-size: 15px; color: var(--soft); }
.mx-contact__info a { text-decoration: none; color: var(--text); }

/* CTA-Band */
.mx-cta { text-align: center; }
.mx-cta h2 { max-width: 18ch; margin-inline: auto; }
.mx-cta .wp-block-buttons { justify-content: center; margin-top: 26px; }

/* ---------- Footer ---------- */
.mx-footer { background: var(--surface); color: var(--soft); font-size: 15px; margin-top: 0; }
.mx-footer__in { width: min(100% - 2 * var(--gutter), calc(var(--wrap) + 40px)); margin-inline: auto; padding: 56px 0 32px; }
.mx-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.mx-footer__brand strong { display: block; font: 600 19px var(--display); color: var(--text); letter-spacing: -0.01em; margin-bottom: 10px; }
.mx-footer__brand address { font-style: normal; line-height: 1.45; color: var(--muted); }
.mx-footer__brand address a { color: var(--text); text-decoration: none; }
.mx-footer .mx-social { margin-top: 14px; }
.mx-footer .mx-social svg { width: 17px; height: 17px; }
.mx-footer__cols { display: flex; gap: clamp(32px, 6vw, 72px); flex-wrap: wrap; }
.mx-footer__cols h4 { font: 600 11px var(--font); letter-spacing: .04em; color: var(--text); margin: 4px 0 14px; }
.mx-footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mx-footer__cols a { text-decoration: none; color: var(--soft); }
.mx-footer__cols a:hover, .mx-footer__cols a[aria-current="page"] { color: var(--muted); }
.mx-footer__mid { display: flex; flex-wrap: wrap; gap: 12px 120px; margin-top: 44px; color: var(--muted); font-size: 14px; }
.mx-footer__mid a { text-decoration: none; }
.mx-footer__mid small { font-size: 10.5px; color: var(--text); font-weight: 600; margin-right: 8px; }
.mx-footer__bottom { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 26px; font-size: 14px; color: var(--muted); }
.mx-footer__bottom a { color: var(--text); text-decoration: none; }

/* ---------- Einblend-Animation (nur wenn Bewegung erlaubt) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .mx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
	.js .mx-reveal.is-in { opacity: 1; transform: none; }
}

/* WordPress-Kleinkram */
.wp-site-blocks { padding: 0; }
.wp-block-post-content > :first-child.mx-pagehead { padding-top: 150px; }
.mx-pagehead { padding-top: 150px; padding-bottom: 24px; }
.mx-pagehead h1 { font-size: clamp(44px, 7vw, 72px); letter-spacing: -0.05em; }
.mx-pagehead p { font-size: clamp(17px, 1.6vw, 20px); color: var(--soft); max-width: 36em; }
.mx-pagehead p.mx-eyebrow { font-size: 12px; }
.mx-pagehead.mx-narrow p.mx-text { font-size: 17px; }
:where(.wp-block-group.has-background) { padding: 0; }
