/* ==========================================================================
   Full Name – site.css
   Neues Design (Vorlage „Kanon Composer v10“), ein Stylesheet für alle Seiten.

   Inhalt
    1  Schriften (lokal)
    2  Farben und Maße
    3  Basis
    4  Header und mobiles Menü
    5  Abschnitte (Raster 30/70)
    6  Einstieg „Music + Math“
    7  Karten: Selected Work und Solo Work
    8  Maths
    9  Contact
   10  Footer
   11  Rechtstexte (Impressum, Datenschutz)
   12  Einblendung beim Scrollen
   13  Video-Modal (von der bisherigen Website übernommen)
   14  Hover-Effekte (nur Geräte mit Maus)

   Breakpoints:  Mobile < 720 px  ·  Tablet 720–1023 px  ·  Desktop ≥ 1024 px
   ========================================================================== */


/* ---------- 1  Schriften (lokal, keine externen Aufrufe) ---------- */

/* Archivo (variable Schrift, SIL Open Font License, siehe fonts/Archivo-OFL.txt) */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Schrift der bisherigen Website – nur für das Video-Modal (Datei liegt bereits in fonts/). */
@font-face {
  font-family: "Geist1";
  src: url("fonts/Geist-Medium.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


/* ---------- 2  Farben und Maße ---------- */

:root {
  /* Farben aus der Vorlage. Graustufen minimal abgedunkelt für gute Lesbarkeit. */
  --c-bg: #ffffff;
  --c-text: #201e1d;
  --c-muted: #767272;       /* kleine Texte (Vorlage: #9b9797 / #7d7979) */
  --c-muted-lg: #949090;    /* große Texte ab 24 px (Vorlage: #9b9797) */
  --c-dim: #605d5d;         /* Titel unter den Solo-Covern */
  --c-math: #8c8c8c;        /* „Math“ im Einstieg */
  --c-dot: #d7d3d3;         /* graue Kreise */
  --c-dot-strong: #bab6b6;  /* Kreis im Footer */
  --c-placeholder: #d4d4d4; /* Fläche hinter Bildern, solange sie laden */
  --c-accent: #ec3013;
  --c-accent-hover: #dd2b0f;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Seitenränder (berücksichtigt die Kamera-Aussparung bei Handys quer) */
  --gutter: clamp(24px, 5vw, 80px);
  --pad-l: max(var(--gutter), env(safe-area-inset-left, 0px));
  --pad-r: max(var(--gutter), env(safe-area-inset-right, 0px));

  --col-gap: clamp(20px, 2.4vw, 40px);
  --row-gap: clamp(48px, 5vw, 72px);
  --section-space: clamp(120px, 16vh, 180px);
  --header-h: 64px;         /* Höhe des mobilen Headers */
}


/* ---------- 3  Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* Fokus-Rahmen nur bei Tastaturbedienung (site.js setzt .pointer-input bei Maus/Touch) */
:where(html:not(.pointer-input)) :focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
::selection { background: var(--c-accent); color: #ffffff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  left: 16px; top: 16px; z-index: 3000;
  padding: 10px 14px;
  background: var(--c-text); color: #ffffff;
  font-size: 13px;
}

.page {
  padding-left: var(--pad-l);
  padding-right: var(--pad-r);
}

/* Kreis-Markierung (ersetzt die Quadrate der Vorlage) */
.dot {
  display: inline-block;
  flex: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-dot);
}

.ink { color: var(--c-text); }


/* ---------- 4  Header und mobiles Menü ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  height: var(--header-h);
  margin-left: calc(-1 * var(--pad-l));
  margin-right: calc(-1 * var(--pad-r));
  padding-left: var(--pad-l);
  padding-right: var(--pad-r);
  background: var(--c-bg);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-nav { display: none; }

.menu-toggle {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0;
  border: 0; background: none; cursor: pointer;
  font-size: 11px; letter-spacing: 0.02em; text-transform: uppercase;
}
.dot--toggle { width: 10px; height: 10px; }
.menu-toggle[aria-expanded="true"] .dot--toggle { background: var(--c-accent); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 19;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 56px var(--pad-r) 32px var(--pad-l);
  overflow-y: auto;
  background: var(--c-bg);
}
.mobile-menu[hidden] { display: none; }

.mobile-menu__list { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(30px, 9vw, 40px); line-height: 1.1; letter-spacing: -0.035em;
  text-transform: uppercase;
}
.mobile-menu__num { font-size: 12px; letter-spacing: 0.04em; color: var(--c-muted); }

.mobile-menu__footer {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  font-size: 12px; line-height: 1.5; color: var(--c-muted);
}
.mobile-menu__footer .legal-links { margin-left: auto; }

.legal-links a,
.site-footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

body.menu-open { overflow: hidden; }

/* Ohne JavaScript: Navigation statt Menü-Schalter anzeigen */
@media (max-width: 719.98px) {
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-header { height: auto; flex-wrap: wrap; gap: 8px 24px; padding-block: 16px; }
  html:not(.js) .site-nav { display: block; }
  html:not(.js) .site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
}

/* Tablet und Desktop: Navigation im Header, kein Menü-Schalter */
@media (min-width: 720px) {
  .site-header {
    position: static;
    display: grid; grid-template-columns: 30fr 70fr; align-items: start;
    height: auto;
    margin: 0; padding: 56px 0 0;
    background: none;
  }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .site-nav { display: block; }
  .site-nav ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .site-nav li:last-child { text-align: right; }
  .site-nav a { color: var(--c-muted); }
  .site-nav a[aria-current] { color: var(--c-text); }
}


/* ---------- 5  Abschnitte (Raster 30/70) ---------- */

.section {
  padding-bottom: 120px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.section__head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-bottom: 32px;
}

.section-label {
  display: flex; align-items: center; gap: 14px;
  font-size: 20px; line-height: 1.2; letter-spacing: -0.01em;
}

.section__count {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-muted);
  text-align: right;
}

