/* MXMOTION — Website Styles
   Tokens aus dem MXMOTION Style Guide / brandprint. Keine Fremdfarben. */
@font-face { font-family: "Bebas Neue"; src: url("../fonts/BebasNeue-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --mx-black: #000000; --mx-white: #FFFFFF; --mx-orange: #FF6800;
  --fg-1: #FFFFFF; --fg-2: #D4D4D4; --fg-3: #737373;
  --bg-1: #000000; --bg-2: #171717; --bg-alt: #0A0A0A;
  --border-1: #262626; --border-2: #404040; --border-hover: #525252;
  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-card: 8px; --radius-button: 0;
  --ease-out: cubic-bezier(.2,.7,.2,1); --dur-fast: 150ms; --dur-base: 240ms; --dur-slow: 400ms;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg-1); color: var(--fg-1); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; transition: opacity var(--dur-fast) var(--ease-out); }
a:hover { opacity: .7; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
:focus-visible { outline: 2px solid var(--mx-white); outline-offset: 3px; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 16px; }
.skip:focus { left: 8px; }
.muted { color: var(--fg-3); }

/* Typo */
.eyebrow { display: block; margin: 0 0 20px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow--accent { color: var(--mx-orange); }
.eyebrow--muted { color: var(--fg-3); margin: 0; }
.eyebrow--light { color: var(--fg-2); display: flex; align-items: center; gap: 10px; }
.h-display, .h-section { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.h-display { font-size: clamp(56px, 7vw, 112px); }
.h-section { font-size: clamp(48px, 6vw, 96px); }
.lead { margin: 0; font-size: 18px; color: var(--fg-2); max-width: 560px; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-2); }

/* Buttons — immer eckig */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px; border-radius: var(--radius-button); border: 1px solid transparent; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; background: transparent; transition: filter var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.btn--orange { background: var(--mx-orange); color: #fff; }
.btn--orange:hover { opacity: 1; filter: brightness(.92); }
.btn--outline { border-color: var(--mx-white); color: var(--mx-white); }
.btn--white { background: var(--mx-white); color: var(--mx-black); }
.btn--white:hover { filter: brightness(.9); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: transparent; border: 1px solid var(--border-1); border-radius: 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; cursor: pointer; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; }

/* Nav + XP */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.85); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border-bottom: 1px solid var(--border-1); }
.nav__bar { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { flex-shrink: 0; }
.nav__logo img { height: 40px; width: auto; }
@media (max-width: 420px) { .nav__logo img { height: 32px; } .lang a { padding: 8px 4px; } .lang a + a::before { margin-right: 4px; } .nav__actions { gap: 8px; } }
.nav__links { display: flex; gap: 28px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
@media (max-width: 900px) { .nav__links { display: none; } }


/* Trophies + Toast */

/* Hero */
.hero { position: relative; min-height: min(100svh, 920px); min-height: max(640px, min(100svh, 920px)); display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; animation: heroZoom 2400ms var(--ease-out) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 45%, rgba(0,0,0,.95) 100%); }
.hero__inner { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(56px, 8vw, 96px); }
.hero__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(64px, 13vw, 200px); line-height: .86; letter-spacing: -.02em; text-transform: uppercase; }
/* Desktop: Bild rechts, dunkler Verlauf nach links — Text steht im Dunklen, Gesicht rechts davon */
@media (min-width: 900px) {
  .hero__img { left: auto; right: 0; width: 74%; object-position: 22% 35%; }
  .hero::after { background:
      linear-gradient(90deg, #000 0%, #000 26%, rgba(0,0,0,.92) 34%, rgba(0,0,0,.55) 46%, rgba(0,0,0,.12) 60%, rgba(0,0,0,0) 72%),
      linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 72%, rgba(0,0,0,.85) 100%); }
  .hero__title { font-size: clamp(72px, 9.5vw, 148px); }
  .hero__inner { align-self: center; padding-block: 96px; }
}
/* Mobil: Bild oben, nach unten dunkel auslaufend */
@media (max-width: 899px) {
  .hero { min-height: max(760px, 100svh); }
  .hero__img { bottom: auto; height: 60%; object-position: 64% 30%; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 14%, rgba(0,0,0,0) 34%, rgba(0,0,0,.9) 56%, #000 62%, #000 100%); }
}
.hero__text { margin: 28px 0 0; max-width: 560px; font-size: 18px; color: var(--fg-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.live { width: 8px; height: 8px; background: var(--mx-white); display: inline-block; animation: pulse 1600ms ease-in-out infinite; }

/* Sections */
.section { border-top: 1px solid var(--border-1); padding-block: clamp(80px, 10vw, 128px); }
.section--alt { background: var(--bg-alt); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__aside { max-width: 440px; margin: 0; color: var(--fg-2); }
.section__aside p { margin: 0 0 12px; }
.section__h { margin-bottom: clamp(40px, 5vw, 64px); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 64px; align-items: end; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border-1); }
.stat__value { font-family: var(--font-display); font-size: clamp(48px, 5vw, 64px); line-height: 1; }
.stat__label { font-size: 13px; color: var(--fg-3); }

/* Skill tree */
.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.skill { text-align: left; min-height: 120px; padding: 24px; background: var(--bg-2); color: var(--fg-3); border: 1px solid var(--border-1); border-radius: var(--radius-card); cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.skill.is-seen { color: var(--fg-1); }
.skill.is-active { background: var(--mx-white); color: var(--mx-black); border-color: var(--mx-white); }
.skill__top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.skill__title { font-family: var(--font-display); font-size: 36px; line-height: 1; }
.skill-panel { margin-top: 16px; background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-card); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px; animation: up var(--dur-slow) var(--ease-out) both; }
.skill-panel__title { margin: 8px 0 16px; font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 56px); line-height: 1; }
.checklist { list-style: none; margin: 12px 0 0; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border-1); }
.checklist svg { flex: none; }

/* Projekte */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; background: transparent; border: 1px solid var(--border-2); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.chip.is-on { background: var(--mx-white); color: var(--mx-black); border-color: var(--mx-white); }
.projects { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 112px); }
.project { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 64px); align-items: center; }
.project--flip { flex-direction: row-reverse; }
.project[hidden] { display: none; }
.project__media { flex: 999 1 560px; min-width: 0; position: relative; padding: 0; aspect-ratio: 16 / 9; background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-card); overflow: hidden; cursor: pointer; }
.project__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__play { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 12px; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.project__play .eyebrow { margin: 0; }
.playbox { width: 64px; height: 64px; border: 1px solid var(--mx-white); background: rgba(0,0,0,.55); display: inline-flex; align-items: center; justify-content: center; transition: background var(--dur-base) var(--ease-out); }
.playbox--lg { width: 88px; height: 88px; }
.project__media:hover .playbox, .detail__yt:hover .playbox { background: rgba(0,0,0,.8); }
.project__body { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.project__meta { display: flex; align-items: baseline; gap: 16px; }
.project__num { font-family: var(--font-display); font-size: 72px; line-height: .8; color: var(--border-1); }
.project__title { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: .92; text-transform: uppercase; max-width: 100%; }
.project__text { margin: 0; color: var(--fg-2); font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 10px; border: 1px solid var(--border-2); border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.project__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.project__thumbs img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--radius-card); border: 1px solid var(--border-1); }
.project__title a { color: inherit; }
.project__title a:hover { opacity: .8; }
.project__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; font-size: 13px; color: var(--fg-3); }
.crumbs a { color: var(--fg-2); }
.project-page__title { margin-bottom: clamp(32px, 4vw, 48px); }
.project-page__video { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-card); overflow: hidden; }
.project-page__video > img, .project-page__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.detail__body.project-page__body { padding-inline: 0; }
.detail__photos.project-page__photos { padding-inline: 0; }
.project-page__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; border-top: 1px solid var(--border-1); }
.projects__more { display: flex; justify-content: center; margin-top: clamp(56px, 7vw, 96px); }
.section--first { border-top: 0; }
.trusted { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 48px; margin-top: clamp(64px, 8vw, 96px); padding-top: 32px; border-top: 1px solid var(--border-1); }
.trusted__name { font-family: var(--font-display); font-size: 28px; color: var(--fg-2); }