@media (min-width: 720px) {
  .section { padding-bottom: var(--section-space); scroll-margin-top: 40px; }
  .section__head { margin-bottom: 40px; }
  .section-label { gap: 18px; font-size: clamp(22px, 2.2vw, 34px); }
  .section-label .dot { width: 18px; height: 18px; }
  .section__count { font-size: 11px; }
}

/* Desktop: linkes Drittel für Abschnittsbezeichnung, rechts der Inhalt */
@media (min-width: 1024px) {
  .section {
    display: grid; grid-template-columns: 30fr 70fr; align-items: start;
  }
  .section__head {
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 20px;
    margin: 0; padding-top: 10px;
  }
  .section__count { padding-left: 36px; text-align: left; }
  .section > :not(.section__head) { grid-column: 2; }
  .section--last { padding-bottom: clamp(140px, 20vh, 220px); }
}


/* ---------- 6  Einstieg „Music + Math“ ---------- */

.hero {
  display: flex; flex-direction: column; gap: 36px;
  padding: 72px 0 120px;
}
.hero__body { display: flex; flex-direction: column; gap: 36px; }

.hero__title {
  display: flex; flex-direction: column;
  font-size: clamp(64px, 22vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: none;
}
.hero__line { display: flex; align-items: baseline; gap: 0.16em; }
.hero__line--grey { color: var(--c-math); }

/* Plus-Zeichen aus zwei Balken, wie in der Vorlage */
.plus { position: relative; display: none; flex: none; width: 0.72em; height: 0.72em; }
.plus::before,
.plus::after { content: ""; position: absolute; background: #000000; }
.plus::before { left: 0; right: 0; top: 50%; height: 0.09em; transform: translateY(-50%); }
.plus::after { top: 0; bottom: 0; left: 50%; width: 0.09em; transform: translateX(-50%); }

.hero__intro,
.lead {
  font-size: 20px; line-height: 1.25; letter-spacing: -0.015em;
  color: var(--c-muted);
  text-wrap: pretty;
}

.hero__tags {
  display: none; flex-wrap: wrap; column-gap: 24px; row-gap: 6px;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-muted);
}

.link-large {
  align-self: flex-start;
  font-size: 28px; letter-spacing: -0.02em;
}

@media (min-width: 720px) {
  .hero { gap: 40px; padding: clamp(96px, 14vh, 160px) 0 var(--section-space); }
  .hero > .section-label { gap: 18px; font-size: clamp(22px, 2.2vw, 34px); }
  .hero > .section-label .dot { width: 18px; height: 18px; }
  .hero__body { gap: 48px; }
  .hero__title { font-size: clamp(72px, 11vw, 112px); }
  .hero__intro,
  .lead { max-width: 30ch; font-size: clamp(20px, 2.4vw, 26px); }
  .hero__tags { column-gap: 40px; font-size: 11px; }
  .link-large { font-size: clamp(24px, 2.8vw, 32px); }
}

@media (min-width: 1024px) {
  .hero {
    display: grid; grid-template-columns: 30fr 70fr; gap: 0;
    padding: clamp(120px, 18vh, 200px) 0 clamp(120px, 16vh, 180px);
  }
  .hero > .section-label { align-self: start; padding-top: 12px; }
  .hero__body { gap: 56px; }
  .hero__title { font-size: clamp(64px, 10vw, 176px); }
  .hero__intro,
  .lead { font-size: clamp(20px, 1.9vw, 30px); }
  .link-large { font-size: clamp(24px, 2.4vw, 40px); }
}

/* Ab 24 px Schriftgröße reicht das hellere Grau der Vorlage für gute Lesbarkeit */
@media (min-width: 1264px) {
  .hero__intro,
  .lead { color: var(--c-muted-lg); }
}


/* ---------- 7  Karten: Selected Work und Solo Work ---------- */

.works {
  display: grid; grid-template-columns: minmax(0, 1fr);
  row-gap: 48px;
}
.releases {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px; row-gap: 36px;
}

@media (min-width: 720px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--row-gap); }
  .releases { column-gap: var(--col-gap); row-gap: var(--row-gap); }
}
@media (min-width: 1024px) {
  .releases { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-placeholder);
}
.card__media--square { aspect-ratio: 1 / 1; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: filter 0.2s ease;
}