/* Projekt-Detail */
.detail { width: min(1100px, calc(100% - 2 * var(--gutter))); max-width: none; max-height: calc(100% - 48px); padding: 0; border: 1px solid var(--border-1); border-radius: var(--radius-card); background: var(--bg-alt); color: var(--fg-1); overflow-y: auto; }
.detail::backdrop { background: rgba(0,0,0,.92); }
.detail[open] { animation: up var(--dur-slow) var(--ease-out) both; }
.detail__top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 12px 24px; background: var(--bg-alt); border-bottom: 1px solid var(--border-1); }
.detail__video { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); }
.detail__video > img, .detail__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.detail__yt { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: var(--bg-2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.detail__yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.detail__ytinner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; text-align: center; }
.detail__ytinner .eyebrow { margin: 0; color: var(--fg-2); }
.detail__note { font-size: 12px; color: var(--fg-2); max-width: 320px; }
.detail__body { padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px; }
.detail__body p { color: var(--fg-2); font-size: 17px; margin: 0 0 12px; }
.detail__title { margin: 0 0 16px; font-family: var(--font-display); font-weight: 400; line-height: .95; text-transform: uppercase; }
.list { list-style: none; margin: 12px 0 0; padding: 0; }
.list li { padding: 12px 0; border-top: 1px solid var(--border-1); }
.detail__photos { padding: 0 clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px); }
.detail__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 12px; }
.detail__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); border: 1px solid var(--border-1); }
.detail__nav { display: flex; justify-content: space-between; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--border-1); }
body.is-locked { overflow: hidden; }

/* Roster */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; perspective: 1600px; }
.card-flip { height: 520px; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.card-flip__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 600ms var(--ease-out); }
.card-flip.is-flipped .card-flip__inner { transform: rotateY(180deg); }
.card-face { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border-1); background: var(--bg-2); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.card-face--front img { flex: 1; min-height: 0; width: 100%; object-fit: cover; }
.card-face__info { display: block; padding: 20px 24px; }
.card-face__name { display: block; font-family: var(--font-display); font-size: 44px; line-height: 1; margin-top: 6px; }
.card-face__name--lg { font-size: 52px; }
.card-face__hint { display: block; font-size: 13px; color: var(--fg-2); margin-top: 6px; }
.card-face--back { transform: rotateY(180deg); justify-content: space-between; padding: 28px; border-color: var(--mx-white); }
.facts { display: block; }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border-1); }
.fact span:first-child { color: var(--fg-3); }
.slot { display: flex; flex-direction: column; justify-content: space-between; height: 520px; border-radius: var(--radius-card); border: 1px solid var(--border-1); background: var(--bg-1); padding: 28px; color: var(--fg-1); }
.slot__top { display: flex; justify-content: space-between; align-items: flex-start; color: var(--fg-3); }
.slot__num { font-family: var(--font-display); font-size: 120px; line-height: .85; color: var(--border-1); }

/* Pakete, Team */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 16px; }
.package { background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-card); padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; }
.package .eyebrow { margin: 0; }
.package--hi { border-color: var(--mx-white); }
.package__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 1; }
.package p { margin: 0; color: var(--fg-2); }
.package__cta { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.member { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-card); overflow: hidden; }
.member__img { overflow: hidden; }
.member__img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.member__body { padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.member__name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4vw, 48px); line-height: 1; }
.member__body p { margin: 0; color: var(--fg-2); font-size: 15px; }
@media (max-width: 560px) { .member { grid-template-columns: 1fr; } .member__img img { min-height: 0; aspect-ratio: 4 / 3; } }

/* Kontakt */
.contact__direct { display: flex; flex-direction: column; gap: 8px; font-size: 18px; font-weight: 600; }
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-bottom: 32px; }
.path { text-align: left; padding: 28px; min-height: 160px; background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-card); cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.path .eyebrow { margin: 0; }
.path.is-on { background: var(--mx-white); color: var(--mx-black); border-color: var(--mx-white); }
.path__title { font-family: var(--font-display); font-size: 40px; line-height: 1; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-card); padding: clamp(24px, 4vw, 40px); }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { min-height: 48px; background: var(--bg-1); border: 1px solid var(--border-1); border-radius: var(--radius-card); color: var(--fg-1); padding: 12px 16px; font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mx-white); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--fg-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: #fff; flex: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { margin: 0; color: var(--fg-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { border-top: 1px solid var(--border-1); padding: 64px 0 40px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand img { height: 40px; width: auto; }
.footer__claim { font-family: var(--font-display); font-size: 32px; line-height: 1; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 48px 64px; font-size: 14px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 8px; }
.footer__cols .eyebrow { margin-bottom: 4px; }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border-1); font-size: 12px; color: var(--fg-3); }