.card__info { display: flex; flex-direction: column; gap: 4px; }

.card__title {
  display: block;
  font-size: 18px; line-height: 1.3; letter-spacing: -0.01em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.card__meta {
  display: block;
  font-size: 12px; line-height: 1.4;
  color: var(--c-muted);
}

/* Solo Work: Titel mit kleinem Kreis davor */
.card--release .card__title {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 16px;
  color: var(--c-dim);
}
/* Kreis auf Höhe der ersten Textzeile, auch bei zweizeiligen Titeln */
.dot--mark { width: 6px; height: 6px; margin-top: calc(0.65em - 3px); }

/* Tastaturfokus für verlinkte Karten (Hover siehe Abschnitt 14) */
:where(html:not(.pointer-input)) a.card:focus-visible .card__media img { filter: brightness(0.88); }
:where(html:not(.pointer-input)) a.card:focus-visible .card__title { color: var(--c-accent-hover); }
:where(html:not(.pointer-input)) a.card:focus-visible .dot--mark { background: var(--c-accent); }
a.card:focus-visible { outline-offset: 6px; }

@media (min-width: 720px) {
  .card { gap: 16px; }
  .card--release .card__title { gap: 10px; font-size: 18px; }
}


/* ---------- 8  Maths ---------- */

.maths { display: flex; flex-direction: column; gap: 32px; }

.statement {
  font-size: clamp(32px, 9.6vw, 44px);
  line-height: 0.98; letter-spacing: -0.035em;
  text-transform: none;
}
.statement__muted { color: var(--c-muted-lg); }

.cv { display: flex; flex-direction: column; gap: 28px; margin-top: 24px; }
.cv__item { display: grid; gap: 6px; }
.cv__year {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-muted);
  font-variant-numeric: tabular-nums;
}
.cv__title { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.cv__detail { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--c-muted); }

@media (min-width: 720px) {
  .maths { gap: 48px; }
  .statement { font-size: clamp(40px, 6vw, 72px); }
  .cv { gap: 32px; margin-top: 16px; }
  .cv__item { grid-template-columns: 8.5rem minmax(0, 1fr); column-gap: 24px; align-items: baseline; }
}
@media (min-width: 1024px) {
  .statement { font-size: clamp(40px, 5.2vw, 92px); }
  .lead { max-width: 34ch; }
}


/* ---------- 9  Contact ---------- */

.contact { display: flex; flex-direction: column; gap: 32px; }

.contact__mail {
  align-self: flex-start;
  font-size: clamp(32px, 9.6vw, 44px);
  line-height: 0.98; letter-spacing: -0.035em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.contact__facts {
  display: flex; flex-direction: column; gap: 16px;
  font-size: 10px; line-height: 1.6; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-muted);
}
.contact__facts dd { color: var(--c-text); }

@media (min-width: 720px) {
  .contact { gap: 40px; }
  .contact__mail { font-size: clamp(40px, 6vw, 72px); }
  .contact__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1024px) {
  .contact__mail { font-size: clamp(40px, 5.2vw, 92px); }
}


/* ---------- 10  Footer ---------- */

.site-footer {
  display: flex; flex-direction: column; gap: 16px;
  padding-bottom: 32px;
  font-size: 12px; line-height: 1.5;
  color: var(--c-muted);
}
.site-footer__studio { display: none; }
.site-footer__main {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px 24px; flex-wrap: wrap;
}
.site-footer__legal { margin-left: auto; }
.dot--footer { background: var(--c-dot-strong); }

@media (min-width: 720px) {
  .site-footer {
    display: grid; grid-template-columns: 30fr 70fr; align-items: end;
    gap: 0;
    padding-bottom: 120px;
  }
  .site-footer__studio { display: block; }
  .dot--footer { width: 18px; height: 18px; }
}


/* ---------- 11  Rechtstexte (Impressum, Datenschutz) ---------- */

.legal-page { padding-top: 72px; min-height: 60vh; }

.legal {
  max-width: 70ch;
  font-size: 15px; line-height: 1.6;
  overflow-wrap: break-word;
  hyphens: auto;
}
.legal [id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.legal h4 { margin: 1.2em 0 0.3em; font-size: 15px; line-height: 1.4; font-weight: 600; }
.legal ul.legal__toc { list-style: none; padding-left: 0; }
.legal__source { margin-top: 3em; font-size: 12px; color: var(--c-muted); }
.legal h2 {
  margin: 2em 0 0.5em;
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; letter-spacing: -0.01em;
}
.legal h3 { margin: 1.5em 0 0.4em; font-size: 16px; line-height: 1.35; }
.legal > :first-child { margin-top: 0; }
.legal p { margin: 0 0 0.9em; }
.legal ul,
.legal ol { margin: 0 0 0.9em; padding-left: 1.25em; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: 0.3em; }
.legal a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal strong, .legal b { font-weight: 600; }

@media (min-width: 720px) {
  .legal-page { padding-top: clamp(96px, 14vh, 160px); }
  .legal [id] { scroll-margin-top: 40px; }
}


/* ---------- 12  Einblendung beim Scrollen ---------- */
/* Wird nur aktiv, wenn site.js läuft und keine reduzierte Bewegung eingestellt ist. */

@media (prefers-reduced-motion: no-preference) {
  .reveal-on .reveal {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 360ms ease, transform 360ms ease;
  }
  .reveal-on .reveal.is-visible { opacity: 1; transform: none; }
}


/* ---------- 13  Video-Modal ----------
   Unverändert von der bisherigen Website übernommen (styles1-2-6-2.css),
   einschließlich Schrift und Schriftgrößen. Nur die Hover-Titel-Regeln fehlen,
   weil es den Hover-Titel nicht mehr gibt. */

.modal {
  --fs-0: clamp(.6rem, .6rem + .6vw, .75rem);
  --fs-4: clamp(.7rem, .7rem + .15vw, 1.3rem);
  font-family: "Geist1", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  font-size: var(--fs-0);
  line-height: 1.6;
}
:where(html:not(.pointer-input)) .modal :focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
/* Close: nie ein Kasten – bei Tastaturbedienung stattdessen unterstrichen */
.modal .modal__close:focus-visible { outline: none; }
:where(html:not(.pointer-input)) .modal .modal__close:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.modal a, .modal button { -webkit-tap-highlight-color: transparent; }

.modal{
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center;
  background: rgba(1,1,1,.94);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s ease, visibility 0s linear .28s;
}
.modal.is-open{ opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s ease; }

.modal__dialog{
  position: relative;
  width: 100%;
  max-width: min(880px, 92vw);
  max-height: min(72vh, 78svh);
  display: grid; place-items: center;
  transform: scale(.98);
  transition: transform .28s ease;
}
.modal.is-open .modal__dialog{ transform: scale(1); }

.modal__media{
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.modal__media video,
.modal__media iframe{ width: 100%; height: 100%; display: block; }

.modal__close{
  position: absolute;
  top: calc(clamp(12px, 3vw, 24px) + env(safe-area-inset-top, 0px));
  right: clamp(12px, 3vw, 24px);
  background: transparent; border: none; font: inherit; color: #fff; cursor: pointer;
}

.modal__corner{
  position: fixed; font-size: var(--fs-4); color: #fff;
  z-index: 2500;
}
.modal__corner--tl{ top: calc(clamp(12px,3vw,24px) + env(safe-area-inset-top,0px)); left: clamp(12px,3vw,24px);  width: 75vw; }
.modal__corner--tr{ top: calc(clamp(12px,3vw,24px) + env(safe-area-inset-top,0px)); right: clamp(12px,3vw,24px); text-align:right; }
.modal__corner--bl{ bottom: calc(clamp(12px,3vw,24px) + env(safe-area-inset-bottom,0px)); left: clamp(12px,3vw,24px); }
.modal__corner--br{ bottom: calc(clamp(12px,3vw,24px) + env(safe-area-inset-bottom,0px)); right: clamp(12px,3vw,24px); text-align:right; }
.modal{ cursor: default; }
body.modal-open{ overflow: hidden; }

@media (max-width: 720px){
  .modal__dialog{ max-width: 94vw; max-height: 70svh; }
}

/* 1) Kein Fokus-Rahmen auf eingebetteten Medien im Modal */
.modal__media :is(iframe, video):focus,
.modal__media :is(iframe, video):focus-visible{
  outline: none !important;
}

/* 2) Iframe wirklich ohne Rand/Schatten und bündig in die Rundung */
.modal__media iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
  border-radius: inherit;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform: translateZ(0);
}

/* 3) Container-Hintergrund neutralisieren */
.modal__media{
  background: transparent;
  overflow: hidden;
}

/* Two-click video consent overlay (inside modal__media) */
.modal__media{ position: relative; }

.video-consent{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 22px);
  background: rgba(26,26,26,.92);
  backdrop-filter: blur(6px);
  color: #fff;
}