/* Legal */
.legal { padding-block: clamp(64px, 8vw, 112px); }
.legal__wrap { max-width: 880px; }
.legal__body { margin-top: 40px; color: var(--fg-2); }
.legal__body h2 { margin: 48px 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1; color: var(--fg-1); text-transform: uppercase; }
.legal__body h3 { margin: 32px 0 8px; font-size: 20px; font-weight: 600; color: var(--fg-1); }
.legal__body h4 { margin: 24px 0 8px; font-size: 16px; font-weight: 600; color: var(--fg-1); }
.legal__body p { margin: 0 0 12px; }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Motion */
.lift { transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.lift:hover { transform: translateY(-2px); border-color: var(--border-hover); box-shadow: 0 16px 40px rgba(0,0,0,.6); opacity: 1; }
.zoom img { transition: transform var(--dur-slow) var(--ease-out); }
.zoom:hover img { transform: scale(1.04); }
.in-1, .in-2, .in-3, .in-4 { animation: up 600ms var(--ease-out) both; }
.in-1 { animation-delay: 200ms; } .in-2 { animation-delay: 380ms; } .in-3 { animation-delay: 560ms; } .in-4 { animation-delay: 740ms; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Cookie-Einstellungen (assets/js/consent.js) */
.footer__link { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font-size: inherit; transition: opacity var(--dur-fast) var(--ease-out); }
.footer__link:hover { opacity: .7; }
.cmp { position: fixed; right: var(--gutter); bottom: 24px; z-index: 60; width: min(460px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; padding: 24px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-card); box-shadow: 0 24px 64px rgba(0,0,0,.6); animation: cmp-in var(--dur-slow) var(--ease-out) both; }
@keyframes cmp-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .cmp { animation: none; } }
.cmp__title { margin: 0 0 10px; font-family: var(--font-display); font-size: 28px; line-height: 1; letter-spacing: .02em; }
.cmp__text { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.cmp__text a { text-decoration: underline; text-underline-offset: 3px; }
.cmp__cats { display: grid; gap: 10px; margin-bottom: 18px; }
.cmp__cat { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 14px; border: 1px solid var(--border-1); border-radius: var(--radius-card); cursor: pointer; font-size: 13px; color: var(--fg-2); }
.cmp__cat strong { display: block; margin-bottom: 4px; font-size: 14px; color: var(--fg-1); }
.cmp__cat input { position: absolute; opacity: 0; pointer-events: none; }
.cmp__switch { position: relative; width: 40px; height: 22px; margin-top: 1px; border: 1px solid var(--border-2); border-radius: 11px; background: var(--bg-1); transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.cmp__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--fg-3); transition: transform var(--dur-base) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.cmp__cat input:checked + .cmp__switch { background: var(--mx-orange); border-color: var(--mx-orange); }
.cmp__cat input:checked + .cmp__switch::after { transform: translateX(18px); background: #fff; }
.cmp__cat input:disabled + .cmp__switch { opacity: .5; }
.cmp__cat input:focus-visible + .cmp__switch { outline: 2px solid var(--mx-white); outline-offset: 3px; }
.cmp__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmp__actions .btn { padding: 0 12px; letter-spacing: .08em; }
.cmp__actions [data-act="settings"], .cmp__actions [data-act="save"] { grid-column: 1 / -1; }
@media (max-width: 520px) { .cmp { right: 16px; bottom: 16px; padding: 20px; } .cmp__actions .btn { font-size: 12px; letter-spacing: .06em; } }
button.link { padding: 0; border: 0; background: none; cursor: pointer; font-size: inherit; color: inherit; }

/* Sprachumschalter DE · IT · EN */
.lang { display: flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.lang a { padding: 8px 6px; color: var(--fg-3); }
.lang a[aria-current] { color: var(--fg-1); }
.lang a + a::before { content: "·"; margin-right: 8px; color: var(--border-2); }
.legal__note { margin: 16px 0 0; color: var(--fg-2); }

/* Mobiles Menü (Hamburger) — unter 900 px ersetzt es Links, Sprachwahl und CTA in der Leiste */
.nav__burger { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-2); background: transparent; cursor: pointer; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--mx-white); transition: transform var(--dur-base) var(--ease-out), top var(--dur-base) var(--ease-out); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: var(--nav-h) 0 0; z-index: 19; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); background: var(--mx-black); overflow-y: auto; }
.mnav__links { display: flex; flex-direction: column; }
.mnav__links a { padding: 14px 0; border-bottom: 1px solid var(--border-1); font-family: var(--font-display); font-size: clamp(40px, 11vw, 64px); line-height: 1; text-transform: uppercase; animation: up var(--dur-slow) var(--ease-out) both; }
.mnav__links a:nth-child(2) { animation-delay: 40ms; } .mnav__links a:nth-child(3) { animation-delay: 80ms; } .mnav__links a:nth-child(4) { animation-delay: 120ms; } .mnav__links a:nth-child(5) { animation-delay: 160ms; } .mnav__links a:nth-child(6) { animation-delay: 200ms; }
.mnav__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mnav__foot .lang { font-size: 14px; }
@media (max-width: 900px) {
  .nav__burger { display: block; }
  .nav__actions > .lang, .nav__cta { display: none; }
}
@media (min-width: 901px) { .mnav { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mnav__links a { animation: none; } }