.video-consent__inner{
  width: 100%;
  max-width: 48ch;
  text-align: center;
  display: grid;
  gap: .75rem;
}

.video-consent__text{
  margin: 0;
  font-size: var(--fs-0);
  line-height: 1.35;
}

.video-consent__btn{
  justify-self: center;
  color: #fff;
  border: 1px solid #fff;
  background: transparent;
  border-radius: 999px;
  padding: .55rem .9rem;
  font: inherit;
  cursor: pointer;
}

.video-consent__links{
  font-size: var(--fs-0);
  opacity: .8;
}
.video-consent__links a{
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 720px){
  .link-large{ display: none; }
}
/* ---------- 14  Hover-Effekte (nur Geräte mit Maus) ----------
   Auf Smartphones und Tablets gibt es keine Farbwechsel beim Antippen. */

@media (hover: hover) and (pointer: fine) {
  .brand:hover,
  .link-large:hover,
  .contact__mail:hover,
  .mobile-menu__list a:hover,
  .legal-links a:hover,
  .site-footer__legal a:hover,
  .legal a:hover { color: var(--c-accent-hover); }

  .site-nav a:hover { color: var(--c-text); }

  a.card:hover .card__media img { filter: brightness(0.88); }
  a.card:hover .card__title { color: var(--c-accent-hover); }
  a.card:hover .dot--mark { background: var(--c-accent); }
}
/* ---------- Zusatz: kein Fokus-Kasten nach Klick oder Antippen ----------
   Auch nicht der blaue Standard-Rahmen von Browser/iPhone. */
html.pointer-input :focus,
html.pointer-input :focus-visible { outline: none; }

/* Mobiles Menü: nie ein Kasten – bei Tastaturbedienung stattdessen unterstrichen */
.mobile-menu a:focus,
.mobile-menu a:focus-visible { outline: none; }
html:not(.pointer-input) .mobile-menu a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
/* Mobile: „Music &“ oben, „Math“ darunter */
.hero__title {
  flex-direction: column;
  gap: 0;
  font-size: clamp(48px, 18vw, 104px);
}

.hero__line {
  white-space: nowrap;
}

/* Ab Tablet: „Music & Math“ in einer Zeile */
@media (min-width: 720px) {
  .hero__title {
    flex-direction: row;
    align-items: baseline;
    gap: 0.2em;
    font-size: clamp(48px, 7.5vw, 122px);
  }
}